From: Jason Duerstock Date: Tue, 20 Feb 2018 13:21:55 +0000 (+0000) Subject: Enable link time garbage collection support for the IA64 target. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6e8d06db1a6e63e0da80035114dbfefeabf63d87;p=binutils-gdb.git 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 --git a/bfd/ChangeLog b/bfd/ChangeLog index 2ef145c26cb..56e3f11683c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2018-02-20 Jason Duerstock + + * elfnn-ia64.c (elf_backend_can_gc_sections): Enable. + 2018-02-19 Maciej W. Rozycki Revert diff --git a/bfd/elfnn-ia64.c b/bfd/elfnn-ia64.c index 842417a046b..715115ae23a 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