This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: using _start or __start as ENTRY?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]