This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: using _start or __start as ENTRY?
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: "Peter S. Mazinger" <ps dot m at gmx dot net>
- Cc: binutils at sourceware dot org
- Date: Wed, 8 Jun 2005 13:00:43 -0400 (EDT)
- Subject: Re: using _start or __start as ENTRY?
- References: <Pine.LNX.4.44.0506081835520.17303-100000@lnx.bridge.intra>
On Wed, 8 Jun 2005, Peter S. Mazinger wrote:
> Hello!
>
> Is there some particular reason, that mips (also some others) use
> ENTRY=__start instead of _start ?
Yes, depending on whether program symbols start with "_" (see
gcc USER_LABEL_PREFIX). You don't want to invade on the program
symbol namespace by robbing it of the identifier "start".
brgds, H-P