This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] ld/ldlang.c: fatal error on architecture mismatch
- From: Ian Lance Taylor <iant at google dot com>
- To: Alan Modra <amodra at bigpond dot net dot au>
- Cc: Robert Millan <rmh at aybabtu dot com>, binutils at sourceware dot org
- Date: 01 May 2007 09:51:18 -0700
- Subject: Re: [PATCH] ld/ldlang.c: fatal error on architecture mismatch
- References: <20070428185723.GA27973@aragorn> <20070430082136.GB13774@bubble.grove.modra.org> <20070430111937.GA27826@caradoc.them.org> <20070501084910.GA28572@bubble.grove.modra.org>
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