changing the entry point

Yannick Cote
Thu Oct 19 15:14:00 GMT 2006

Hi there,

I am trying to find an explaination on why "ld -e myfunc ..." works if
"myfunc" is in a .o file but will fail when the function is in an
archive .a file.

The ld output will look like this (in the case of linking against an
archive .a file):

ld: warning: cannot find entry symbol myfunc; defaulting to 00010000

I hope this is the right place for that type of question,


 - Yan

More information about the Binutils mailing list