This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: user defined info
- From: Ian Lance Taylor <iant at google dot com>
- To: Ivan Pryanishnikov <prianich at complang dot tuwien dot ac dot at>
- Cc: binutils at sourceware dot org
- Date: 16 Jan 2008 16:52:02 -0800
- Subject: Re: user defined info
- References: <20080116124752.GA31585@complang.tuwien.ac.at>
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