This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH] fix "--gc-sections doesn't work on Linux/x86"
- From: Julien LEMOINE <speedblue at debian dot org>
- To: binutils at sources dot redhat dot com
- Date: Sat, 19 Apr 2003 01:42:08 +0200
- Subject: [PATCH] fix "--gc-sections doesn't work on Linux/x86"
This patch fix problem with --gc-sections, in fact the test
'elf_hash_table (info)->dynamic_sections_created' was always true,
since dynamic_sections is set to true (by elf_link_create_dynamic_sections )
before elf_gc_sections call.
The full bug report is available at :
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=182910
Best Regards.
--
Julien LEMOINE / SpeedBlue