From: Hagen Paul Pfeifer <hagen@jauu.net>
To: linux-kernel@vger.kernel.org
Subject: Re: Elf loader question: who updates .rela.dyn entries for load_bias compensation?
Date: Tue, 9 May 2006 21:02:34 +0200 [thread overview]
Message-ID: <20060509190234.GA26436@c3po.0xdef.net> (raw)
In-Reply-To: <200605050944.15440.jzb@aexorsyst.com>
* John Z. Bohach | 2006-05-05 09:44:15 [-0700]:
>I'm porting Linux to a new architecture, and ran into an issue with
>the .rela.dyn entries not being adjusted to compensate for the load_bias
>of an ET_DYN shared executable: in particular, this is the ld.so itself that
>doesn't get its .rela.dyn entries incremented by +load_bias. This makes
>references from _GLOBAL_OFFSET_TABLE_ refer to the old compile-time
>vma addresses, which of course causes runtime segfaults (appropriately
>enough) with ld.so.
This is an issue of the link-editor.
HGN
--
A computer is like an Old Testament god, with a lot of rules and
no mercy. - Joseph Campbell
prev parent reply other threads:[~2006-05-09 19:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-05 16:44 John Z. Bohach
2006-05-09 19:02 ` Hagen Paul Pfeifer [this message]
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=20060509190234.GA26436@c3po.0xdef.net \
--to=hagen@jauu.net \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®