OSDN Git Service

2002-03-07 H.J. Lu (hjl@gnu.org)
authorhjl <hjl>
Thu, 7 Mar 2002 18:11:19 +0000 (18:11 +0000)
committerhjl <hjl>
Thu, 7 Mar 2002 18:11:19 +0000 (18:11 +0000)
* coff-sh.c (shcoff_reloc_map): Use bfd_reloc_code_real_type
as the type for bfd_reloc_val.

bfd/ChangeLog
bfd/coff-sh.c

index 4d55723..9d5c742 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-07  H.J. Lu  (hjl@gnu.org)
+
+       * coff-sh.c (shcoff_reloc_map): Use bfd_reloc_code_real_type
+       as the type for bfd_reloc_val.
+
 2002-03-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
 
        * elf-hppa.h (elf_hppa_is_dynamic_loader_symbol): New function.
index 6213f6d..ae73996 100644 (file)
@@ -469,7 +469,7 @@ coff_sh_rtype_to_howto (abfd, sec, rel, h, sym, addendp)
 /* This structure is used to map BFD reloc codes to SH PE relocs.  */
 struct shcoff_reloc_map
 {
-  unsigned char bfd_reloc_val;
+  bfd_reloc_code_real_type bfd_reloc_val;
   unsigned char shcoff_reloc_val;
 };