[PATCH] ld/ldlang.c: fatal error on architecture mismatch

Ian Lance Taylor iant@google.com
Tue May 1 16:52:00 GMT 2007


Alan Modra <amodra@bigpond.net.au> writes:

> > While we're on the subject of errors, it bugs me that the linker warns
> > and auto-selects an address if you don't provide _start or specify an
> > entry point.  How do you feel about making that fatal?
> 
> It might impact the testsuite.  Otherwise I'm OK with the idea.

This would be a bad idea as it would break a number of embedded
builds.  Embedded systems generally ignore the entry address anyhow.

Ian



More information about the Binutils mailing list