diff options
author | Jason Duerstock <jason.duerstock@gmail.com> | 2018-02-20 13:21:55 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2018-02-20 13:21:55 +0000 |
commit | 6e8d06db1a6e63e0da80035114dbfefeabf63d87 (patch) | |
tree | 0c9a4cb3243cbb2d71bdf28440a1da10321b7429 /bfd | |
parent | 2d8adcbd07fc12a3212a9f045605ef712f5fb3ab (diff) | |
download | gdb-6e8d06db1a6e63e0da80035114dbfefeabf63d87.zip gdb-6e8d06db1a6e63e0da80035114dbfefeabf63d87.tar.gz gdb-6e8d06db1a6e63e0da80035114dbfefeabf63d87.tar.bz2 |
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.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/elfnn-ia64.c | 1 |
2 files changed, 5 insertions, 0 deletions
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 |