public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@uni-koblenz.de>
To: Mark Mitchell <mark@codesourcery.com>
Cc: binutils@sourceware.cygnus.com
Subject: Re: R_MIPS_GOT16 bug
Date: Sun, 15 Aug 1999 15:31:00 -0000	[thread overview]
Message-ID: <19990816000504.A12356@uni-koblenz.de> (raw)
In-Reply-To: <19990806124535D.mitchell@codesourcery.com>

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

       reply	other threads:[~1999-08-15 15:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <19990806035519.B872@uni-koblenz.de>
     [not found] ` <19990805192859R.mitchell@codesourcery.com>
     [not found]   ` <19990806170650.A1366@uni-koblenz.de>
     [not found]     ` <19990806124535D.mitchell@codesourcery.com>
1999-08-15 15:31       ` Ralf Baechle [this message]
1999-08-15 15:46         ` Mark Mitchell
1999-08-15 15:52           ` Ralf Baechle
1999-08-15 15:59             ` Mark Mitchell
1999-08-04 19:14 Ralf Baechle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19990816000504.A12356@uni-koblenz.de \
    --to=ralf@uni-koblenz.de \
    --cc=binutils@sourceware.cygnus.com \
    --cc=mark@codesourcery.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).