This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Enable link time garbage collection support for the IA64 target.
- From: Nick Clifton <nickc at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 20 Feb 2018 13:23:24 -0000
- Subject: [binutils-gdb] Enable link time garbage collection support for the IA64 target.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6e8d06db1a6e63e0da80035114dbfefeabf63d87
commit 6e8d06db1a6e63e0da80035114dbfefeabf63d87
Author: Jason Duerstock <jason.duerstock@gmail.com>
Date: Tue Feb 20 13:21:55 2018 +0000
Enable link time garbage collection support for the IA64 target.
As suggested in long ago in a galaxy far, far away [1], I tried
turning it on and it seems to work, as is evidenced by the Mesa
package in Debian/ia64. Please enable it with the following patch.
[1] https://sourceware.org/ml/binutils/2007-07/msg00241.html
bfd * elfnn-ia64.c (elf_backend_can_gc_sections): Enable.
Diff:
---
bfd/ChangeLog | 4 ++++
bfd/elfnn-ia64.c | 1 +
2 files changed, 5 insertions(+)
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 2ef145c..56e3f11 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2018-02-20 Jason Duerstock <jason.duerstock@gmail.com>
+
+ * elfnn-ia64.c (elf_backend_can_gc_sections): Enable.
+
2018-02-19 Maciej W. Rozycki <macro@mips.com>
Revert
diff --git a/bfd/elfnn-ia64.c b/bfd/elfnn-ia64.c
index 842417a..715115a 100644
--- a/bfd/elfnn-ia64.c
+++ b/bfd/elfnn-ia64.c
@@ -5065,6 +5065,7 @@ elfNN_hpux_backend_symbol_processing (bfd *abfd ATTRIBUTE_UNUSED,
elfNN_ia64_print_private_bfd_data
#define elf_backend_plt_readonly 1
+#define elf_backend_can_gc_sections 1
#define elf_backend_want_plt_sym 0
#define elf_backend_plt_alignment 5
#define elf_backend_got_header_size 0