diff options
author | Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> | 2009-07-17 16:25:10 +0000 |
---|---|---|
committer | Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> | 2009-07-17 16:25:10 +0000 |
commit | 123f10ae252dea3447f2cca8302cd784aeb229ef (patch) | |
tree | 9f4fda9294119f4db21c3cb1f27b9be153de217e /c/src | |
parent | 2009-07-17 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-123f10ae252dea3447f2cca8302cd784aeb229ef.tar.bz2 |
Dummy entries for toolchain compatibility
Diffstat (limited to 'c/src')
5 files changed, 114 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/arm/lpc24xx/ChangeLog b/c/src/lib/libbsp/arm/lpc24xx/ChangeLog index 0c9790246c..a2e329666d 100644 --- a/c/src/lib/libbsp/arm/lpc24xx/ChangeLog +++ b/c/src/lib/libbsp/arm/lpc24xx/ChangeLog @@ -1,3 +1,9 @@ +2009-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de> + + * startup/linkcmds, startup/linkcmds.lpc2478, + startup/linkcmds.lpc2478_ncs, startup/linkcmds.lpc2478_ncs_ram: + Dummy entries for toolchain compatibility. + 2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com> * configure.ac: Rename BSP_BOOTCARD_OPTIONS to diff --git a/c/src/lib/libbsp/arm/lpc24xx/startup/linkcmds b/c/src/lib/libbsp/arm/lpc24xx/startup/linkcmds index f431bce12a..90f96434d0 100644 --- a/c/src/lib/libbsp/arm/lpc24xx/startup/linkcmds +++ b/c/src/lib/libbsp/arm/lpc24xx/startup/linkcmds @@ -4,6 +4,31 @@ * LPC2478 (QVGA Base Board from Embedded Artists). */ +/* + * WARNING: This is likely not what you want. You need Binutils with the + * REGION_ALIAS feature and the version in the comment below. This is only to + * provide linkable tests. + */ + +MEMORY { + REGION_START (AIW) : ORIGIN = 0x10000000, LENGTH = 0x10000000 + REGION_VECTOR (AIW) : ORIGIN = 0x20000000, LENGTH = 0x10000000 + REGION_TEXT (AIW) : ORIGIN = 0x30000000, LENGTH = 0x10000000 + REGION_TEXT_LOAD (AIW) : ORIGIN = 0x40000000, LENGTH = 0x10000000 + REGION_RODATA (AIW) : ORIGIN = 0x50000000, LENGTH = 0x10000000 + REGION_RODATA_LOAD (AIW) : ORIGIN = 0x60000000, LENGTH = 0x10000000 + REGION_DATA (AIW) : ORIGIN = 0x70000000, LENGTH = 0x10000000 + REGION_DATA_LOAD (AIW) : ORIGIN = 0x80000000, LENGTH = 0x10000000 + REGION_FAST (AIW) : ORIGIN = 0x90000000, LENGTH = 0x10000000 + REGION_FAST_LOAD (AIW) : ORIGIN = 0xa0000000, LENGTH = 0x10000000 + REGION_BSS (AIW) : ORIGIN = 0xb0000000, LENGTH = 0x10000000 + REGION_WORK (AIW) : ORIGIN = 0xc0000000, LENGTH = 0x10000000 + REGION_STACK (AIW) : ORIGIN = 0xd0000000, LENGTH = 0x10000000 + NIRVANA : ORIGIN = 0, LENGTH = 0 +} + +/* + MEMORY { RAM_INT (AIW) : ORIGIN = 0x40000000, LENGTH = 64k RAM_EXT (AIW) : ORIGIN = 0xa0000000, LENGTH = 32M @@ -24,4 +49,6 @@ REGION_ALIAS ("REGION_BSS", RAM_EXT); REGION_ALIAS ("REGION_WORK", RAM_EXT); REGION_ALIAS ("REGION_STACK", RAM_INT); +*/ + INCLUDE linkcmds.base diff --git a/c/src/lib/libbsp/arm/lpc24xx/startup/linkcmds.lpc2478 b/c/src/lib/libbsp/arm/lpc24xx/startup/linkcmds.lpc2478 index 622205831c..e6bb81c46d 100644 --- a/c/src/lib/libbsp/arm/lpc24xx/startup/linkcmds.lpc2478 +++ b/c/src/lib/libbsp/arm/lpc24xx/startup/linkcmds.lpc2478 @@ -4,6 +4,31 @@ * LPC2478 (QVGA Base Board from Embedded Artists). */ +/* + * WARNING: This is likely not what you want. You need Binutils with the + * REGION_ALIAS feature and the version in the comment below. This is only to + * provide linkable tests. + */ + +MEMORY { + REGION_START (AIW) : ORIGIN = 0x10000000, LENGTH = 0x10000000 + REGION_VECTOR (AIW) : ORIGIN = 0x20000000, LENGTH = 0x10000000 + REGION_TEXT (AIW) : ORIGIN = 0x30000000, LENGTH = 0x10000000 + REGION_TEXT_LOAD (AIW) : ORIGIN = 0x40000000, LENGTH = 0x10000000 + REGION_RODATA (AIW) : ORIGIN = 0x50000000, LENGTH = 0x10000000 + REGION_RODATA_LOAD (AIW) : ORIGIN = 0x60000000, LENGTH = 0x10000000 + REGION_DATA (AIW) : ORIGIN = 0x70000000, LENGTH = 0x10000000 + REGION_DATA_LOAD (AIW) : ORIGIN = 0x80000000, LENGTH = 0x10000000 + REGION_FAST (AIW) : ORIGIN = 0x90000000, LENGTH = 0x10000000 + REGION_FAST_LOAD (AIW) : ORIGIN = 0xa0000000, LENGTH = 0x10000000 + REGION_BSS (AIW) : ORIGIN = 0xb0000000, LENGTH = 0x10000000 + REGION_WORK (AIW) : ORIGIN = 0xc0000000, LENGTH = 0x10000000 + REGION_STACK (AIW) : ORIGIN = 0xd0000000, LENGTH = 0x10000000 + NIRVANA : ORIGIN = 0, LENGTH = 0 +} + +/* + MEMORY { RAM_INT (AIW) : ORIGIN = 0x40000000, LENGTH = 64k RAM_EXT (AIW) : ORIGIN = 0xa0000000, LENGTH = 32M @@ -25,4 +50,6 @@ REGION_ALIAS ("REGION_BSS", RAM_EXT); REGION_ALIAS ("REGION_WORK", RAM_EXT); REGION_ALIAS ("REGION_STACK", RAM_INT); +*/ + INCLUDE linkcmds.base diff --git a/c/src/lib/libbsp/arm/lpc24xx/startup/linkcmds.lpc2478_ncs b/c/src/lib/libbsp/arm/lpc24xx/startup/linkcmds.lpc2478_ncs index 03d020dd35..8ab87608f9 100644 --- a/c/src/lib/libbsp/arm/lpc24xx/startup/linkcmds.lpc2478_ncs +++ b/c/src/lib/libbsp/arm/lpc24xx/startup/linkcmds.lpc2478_ncs @@ -4,6 +4,31 @@ * LPC2478 (NCS, bootloader configuration). */ +/* + * WARNING: This is likely not what you want. You need Binutils with the + * REGION_ALIAS feature and the version in the comment below. This is only to + * provide linkable tests. + */ + +MEMORY { + REGION_START (AIW) : ORIGIN = 0x10000000, LENGTH = 0x10000000 + REGION_VECTOR (AIW) : ORIGIN = 0x20000000, LENGTH = 0x10000000 + REGION_TEXT (AIW) : ORIGIN = 0x30000000, LENGTH = 0x10000000 + REGION_TEXT_LOAD (AIW) : ORIGIN = 0x40000000, LENGTH = 0x10000000 + REGION_RODATA (AIW) : ORIGIN = 0x50000000, LENGTH = 0x10000000 + REGION_RODATA_LOAD (AIW) : ORIGIN = 0x60000000, LENGTH = 0x10000000 + REGION_DATA (AIW) : ORIGIN = 0x70000000, LENGTH = 0x10000000 + REGION_DATA_LOAD (AIW) : ORIGIN = 0x80000000, LENGTH = 0x10000000 + REGION_FAST (AIW) : ORIGIN = 0x90000000, LENGTH = 0x10000000 + REGION_FAST_LOAD (AIW) : ORIGIN = 0xa0000000, LENGTH = 0x10000000 + REGION_BSS (AIW) : ORIGIN = 0xb0000000, LENGTH = 0x10000000 + REGION_WORK (AIW) : ORIGIN = 0xc0000000, LENGTH = 0x10000000 + REGION_STACK (AIW) : ORIGIN = 0xd0000000, LENGTH = 0x10000000 + NIRVANA : ORIGIN = 0, LENGTH = 0 +} + +/* + MEMORY { RAM_VEC (AIW) : ORIGIN = 0x40000000, LENGTH = 32k RAM_INT (AIW) : ORIGIN = 0x40008000, LENGTH = 32k @@ -26,4 +51,6 @@ REGION_ALIAS ("REGION_BSS", RAM_EXT); REGION_ALIAS ("REGION_WORK", RAM_EXT); REGION_ALIAS ("REGION_STACK", RAM_INT); +*/ + INCLUDE linkcmds.base diff --git a/c/src/lib/libbsp/arm/lpc24xx/startup/linkcmds.lpc2478_ncs_ram b/c/src/lib/libbsp/arm/lpc24xx/startup/linkcmds.lpc2478_ncs_ram index 54d2d2b6b0..6d5d3b3b02 100644 --- a/c/src/lib/libbsp/arm/lpc24xx/startup/linkcmds.lpc2478_ncs_ram +++ b/c/src/lib/libbsp/arm/lpc24xx/startup/linkcmds.lpc2478_ncs_ram @@ -4,6 +4,31 @@ * LPC2478 (NCS, code and data in external RAM). */ +/* + * WARNING: This is likely not what you want. You need Binutils with the + * REGION_ALIAS feature and the version in the comment below. This is only to + * provide linkable tests. + */ + +MEMORY { + REGION_START (AIW) : ORIGIN = 0x10000000, LENGTH = 0x10000000 + REGION_VECTOR (AIW) : ORIGIN = 0x20000000, LENGTH = 0x10000000 + REGION_TEXT (AIW) : ORIGIN = 0x30000000, LENGTH = 0x10000000 + REGION_TEXT_LOAD (AIW) : ORIGIN = 0x40000000, LENGTH = 0x10000000 + REGION_RODATA (AIW) : ORIGIN = 0x50000000, LENGTH = 0x10000000 + REGION_RODATA_LOAD (AIW) : ORIGIN = 0x60000000, LENGTH = 0x10000000 + REGION_DATA (AIW) : ORIGIN = 0x70000000, LENGTH = 0x10000000 + REGION_DATA_LOAD (AIW) : ORIGIN = 0x80000000, LENGTH = 0x10000000 + REGION_FAST (AIW) : ORIGIN = 0x90000000, LENGTH = 0x10000000 + REGION_FAST_LOAD (AIW) : ORIGIN = 0xa0000000, LENGTH = 0x10000000 + REGION_BSS (AIW) : ORIGIN = 0xb0000000, LENGTH = 0x10000000 + REGION_WORK (AIW) : ORIGIN = 0xc0000000, LENGTH = 0x10000000 + REGION_STACK (AIW) : ORIGIN = 0xd0000000, LENGTH = 0x10000000 + NIRVANA : ORIGIN = 0, LENGTH = 0 +} + +/* + MEMORY { RAM_INT (AIW) : ORIGIN = 0x40000000, LENGTH = 64k RAM_EXT (AIW) : ORIGIN = 0xa0000000, LENGTH = 16M @@ -25,4 +50,6 @@ REGION_ALIAS ("REGION_BSS", RAM_EXT); REGION_ALIAS ("REGION_WORK", RAM_EXT); REGION_ALIAS ("REGION_STACK", RAM_INT); +*/ + INCLUDE linkcmds.base |