This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ld exclusion of *default* memory address mapping


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]