using _start or __start as ENTRY?
Daniel Jacobowitz
drow@false.org
Wed Jun 8 18:17:00 GMT 2005
On Wed, Jun 08, 2005 at 01:00:43PM -0400, Hans-Peter Nilsson wrote:
> 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".
Which does not apply to MIPS; for MIPS it's simply historical.
--
Daniel Jacobowitz
CodeSourcery, LLC
More information about the Binutils
mailing list