aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-cr16.c
diff options
context:
space:
mode:
authorM R Swami Reddy <MR.Swami.Reddy@nsc.com>2009-09-29 11:55:09 +0000
committerM R Swami Reddy <MR.Swami.Reddy@nsc.com>2009-09-29 11:55:09 +0000
commit0505e9020e29fbe2e8460cd16d7f5da30129a3ce (patch)
treedf4bb46ad917f79482767d45544690b2c5fb4a64 /bfd/elf32-cr16.c
parentcafed8af5abeaec7b6b7ab7e76a757b90e1448b3 (diff)
downloadgdb-0505e9020e29fbe2e8460cd16d7f5da30129a3ce.zip
gdb-0505e9020e29fbe2e8460cd16d7f5da30129a3ce.tar.gz
gdb-0505e9020e29fbe2e8460cd16d7f5da30129a3ce.tar.bz2
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.
Diffstat (limited to 'bfd/elf32-cr16.c')
-rw-r--r--bfd/elf32-cr16.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/bfd/elf32-cr16.c b/bfd/elf32-cr16.c
index 17be1ff..f82d1e9 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);