This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
ld exclusion of *default* memory address mapping
- From: Jon Grant <jg at jguk dot org>
- To: binutils at sourceware dot org
- Date: Tue, 19 Apr 2011 13:55:01 +0100
- Subject: ld exclusion of *default* memory address mapping
Hello
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.
Read through the man page, but have not spotted an option to disable
this *default* address mapping. If anyone could point me to the
documentation of the option I should use that would be appreciated.
Please keep my email address included i any replies as I am not on
this list. Thank you for any help.
Best regards, Jon
map file quote
=============
Name Origin Length Attributes
rom 0x00000000 0x00400000 xr
ram 0x10000000 0x00100000 xrw
*default* 0x00000000 0xffffffff
=============
quote from my ld script
=================
MEMORY
{
rom (rx) : org = 0x00000000, len = 4M
ram (rwx) : org = 0x10000000, len = 1M
}
==================