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]

Re: user defined info


Ivan Pryanishnikov <prianich@complang.tuwien.ac.at> writes:

> I'm porting binutils to a new target. The object format is elf.
> I need to store in the object file an additional single flag 
> associated with bfd-symbols (asymbol) created during assembling.
> 
> I believe there's several ways to do that.
> Could you please advise what way is the best.

You need an extra flag for each symbol?  Store it in the st_other
field.  Example: the use of STO_M68HC12_FAR in elf32-m68hc11.c.

Ian


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