From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey A Law To: Richard Henderson Cc: Nick Clifton , binutils@sourceware.cygnus.com Subject: Re: Where to put per-target global BFD data ? Date: Thu, 01 Jul 1999 00:00:00 -0000 Message-id: <28045.929957202@upchuck.cygnus.com> References: <19990620164714.B4699@cygnus.com> X-SW-Source: 1999-q2/msg00305.html In message < 19990620164714.B4699@cygnus.com >you write: > > I am not sure how this can be fixed. I think using the hash table > > may not be the best way to store global information, because of this > > problem, and that another solution needs to be found. > > My solution would be to outlaw linking together different formats, > and that the output format must match the input format. Diddling > different formats is what objcopy is for. I've got no problems with that. multi-format linking was always an interesting idea, but it never worked well and worked even less well when the linker was changed to use native relocs instead of bfd relocs. And I haven't seen that multi-format linking has been all that important to the user community. jeff