This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: MIPS multi-got link support
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Hans-Peter Nilsson <hp at bitrange dot com>
- Cc: binutils at sources dot redhat dot com
- Date: 16 Jan 2003 15:05:31 -0200
- Subject: Re: MIPS multi-got link support
- Organization: GCC Team, Red Hat
- References: <Pine.BSF.4.44.0301152230280.55703-100000@dair.pair.com>
On Jan 16, 2003, Hans-Peter Nilsson <hp@bitrange.com> wrote:
> Assuming the "reasonable size" just refers to the actual code
> size or number of functions: You don't mention why generating
> the test-case during test-time won't work to trigger the code in
> question. For an example, see ld-elf/sec64k.exp.
> Just helping. :-)
Thanks. I remembered there was a test like that, and I even
considered using it as inspiration. The main problem is that we have
hashtables that use pointers to bfds as (part of) keys, and then the
process of bfd->got mapping, as well as the ordering of relocations
and got entries, ends up dependent on the exact addresses of bfds. I
didn't think it was a problem until I got to the point of figuring out
I should create testcases. And then, I realized I was definitely out
of luck.
> It seems too important to get silently broken every once in a while.
Agreed, especially given how seldom it's exercised in real life, but I
don't see an easy way out.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer