GAS reloc->addend
Vineet Sharma
Vineet.Sharma@noida.hcltech.com
Wed Oct 13 12:43:00 GMT 2004
Hi,
I am porting binutils 2.15 for new 16 bit processor. I have some query :
Q1. Regarding the role of reloc_entry->addend.
I want to know how does the genreic part fills up this value and what does it symbolises. ?
Q2. If in GAS function coff_XXX_reloc() i want to identify the section of the symbol(symbol_in parameter) in question.
I tried "symbol_in->section->flags & SEC_CODE" the flag are not set and always fails in GAS(but works properly in linker). Any hints?
Thanks and Regards
Vineet
More information about the Binutils
mailing list