/usr/msp430/lib/ldscripts/msp430f2471/memory.x is in msp430mcu 20120406-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | MEMORY {
sfr : ORIGIN = 0x0000, LENGTH = 0x0010 /* END=0x0010, size 16 */
peripheral_8bit : ORIGIN = 0x0010, LENGTH = 0x00f0 /* END=0x0100, size 240 */
peripheral_16bit : ORIGIN = 0x0100, LENGTH = 0x0100 /* END=0x0200, size 256 */
ram_mirror (wx) : ORIGIN = 0x0200, LENGTH = 0x0800 /* END=0x0a00, size 2K */
infomem : ORIGIN = 0x1000, LENGTH = 0x0100 /* END=0x1100, size 256 as 4 64-byte segments */
infod : ORIGIN = 0x1000, LENGTH = 0x0040 /* END=0x1040, size 64 */
infoc : ORIGIN = 0x1040, LENGTH = 0x0040 /* END=0x1080, size 64 */
infob : ORIGIN = 0x1080, LENGTH = 0x0040 /* END=0x10c0, size 64 */
infoa : ORIGIN = 0x10c0, LENGTH = 0x0040 /* END=0x1100, size 64 */
ram (wx) : ORIGIN = 0x1100, LENGTH = 0x1000 /* END=0x2100, size 4K */
rom (rx) : ORIGIN = 0x8000, LENGTH = 0x7fbe /* END=0xffbe, size 32702 */
vectors : ORIGIN = 0xffc0, LENGTH = 0x0040 /* END=0x10000, size 64 as 32 2-byte segments */
/* Remaining banks are absent */
bsl : ORIGIN = 0x0000, LENGTH = 0x0000
ram2 (wx) : ORIGIN = 0x0000, LENGTH = 0x0000
usbram (wx) : ORIGIN = 0x0000, LENGTH = 0x0000
far_rom : ORIGIN = 0x00000000, LENGTH = 0x00000000
}
REGION_ALIAS("REGION_TEXT", rom);
REGION_ALIAS("REGION_DATA", ram);
REGION_ALIAS("REGION_FAR_ROM", far_rom);
PROVIDE (__info_segment_size = 0x40);
PROVIDE (__infod = 0x1000);
PROVIDE (__infoc = 0x1040);
PROVIDE (__infob = 0x1080);
PROVIDE (__infoa = 0x10c0);
|