This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH] relocate miss at R_M32R_SDA16_RELA
- From: Kazuhiro Inaoka <inaoka dot kazuhiro at renesas dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: "binutils at sources dot redhat dot com" <binutils at sources dot redhat dot com>
- Date: Tue, 24 Aug 2004 16:19:40 +0900
- Subject: [PATCH] relocate miss at R_M32R_SDA16_RELA
Hi Nick,
m32r-elf-ld has a relocate miss at R_M32R_SDA16_RELA.
This is a patch for it.
Please commit it.
Regards,
Kazuhiro Inaoka
bfd/ChangeLog
2004-08-24 Kazuhiro Inaoka <inaoka dot kazuhiro at renesas dot com>
* elf32-m32r.c (m32r_elf_relocate_section): Fixed a relocate
miss at R_M32R_SDA16_RELA.
Index: elf32-m32r.c
===================================================================
RCS file: /cvs/src/src/bfd/elf32-m32r.c,v
retrieving revision 1.48
diff -c -r1.48 elf32-m32r.c
*** elf32-m32r.c 13 Aug 2004 03:15:57 -0000 1.48
--- elf32-m32r.c 24 Aug 2004 07:06:43 -0000
***************
*** 3031,3037 ****
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
--- 3031,3036 ----
***************
*** 3164,3169 ****
--- 3163,3169 ----
goto check_reloc;
+ case (int) R_M32R_SDA16_RELA :
case (int) R_M32R_SDA16 :
{
const char *name;