new warning with 2.19

Alan Modra amodra@bigpond.net.au
Thu Dec 4 08:33:00 GMT 2008


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



More information about the Binutils mailing list