This is the mail archive of the binutils@sourceware.cygnus.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]

Re: Back-end specific per-bfd data


Hi Mark,

: There seems to be no place to put back-end specific per-bfd data.
: That means that some of the backends have resulted to static data,
: which is surely not the right thing given the otherwise nicely
: object-oriented and reentrant nature of bfd.

The current method, used by several ports, is to hang the data off
a custom made link hash table.  For examples of this see struct
coff_arm_link_hash_table in coff-arm.c or struct
elf32_mn10300_link_hash_entry in elf-m10300.c

Cheers
	Nick

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