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-Tag: binutils-2_31~1256 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6e8d06db1a6e63e0da80035114dbfefeabf63d87;p=external%2Fbinutils.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 2ef145c..56e3f11 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 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