2009-09-29 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
authorM R Swami Reddy <MR.Swami.Reddy@nsc.com>
Tue, 29 Sep 2009 11:55:09 +0000 (11:55 +0000)
committerM R Swami Reddy <MR.Swami.Reddy@nsc.com>
Tue, 29 Sep 2009 11:55:09 +0000 (11:55 +0000)
       * elf32-cr16.c (elf32_cr16_relocate_section): Removed info->relocatable
       to fix the ld/testsuites/ld-elf/linkonce1 test case.

bfd/ChangeLog
bfd/elf32-cr16.c

index 3594e2550b5c70c836d6f317bb8fcf54950a3262..4ee8731742426d03d6170b7b12700d1b9f63a3cc 100644 (file)
@@ -1,3 +1,8 @@
+2009-09-29 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. 
+
 2009-09-28  Nick Clifton  <nickc@redhat.com>
 
        PR 10478: Accepting Solaris binaries.
index 17be1ff562179ea6202e336ef4f326ff47347b18..f82d1e902d78a3d5dcd704ede95f3d869281e69d 100644 (file)
@@ -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);