Ignorant question on GAS instruction offset addresses....
Steven J. Hill
sjhill@realitydiluted.com
Sun Jun 6 04:48:00 GMT 2004
Greetings.
I really apologize for this stupid question. First, this is
for a MIPS target. When I am assembling an instruction, I
would like to know what the current offset address is within
the .text section. Essentially, when you dissassemble an
object file with objdump, the address offset of each instruction
is printed along with the actual instruction. Where is the
address "counter" at so that when I am inside 'append_insn' for
'config/tc-mips.c' I can see how far I am currently offset in
the section. Please correct my terminilogy in your reply. Thanks.
-Steve
More information about the Binutils
mailing list