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]

Re: elf_link_hash_entry vs generic_link_hash_entry


On Wed, Aug 22, 2001 at 08:41:11AM +0100, Nick Clifton wrote:
> 
>    3. Go back to the old situation where elf ports that do not provide
>       their own relocation backends use the generic linker hash table
>       entry structure, but add code to the other elf routines to
>       detect this and fail before they try to access fields in the
>       hash structure that are not there.
> 

I'd like this one. How about we turn elf_hash_table into something
specific to each backend? For those targets which don't use
_bfd_elf_link_hash_table_create, it will return NULL or a fatal
bfd error.


H.J.


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