summaryrefslogtreecommitdiff
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
commite2f4329a89da91e6c3f6493286d291a0ab419768 (patch)
tree9dc9b3a0fee4e9579564bde47c55c30f76bcca34
parent4fdc1cd1444a97cf3415ca1051d8cb6dc8db8595 (diff)
downloadbinutils-redhat-e2f4329a89da91e6c3f6493286d291a0ab419768.tar.gz
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 fc3f1d1330..749d13981c 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;