From: Jason Merrill <jason@cygnus.com>
To: Bruno Haible <haible@ilog.fr>, egcs@cygnus.com
Subject: Re: .eh_frame section
Date: Tue, 07 Oct 1997 23:14:00 -0000 [thread overview]
Message-ID: <u9ra9wx13j.fsf@yorick.cygnus.com> (raw)
In-Reply-To: <199710061406.QAA27126@halles.ilog.fr>
>>>>> Bruno Haible <haible@ilog.fr> writes:
> 2. The ".eh_frame" section takes up about 25% of an executable. For
> an executable, this is nothing to worry about. But for a shared
> library, "objdump --section-headers" shows that the .eh_frame
> section has the attributes CONTENTS, ALLOC, LOAD, RELOC, DATA.
> The combination LOAD, RELOC means that, on most Unix systems,
> this section will be completely read in and relocated when
> the shared library is mapped into the process memory, i.e. usually
> at program startup. Here at ILOG, we are routinely using executables
> which are linked to a total of 20 MB of shared libraries. If 25%
> of this must be read from disk each time the program starts up,
> that will certainly be noticeable...
Agreed.
> Would it be possible to replace the `pc_begin' pointer and the
> `CIE_pointer' in `struct dwarf_fde' by position-independent entities?
That would be nice. Anyone have suggestions? The DWARF spec calls for the
CIE_pointer fields to be position-independent by making them offsets from
the beginning of the section (in the executable), but there's no way to
represent that in the assembler, so I changed it to a straight reloc.
Richard was muttering something about a possibly suitable reloc style the
other day, but I don't remember the upshot.
Jason
next prev parent reply other threads:[~1997-10-07 23:14 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-10-07 23:14 Bruno Haible
1997-10-07 23:14 ` Jason Merrill [this message]
1997-10-08 9:24 ` Richard Henderson
1997-10-08 15:38 meissner
1997-10-08 21:19 ` Richard Henderson
1997-10-09 9:26 ` Ian Lance Taylor
1997-10-09 9:26 ` Jason Merrill
1997-10-10 17:21 ` Bruno Haible
1997-10-13 9:44 ` Joern Rennecke
1997-10-13 13:41 ` Richard Henderson
2007-05-29 21:33 sfora dim
2007-05-29 23:13 ` Ian Lance Taylor
2007-05-30 7:41 ` sfora dim
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=u9ra9wx13j.fsf@yorick.cygnus.com \
--to=jason@cygnus.com \
--cc=egcs@cygnus.com \
--cc=haible@ilog.fr \
/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).