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] |
Hi, sean yang wrote: > For example, I want to find the program counter(i.e., the address of the > instruction) of "call '@foo'" instruction at link time. This can be done for assembler code, but obvoisly not for C code as there is no way to make sure the C compiler will always use the same instructions. Just declare an assembler label in front of the instruction of which you want to take the address. Simon
Attachment:
signature.asc
Description: OpenPGP digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |