[binutils-gdb/binutils-2_30-branch] Enable link time garbage collection for the IA64 target.

Nick Clifton nickc@sourceware.org
Wed Feb 28 14:12:00 GMT 2018


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=52b2fcb64e050f108e5053c31e5d25f9cdf46deb

commit 52b2fcb64e050f108e5053c31e5d25f9cdf46deb
Author: Nick Clifton <nickc@redhat.com>
Date:   Wed Feb 28 14:11:47 2018 +0000

    Enable link time garbage collection for the IA64 target.
    
    	Import patch from the mainline:
    	2018-02-20  Jason Duerstock  <jason.duerstock@gmail.com>
    
    	* elfnn-ia64.c (elf_backend_can_gc_sections): Enable.

Diff:
---
 bfd/ChangeLog    | 7 +++++++
 bfd/elfnn-ia64.c | 1 +
 2 files changed, 8 insertions(+)

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 2cac4d2..e3925af 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,10 @@
+2018-02-28  Nick Clifton  <nickc@redhat.com>
+
+	Import patch from the mainline:
+	2018-02-20  Jason Duerstock  <jason.duerstock@gmail.com>
+
+	* elfnn-ia64.c (elf_backend_can_gc_sections): Enable.
+
 2018-02-15  Nick Clifton  <nickc@redhat.com>
 
 	Import patch from mainline:
diff --git a/bfd/elfnn-ia64.c b/bfd/elfnn-ia64.c
index 3af05f6..605720b 100644
--- a/bfd/elfnn-ia64.c
+++ b/bfd/elfnn-ia64.c
@@ -5064,6 +5064,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



More information about the Binutils-cvs mailing list