"relocation addend field"
Xinan Tang
xinant@cognigine.com
Wed May 23 09:19:00 GMT 2001
Hi
Thanks Alan Modra for answering my question on relocation.
Now allow me to elaborate my question about generating
relocation entry.
In tc_gen_reloc(), this is what I did,
rel->addend = fixp->fx_addnumber;
I.e., I am using fx_addnumber to pass value between md_apply_fix() and
tc_gen_reloc(). This `addend' NON-ZERO value can be seen until the last
call in write_object_file().
However, when using `objdump' to print the relocation info.
the field `addend' is ZERO. How could this happen?
Thanks
Dr. Xinan Tang Member of Technical Staff
EMail: xinant@cognigine.com Cognigine Corp.
Voice: 510.743.4930 6120 Stevenson Boulevard
Fax: 510.743.4910 Fremont, CA 94538
More information about the Binutils
mailing list