[PATCH] bfd/elfnn-ia64.c: enable --gc-sections support

Jason Duerstock jason.duerstock@gmail.com
Sat Feb 17 19:37:00 GMT 2018


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.

Thanks,

Jason


[1] https://sourceware.org/ml/binutils/2007-07/msg00241.html

---

--- bfd/elfnn-ia64.c    2018-01-13 08:31:15.000000000 -0500
+++ bfd/elfnn-ia64.c    2018-02-16 19:58:31.395896126 -0500
@@ -5064,6 +5064,7 @@
        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 mailing list