This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
changing the entry point
- From: "Yannick Cote" <yanick at yanos dot org>
- To: binutils at sourceware dot org
- Date: Thu, 19 Oct 2006 10:07:40 -0400
- Subject: changing the entry point
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,
Thanks,
- Yan