aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2006-03-17 18:37:21 +0000
committerH.J. Lu <hjl.tools@gmail.com>2006-03-17 18:37:21 +0000
commita46767362abc290f3862083e54003f68493781cf (patch)
tree3524f92c78854d4ee28268fd1440b561a8ec2a75 /bfd/elflink.c
parentf5208ef27a2b7493d0664a2d673c6e153fd7baa1 (diff)
downloadgdb-a46767362abc290f3862083e54003f68493781cf.zip
gdb-a46767362abc290f3862083e54003f68493781cf.tar.gz
gdb-a46767362abc290f3862083e54003f68493781cf.tar.bz2
2006-03-17 Daniel Jacobowitz <dan@codesourcery.com>
PR ld/2462 * elflink.c (bfd_elf_final_link): Remove bed->elf_backend_emit_relocs from emit_relocs.
Diffstat (limited to 'bfd/elflink.c')
-rw-r--r--bfd/elflink.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 5466e09..f0a0e83 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -7782,8 +7782,7 @@ bfd_elf_final_link (bfd *abfd, struct bfd_link_info *info)
dynobj = elf_hash_table (info)->dynobj;
emit_relocs = (info->relocatable
- || info->emitrelocations
- || bed->elf_backend_emit_relocs);
+ || info->emitrelocations);
finfo.info = info;
finfo.output_bfd = abfd;