This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: MIPS multi-got link support
On Thu, Jan 16, 2003 at 03:05:31PM -0200, Alexandre Oliva wrote:
> 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.
I suspect, if you just make the testcase (say) twice as big as
necessary to trigger the problem, it won't matter in practice.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer