This is the mail archive of the binutils@sourceware.cygnus.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: R_MIPS_GOT16 bug


>>>>> "Ralf" == Ralf Baechle <ralf@uni-koblenz.de> writes:

    Ralf> It's worse, the size of the .got for perl(1) has increased
    Ralf> by a factor of two; for other non-trivial binaries I've
    Ralf> observed a factor of four.  Some pathological cases are even
    Ralf> worse.

Hmm.  Remind me of which of your test-cases shows the explosion, and
I'll investigate further.  It will probably take me into next week to
get a chance to look at this, but I will do so.

The original code as under-allocating GOT space; it was assuming that
certain relocations would always have the same GOT entry, when there's
no reason that they should.  I'll look for a way to find a middle
ground.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

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