From: linas@austin.ibm.com (Linas Vepstas)
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: Base address of executables - weirdness?
Date: Tue, 6 Jun 2006 12:33:43 -0500 [thread overview]
Message-ID: <20060606173343.GE9294@austin.ibm.com> (raw)
In-Reply-To: <4485A279.4050403@zytor.com>
On Tue, Jun 06, 2006 at 08:42:49AM -0700, H. Peter Anvin wrote:
> I'm trying to track down an odd issue with klibc on ppc32.
>
> Until recently, binaries linked with ld defaulted to a base address of
> 0x10000000+SIZEOF_HEADERS. However, recently I've gotten a couple of
> reports -- and I've been able to confirm this on my FC5 system -- that
> some versions of ld links at 0x01800000+SIZEOF_HEADERS. Needless to
> say, this is more than a bit confusing, *especially* since "ld -verbose"
> still reports:
>
> PROVIDE (__executable_start = 0x10000000); . = 0x10000000 +
> SIZEOF_HEADERS;
>
> ... at the top of the linker script.
>
> I'm rather baffled. Has anyone else seen this, and/or have any other
> explanation?
Googling "0x01800000 linux ppc" brings up some interesting but old hits.
However, I swear I saw someone suggest a patch last week that changed
0x10000000 to 0x01800000 somewhere, (vmlinux.lds ??) as a proposed cure
for a bug. Sorry, I deleted it.
--linas
next prev parent reply other threads:[~2006-06-06 19:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-06 15:42 Base address of executables - weirdness? H. Peter Anvin
2006-06-06 17:33 ` Linas Vepstas [this message]
2006-06-06 18:21 ` H. Peter Anvin
2006-06-06 21:15 ` Andreas Schwab
2006-06-06 21:21 ` H. Peter Anvin
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=20060606173343.GE9294@austin.ibm.com \
--to=linas@austin.ibm.com \
--cc=hpa@zytor.com \
--cc=linuxppc-dev@ozlabs.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.