This is the mail archive of the binutils@sources.redhat.com 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]

GAS reloc->addend


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


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