user defined info

Ian Lance Taylor
Fri Jan 18 19:13:00 GMT 2008

Ivan Pryanishnikov <> 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.


More information about the Binutils mailing list