Start address of a binary
Alexandre Oliva
aoliva@redhat.com
Wed Feb 21 05:50:00 GMT 2001
On Feb 20, 2001, Sébastien Côté <scote1@Matrox.COM> wrote:
> ld : warning: cannot find entry symbol _start; defaulting to 0180074
> Is 0x180074 right?
It may be. If no _start symbol exists in the executable, the linker
probably assumes it should start in the beginning of the .text
section. But you'd better define _start properly so that it calls
global initializers, then main().
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Gcc-help
mailing list