ld exclusion of *default* memory address mapping

Jon Grant jg@jguk.org
Mon Jun 20 11:17:00 GMT 2011


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



More information about the Binutils mailing list