using _start or __start as ENTRY?

Hans-Peter Nilsson hp@bitrange.com
Wed Jun 8 17:00:00 GMT 2005


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



More information about the Binutils mailing list