From af705ba8f072b917fab51ba78ec7e8f3d42b49c5 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 24 Aug 2004 08:21:25 +0000 Subject: [PATCH] (m32r_elf_relocate_section): Handle R_M32R_SDA16_RELA in the same way as R_M32R_SDA16. --- bfd/ChangeLog | 5 +++++ bfd/elf32-m32r.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7b775859831..1aec86c9980 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2004-08-24 Kazuhiro Inaoka + + * 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 * elflink.c (_bfd_elf_section_already_linked): Handle diff --git a/bfd/elf32-m32r.c b/bfd/elf32-m32r.c index f929d7dec6d..4f0159f481c 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; -- 2.30.2