This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: new warning with 2.19
On Thu, Dec 04, 2008 at 08:39:30AM +0100, Ralf Corsepius wrote:
> * Is the call to ld triggering the warning correct?
Well it is rather unusual to specify -e with -r. It really only makes
sense if your system runs relocatable executables.
> * Which ld's behavior is right? Is the warning bogus?
The fix for http://sourceware.org/bugzilla/show_bug.cgi?id=5533
changed ld's behaviour. (I hadn't noted this change, which is why
I thought it unlikely that there was a problem with ld's reporting
of missing entry symbols.) I'm inclined to think the warning is
correct though.
--
Alan Modra
Australia Development Lab, IBM