This is the mail archive of the binutils@sourceware.org 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]

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


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