aboutsummaryrefslogtreecommitdiff
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
commit6d3e950baa6b78a46e6282eea421c2416bca5eb8 (patch)
treebd3cc5ffb66c0d7d0c78db075b5961e8cc10b0d0
parent079a8e4af52d323046e01c8c07669633179478fe (diff)
downloadgdb-6d3e950baa6b78a46e6282eea421c2416bca5eb8.zip
gdb-6d3e950baa6b78a46e6282eea421c2416bca5eb8.tar.gz
gdb-6d3e950baa6b78a46e6282eea421c2416bca5eb8.tar.bz2
Add part of patch omittede from previous delta
-rw-r--r--bfd/elflink.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h
index fc3f1d1..749d139 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;