From 0505e9020e29fbe2e8460cd16d7f5da30129a3ce Mon Sep 17 00:00:00 2001 From: M R Swami Reddy Date: Tue, 29 Sep 2009 11:55:09 +0000 Subject: [PATCH] 2009-09-29 M R Swami Reddy * elf32-cr16.c (elf32_cr16_relocate_section): Removed info->relocatable to fix the ld/testsuites/ld-elf/linkonce1 test case. --- bfd/ChangeLog | 5 +++++ bfd/elf32-cr16.c | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3594e2550b5..4ee87317424 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2009-09-29 M R Swami Reddy + + * elf32-cr16.c (elf32_cr16_relocate_section): Removed + info->relocatable to fix the ld/testsuites/ld-elf/linkonce1 test case. + 2009-09-28 Nick Clifton PR 10478: Accepting Solaris binaries. diff --git a/bfd/elf32-cr16.c b/bfd/elf32-cr16.c index 17be1ff5621..f82d1e902d7 100644 --- a/bfd/elf32-cr16.c +++ b/bfd/elf32-cr16.c @@ -1431,9 +1431,6 @@ elf32_cr16_relocate_section (bfd *output_bfd, struct bfd_link_info *info, 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); -- 2.30.2