(m32r_elf_relocate_section): Handle R_M32R_SDA16_RELA in the same way as
authorNick Clifton <nickc@redhat.com>
Tue, 24 Aug 2004 08:21:25 +0000 (08:21 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 24 Aug 2004 08:21:25 +0000 (08:21 +0000)
R_M32R_SDA16.

bfd/ChangeLog
bfd/elf32-m32r.c

index 7b775859831626c9dd3be516082b03f914c381ad..1aec86c998035a58bc8dd8e5e74e03180bbb3a14 100644 (file)
@@ -1,3 +1,8 @@
+2004-08-24  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
+
+       * elf32-m32r.c (m32r_elf_relocate_section): Handle
+       R_M32R_SDA16_RELA in the same way as R_M32R_SDA16.
+
 2004-08-20  Daniel Jacobowitz  <dan@debian.org>
 
        * elflink.c (_bfd_elf_section_already_linked): Handle
index f929d7dec6daabb2209f8d8985bb8cd2924897a5..4f0159f481c1f8b2f992bf7f7d5f3ebf05676357 100644 (file)
@@ -3031,7 +3031,6 @@ m32r_elf_relocate_section (output_bfd, info, input_bfd, input_section,
             case R_M32R_26_PCREL_RELA:
             case R_M32R_HI16_ULO_RELA:
             case R_M32R_LO16_RELA:
-            case R_M32R_SDA16_RELA:
               if (info->shared
                   && r_symndx != 0
                   && (input_section->flags & SEC_ALLOC) != 0
@@ -3164,6 +3163,7 @@ m32r_elf_relocate_section (output_bfd, info, input_bfd, input_section,
 
               goto check_reloc;
 
+            case (int) R_M32R_SDA16_RELA:
            case (int) R_M32R_SDA16 :
              {
                const char *name;