summaryrefslogtreecommitdiff
path: root/bfd/elflink.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-05-17 19:55:14 +0000
committerNick Clifton <nickc@redhat.com>2000-05-17 19:55:14 +0000
commit3c1573b04d1da040866e0d6755e2e44a6a3655dc (patch)
tree035e0f8150239044319e4114fa66072f7df31ab6 /bfd/elflink.h
parent0247662531a317471fea8c298debdfe38e2a8ba3 (diff)
downloadgdb-3c1573b04d1da040866e0d6755e2e44a6a3655dc.tar.gz
Add part of patch omittede from previous delta
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r--bfd/elflink.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h
index fc3f1d13300..749d13981c9 100644
--- a/bfd/elflink.h
+++ b/bfd/elflink.h
@@ -6420,7 +6420,7 @@ elf_gc_sections (abfd, info)
struct elf_link_hash_entry *h, Elf_Internal_Sym *));
if (!get_elf_backend_data (abfd)->can_gc_sections
- || info->relocateable
+ || info->relocateable || info->emitrelocations
|| elf_hash_table (info)->dynamic_sections_created)
return true;