This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: ld exclusion of *default* memory address mapping
- From: Jon Grant <jg at jguk dot org>
- To: binutils at sourceware dot org
- Date: Mon, 20 Jun 2011 12:16:41 +0100
- Subject: Re: ld exclusion of *default* memory address mapping
- References: <BANLkTin-zPc74CGByXpo0JhPGLmrnxV3GA@mail.gmail.com> <20110428060445.GJ19947@bubble.grove.modra.org>
Hello Alan
On 28 April 2011 07:04, Alan Modra <amodra@gmail.com> wrote:
> On Tue, Apr 19, 2011 at 01:55:01PM +0100, Jon Grant wrote:
>> I am using a build of ld, v2.20. I would like to exclude the *default*
>> catch all memory address visible in the map file quote below.
>
> If you specify some memory regions, GNU ld will give an error (or
> warning if --no-check-sections) if an output section without an
> address is assigned to the default region. ÂIf you specify an address
> (see ld info Output Section Description) it's assumed you know what
> you're doing. ÂSo I'm wondering why you want anything more than this?
I was kind of expecting "*default* 0x00000000
0xffffffff" to not be visible in the map file when I was specifying my
own mapping.
Not sure why still included, perhaps could be included if there was
some default mapping performed (and that was just a warning rather
than error)
Best regards, Jon