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


On Fri, Aug 06, 1999 at 12:45:35PM -0700, Mark Mitchell wrote:

>     Ralf> Btw, the got in the executable seems to be quite bloated by
>     Ralf> alot of apparently unused entries.  My test case #10 has two
>     Ralf> reserved entries, two used ones and 13 unused ones.  The
>     Ralf> ranlib binary which I've just dissected seems to have just
>     Ralf> 14 used ones but in total 3737 allocated local got entries,
>     Ralf> that's almost 15kb wasted.
> 
> Yup.  That's a harder problem to fix; it requires asembling the GOT in
> a rather more clever way.  It would be nice to do, though!  Let's
> tackle correctness first; then we can get to this.

It now has become an issue of correctness as well.  Even a relativly small
program like vim when configured with perl, python and X support reaches
the size where we run out of GOT space.

As you say it looks non-trivial; is this on your agenda for the next time?

  Ralf

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