This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] ld test suite linkonce1 fix for cr16-elf


Hi,
Applied the below cr16 target specific patch on binutils 2.20 branch.
No regressions with this patch.


Thanks
Swami

M R Swami Reddy wrote:
Hi,
Below patch will fix the ld test suite "linkonce1" test failure.
Ran "make check-ld", "make check-gas" and "make check-binutils". No regressions
[and ld/testsuite/ld-elf/linkince1 passed with this patch].


ChangeLog:

M R Swami Reddy <MR.Swami.Reddy@nsc.com>

* elf32-cr16.c (elf32_cr16_relocate_section): Removed info->relocatable
to fix the ld/testsuites/ld-elf/linkonce1 test case.



Index: elf32-cr16.c =================================================================== RCS file: /cvs/src/src/bfd/elf32-cr16.c,v retrieving revision 1.10 diff -u -r1.10 elf32-cr16.c --- elf32-cr16.c 9 Sep 2009 04:49:08 -0000 1.10 +++ elf32-cr16.c 9 Sep 2009 09:15:17 -0000 @@ -1431,9 +1431,6 @@ struct elf_link_hash_entry **sym_hashes; Elf_Internal_Rela *rel, *relend;

-  if (info->relocatable)
-    return TRUE;
-
  symtab_hdr = &elf_tdata (input_bfd)->symtab_hdr;
  sym_hashes = elf_sym_hashes (input_bfd);






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]