This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
ld: can not edit opd Bad value with --gc-sections
- From: Olaf Hering <olh at suse dot de>
- To: binutils at sources dot redhat dot com, Alan Modra <amodra at bigpond dot net dot au>
- Date: Sat, 22 Oct 2005 16:08:50 +0200
- Subject: ld: can not edit opd Bad value with --gc-sections
Alan,
something broke gcc -Wl,--gc-sections recently.
You fixed it a while ago.
http://sourceware.org/ml/binutils/2005-06/msg00093.html
I think the last working version was binutils-2.16.91.0.2.
A testcase for current cvs can be found here:
http://penguinppc.org/~olaf/gc-sections.tar.bz2
gcc -Wl,--gc-sections -o nwsfind nwsfind.o -pie ../lib/libncp.a
--
short story of a lazy sysadmin:
alias appserv=wotan