From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H . J . Lu" To: Nick Clifton Cc: binutils@sources.redhat.com, Ian Lance Taylor Subject: Re: elf_link_hash_entry vs generic_link_hash_entry Date: Thu, 23 Aug 2001 09:22:00 -0000 Message-id: <20010823092140.A15101@lucon.org> References: X-SW-Source: 2001-08/msg00537.html 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.