Enable link time garbage collection support for the IA64 target.
authorJason Duerstock <jason.duerstock@gmail.com>
Tue, 20 Feb 2018 13:21:55 +0000 (13:21 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 20 Feb 2018 13:21:55 +0000 (13:21 +0000)
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.

bfd/ChangeLog
bfd/elfnn-ia64.c

index 2ef145c26cba9e903e84b209742e429a9d8908f5..56e3f11683c2db4489b66819fe89329932e82eec 100644 (file)
@@ -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
index 842417a046b178b64bc2c76018a8af8dc6755de3..715115ae23ad50c3a3b290f5ca02b5dd6e7d79e0 100644 (file)
@@ -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