aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-08-19 06:38:43 +0000
committerAlan Modra <amodra@gmail.com>2002-08-19 06:38:43 +0000
commit9f88ba09684938dcb07aa5840d7abd5d3a80c774 (patch)
tree1e2cfc8c0ae9e9ab6de0b581fe88eda92fe47174
parent53c69bd7cdc9f2bb38e6518794a3c048567b1bac (diff)
downloadgdb-9f88ba09684938dcb07aa5840d7abd5d3a80c774.zip
gdb-9f88ba09684938dcb07aa5840d7abd5d3a80c774.tar.gz
gdb-9f88ba09684938dcb07aa5840d7abd5d3a80c774.tar.bz2
* elf32-m68hc12.c (elf_backend_can_gc_sections): False.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf32-m68hc12.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 50d5ecc..7b0f782 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2002-08-19 Alan Modra <amodra@bigpond.net.au>
+
+ * elf32-m68hc12.c (elf_backend_can_gc_sections): False.
+
2002-08-17 Andrew Cagney <ac131313@redhat.com>
* elf.c (bfd_elf_get_elf_syms): Change type of `esym' to
diff --git a/bfd/elf32-m68hc12.c b/bfd/elf32-m68hc12.c
index f0f4146..907159b 100644
--- a/bfd/elf32-m68hc12.c
+++ b/bfd/elf32-m68hc12.c
@@ -784,7 +784,8 @@ _bfd_m68hc12_elf_print_private_bfd_data (abfd, ptr)
#define elf_backend_gc_sweep_hook elf32_m68hc11_gc_sweep_hook
#define elf_backend_object_p 0
#define elf_backend_final_write_processing 0
-#define elf_backend_can_gc_sections 1
+/* Disabled as this backend uses the generic linker. */
+#define elf_backend_can_gc_sections 0
#define bfd_elf32_bfd_merge_private_bfd_data \
_bfd_m68hc12_elf_merge_private_bfd_data