From: "H. Peter Anvin" <hpa@zytor.com>
To: Andreas Schwab <schwab@suse.de>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: Base address of executables - weirdness?
Date: Tue, 06 Jun 2006 14:21:57 -0700 [thread overview]
Message-ID: <4485F1F5.7070506@zytor.com> (raw)
In-Reply-To: <jeirne56kn.fsf@sykes.suse.de>
Andreas Schwab wrote:
> "H. Peter Anvin" <hpa@zytor.com> writes:
>
>> 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.
>
> You are probably using the wrong linker emulation. There are three
> emulations enabled when building binutils for ppc-linux, but only the
> elf32ppclinux emulation it the right one that uses 0x10000000 for the base
> address.
>
Hm. Well, it's using the default one, but perhaps I should try to specify an explicit -m
option. Sure enough, that did the trick.
THANKS!
-hpa
prev parent reply other threads:[~2006-06-06 21:22 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
2006-06-06 18:21 ` H. Peter Anvin
2006-06-06 21:15 ` Andreas Schwab
2006-06-06 21:21 ` H. Peter Anvin [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=4485F1F5.7070506@zytor.com \
--to=hpa@zytor.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=schwab@suse.de \
/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.