aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-m32r.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-08-24 08:21:25 +0000
committerNick Clifton <nickc@redhat.com>2004-08-24 08:21:25 +0000
commitaf705ba8f072b917fab51ba78ec7e8f3d42b49c5 (patch)
tree91e81caa7ba383a051fb63d65a26f7661a5dc5d6 /bfd/elf32-m32r.c
parente155246bc49af032b946e87a44947d8eb453514a (diff)
downloadfsf-binutils-gdb-af705ba8f072b917fab51ba78ec7e8f3d42b49c5.zip
fsf-binutils-gdb-af705ba8f072b917fab51ba78ec7e8f3d42b49c5.tar.gz
fsf-binutils-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/elf32-m32r.c')
-rw-r--r--bfd/elf32-m32r.c2
1 files changed, 1 insertions, 1 deletions
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;