This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] bfd/elfnn-ia64.c: enable --gc-sections support
- From: Jason Duerstock <jason dot duerstock at gmail dot com>
- To: binutils at sourceware dot org
- Date: Sat, 17 Feb 2018 14:37:40 -0500
- Subject: [PATCH] bfd/elfnn-ia64.c: enable --gc-sections support
- Authentication-results: sourceware.org; auth=none
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