summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/h8300/h8sim/startup/linkcmds
diff options
context:
space:
mode:
authorAun-Ali Zaidi <admin@kodeit.net>2015-12-13 18:47:53 -0600
committerGedare Bloom <gedare@rtems.org>2015-12-13 22:02:57 -0500
commit357fdfc2466f53a35d9821776d56fa236349a489 (patch)
tree58dca7cda8ea4f4d5d4652f41a44bd0dbd9ce1a2 /c/src/lib/libbsp/h8300/h8sim/startup/linkcmds
parentarm/gp32: Remove (diff)
downloadrtems-357fdfc2466f53a35d9821776d56fa236349a489.tar.bz2
h8300/h8sim: Remove
updates #2453.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/h8300/h8sim/startup/linkcmds123
1 files changed, 0 insertions, 123 deletions
diff --git a/c/src/lib/libbsp/h8300/h8sim/startup/linkcmds b/c/src/lib/libbsp/h8300/h8sim/startup/linkcmds
deleted file mode 100644
index 0534e05977..0000000000
--- a/c/src/lib/libbsp/h8300/h8sim/startup/linkcmds
+++ /dev/null
@@ -1,123 +0,0 @@
-/*
- * Declare some sizes.
- */
-_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
-_RamSize = DEFINED(_RamSize) ? _RamSize : 16M;
-_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
-_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
-
-ENTRY("_start")
-/* The memory size is 16M to coincide with the simulator.
- Don't change either without considering the other. */
-MEMORY
-{
- /* 0xc4 is a magic entry. We should have the linker just
- skip over it one day... */
- vectors : o = 0x0000, l = 0xc4
- magicvectors : o = 0xc4, l = 0x3c
- /* We still only use 256k as the main ram size. */
- ram : o = 0x0100, l = 0xfffefc /* 16MB RAM --> 0x3fefc */
- /* The stack starts at the top of main ram. */
- topram : o = 0xfffffc, l = 0x4 /* 256K RAM --> 0x3fffc */
- /* This holds variables in the "tiny" sections. */
- tiny : o = 0xff8000, l = 0x7f00
- /* At the very top of the address space is the 8-bit area. */
- eight : o = 0xffff00, l = 0x100
-}
-
-
-SECTIONS
-{
- .vectors :
- {
- *(.vectors)
- } > vectors
-
- .text :
- {
- *(.text*)
- *(.gnu.linkonce.t*)
- KEEP (*(.init))
- KEEP (*(.fini))
-
- /*
- * Special FreeBSD sysctl sections.
- */
- . = ALIGN (16);
- ___start_set_sysctl_set = .;
- *(set_sys*); /* sysctl set */
- ___stop_set_sysctl_set = ABSOLUTE(.);
- *(set_dom*); /* domain set */
- *(set_pse*);
-
- /*
- * Read-only data
- */
- . = ALIGN (16);
- PROVIDE(_rodata_start = . );
- *(.rodata*)
- KEEP (*(SORT(.rtemsroset.*)))
- *(.gnu.linkonce.r*)
- PROVIDE(_erodata = . );
-
- _etext = .;
- } >ram
- .tdata SIZEOF(.text) + ADDR(.text): {
- __TLS_Data_begin = .;
- *(.tdata .tdata.* .gnu.linkonce.td.*)
- __TLS_Data_end = .;
- } >ram
- .tbss SIZEOF(.tdata) + ADDR(.tdata): {
- __TLS_BSS_begin = .;
- *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon)
- __TLS_BSS_end = .;
- } >ram
- __TLS_Data_size = __TLS_Data_end - __TLS_Data_begin;
- __TLS_Data_begin = __TLS_Data_size != 0 ? __TLS_Data_begin : __TLS_BSS_begin;
- __TLS_Data_end = __TLS_Data_size != 0 ? __TLS_Data_end : __TLS_BSS_begin;
- __TLS_BSS_size = __TLS_BSS_end - __TLS_BSS_begin;
- __TLS_Size = __TLS_BSS_end - __TLS_Data_begin;
- __TLS_Alignment = MAX (ALIGNOF (.tdata), ALIGNOF (.tbss));
- .tors SIZEOF(.tbss) + ADDR(.tbss): {
- ___ctors = . ;
- *(.ctors)
- ___ctors_end = . ;
- ___dtors = . ;
- *(.dtors)
- ___dtors_end = . ;
- } >ram
- .data SIZEOF(.tors) + ADDR(.tors):
- {
- *(.data*)
- KEEP (*(SORT(.rtemsrwset.*)))
- *(.gcc_exc*)
- CONSTRUCTORS
- _edata = .;
- } >ram
- .bss SIZEOF(.data) + ADDR(.data):
- {
- _bss_start = .;
- *(.bss* .gnu.linkonce.b.*)
- *(COMMON)
- . = ALIGN (64);
- . += _StackSize;
- _stack_init = .;
- _clear_end = .;
- _WorkAreaBase = .;
- _end = .;
- __end = .;
- } >ram
- .tiny : {
- *(.tiny)
- } > tiny
- .eight : {
- *(.eight)
- } > eight
- .stab 0 (NOLOAD) : {
- [ .stab ]
- }
- .stabstr 0 (NOLOAD) : {
- [ .stabstr ]
- }
-
-}