mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-11 01:53:13 +00:00
2004-03-03 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Add more memory and sections so tests can link. This is a generic BSP for a CPU model so OK to do this.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2004-03-03 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
* startup/linkcmds: Add more memory and sections so tests can link.
|
||||||
|
This is a generic BSP for a CPU model so OK to do this.
|
||||||
|
|
||||||
2004-02-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2004-02-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* Makefile.am: Reflect changes to bsp.am.
|
* Makefile.am: Reflect changes to bsp.am.
|
||||||
|
|||||||
@@ -3,8 +3,73 @@ OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm",
|
|||||||
OUTPUT_ARCH(arm)
|
OUTPUT_ARCH(arm)
|
||||||
ENTRY(_start)
|
ENTRY(_start)
|
||||||
MEMORY {
|
MEMORY {
|
||||||
|
/* Settings as submitted which won't match an arbitrary user board
|
||||||
|
and are not enough to link every test case so changed to link all tests.
|
||||||
FLASH (rx) : ORIGIN = 0x200000, LENGTH = 512K
|
FLASH (rx) : ORIGIN = 0x200000, LENGTH = 512K
|
||||||
RAM (!rx) : ORIGIN = 0x400000, LENGTH = 128K
|
RAM (!rx) : ORIGIN = 0x400000, LENGTH = 128K
|
||||||
|
*/
|
||||||
|
FLASH (rx) : ORIGIN = 0x200000, LENGTH = 1024K
|
||||||
|
RAM (!rx) : ORIGIN = 0x600000, LENGTH = 128K
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Do we need any of these for elf?
|
||||||
|
__DYNAMIC = 0; */
|
||||||
|
SECTIONS
|
||||||
|
{
|
||||||
|
/* Read-only sections, merged into text segment: */
|
||||||
|
/* . = 0 + SIZEOF_HEADERS;*/
|
||||||
|
.hash : { *(.hash) } > FLASH
|
||||||
|
.dynsym : { *(.dynsym) } > FLASH
|
||||||
|
.dynstr : { *(.dynstr) } > FLASH
|
||||||
|
.gnu.version : { *(.gnu.version) } > FLASH
|
||||||
|
.gnu.version_d : { *(.gnu.version_d) } > FLASH
|
||||||
|
.gnu.version_r : { *(.gnu.version_r) } > FLASH
|
||||||
|
.rel.init : { *(.rel.init) } > FLASH
|
||||||
|
.rela.init : { *(.rela.init) } > FLASH
|
||||||
|
.rel.text :
|
||||||
|
{
|
||||||
|
*(.rel.text)
|
||||||
|
*(.rel.text.*)
|
||||||
|
*(.rel.gnu.linkonce.t*)
|
||||||
|
} > FLASH
|
||||||
|
.rela.text :
|
||||||
|
{
|
||||||
|
*(.rela.text)
|
||||||
|
*(.rela.text.*)
|
||||||
|
*(.rela.gnu.linkonce.t*)
|
||||||
|
} > FLASH
|
||||||
|
.rel.fini : { *(.rel.fini) } > FLASH
|
||||||
|
.rela.fini : { *(.rela.fini) } > FLASH
|
||||||
|
.rel.rodata :
|
||||||
|
{
|
||||||
|
*(.rel.rodata)
|
||||||
|
*(.rel.rodata.*)
|
||||||
|
*(.rel.gnu.linkonce.r*)
|
||||||
|
} > FLASH
|
||||||
|
.rela.rodata :
|
||||||
|
{
|
||||||
|
*(.rela.rodata)
|
||||||
|
*(.rela.rodata.*)
|
||||||
|
*(.rela.gnu.linkonce.r*)
|
||||||
|
} > FLASH
|
||||||
|
.rel.data :
|
||||||
|
{
|
||||||
|
*(.rel.data)
|
||||||
|
*(.rel.data.*)
|
||||||
|
*(.rel.gnu.linkonce.d*)
|
||||||
|
} > FLASH
|
||||||
|
.rela.data :
|
||||||
|
{
|
||||||
|
*(.rela.data)
|
||||||
|
*(.rela.data.*)
|
||||||
|
*(.rela.gnu.linkonce.d*)
|
||||||
|
} > FLASH
|
||||||
|
.rel.ctors : { *(.rel.ctors) } > FLASH
|
||||||
|
.rela.ctors : { *(.rela.ctors) } > FLASH
|
||||||
|
.rel.dtors : { *(.rel.dtors) } > FLASH
|
||||||
|
.rela.dtors : { *(.rela.dtors) } > FLASH
|
||||||
|
.rel.got : { *(.rel.got) } > FLASH
|
||||||
|
.rela.got : { *(.rela.got) } > FLASH
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Do we need any of these for elf?
|
/* Do we need any of these for elf?
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
2004-03-03 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
|
* startup/linkcmds: Add more memory and sections so tests can link.
|
||||||
|
This is a generic BSP for a CPU model so OK to do this.
|
||||||
|
|
||||||
2004-02-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2004-02-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* Makefile.am: Reflect changes to bsp.am.
|
* Makefile.am: Reflect changes to bsp.am.
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ MEMORY
|
|||||||
{
|
{
|
||||||
rom : o = 0x00000000, l = 128k
|
rom : o = 0x00000000, l = 128k
|
||||||
onchip_peri : o = 0x05000000, l = 512
|
onchip_peri : o = 0x05000000, l = 512
|
||||||
ram : o = 0x0A040000, l = 256k
|
ram : o = 0x0A040000, l = 512k /* enough to link all tests */
|
||||||
|
|
||||||
onchip_ram : o = 0x0f000000, l = 8k
|
onchip_ram : o = 0x0f000000, l = 8k
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user