diff options
author | Nick Clifton <nickc@redhat.com> | 2004-08-24 08:21:25 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2004-08-24 08:21:25 +0000 |
commit | af705ba8f072b917fab51ba78ec7e8f3d42b49c5 (patch) | |
tree | 91e81caa7ba383a051fb63d65a26f7661a5dc5d6 /bfd | |
parent | e155246bc49af032b946e87a44947d8eb453514a (diff) | |
download | gdb-af705ba8f072b917fab51ba78ec7e8f3d42b49c5.zip gdb-af705ba8f072b917fab51ba78ec7e8f3d42b49c5.tar.gz gdb-af705ba8f072b917fab51ba78ec7e8f3d42b49c5.tar.bz2 |
(m32r_elf_relocate_section): Handle R_M32R_SDA16_RELA in the same way as
R_M32R_SDA16.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf32-m32r.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7b77585..1aec86c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 diff --git a/bfd/elf32-m32r.c b/bfd/elf32-m32r.c index f929d7d..4f0159f 100644 --- a/bfd/elf32-m32r.c +++ b/bfd/elf32-m32r.c @@ -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; |