aboutsummaryrefslogtreecommitdiffstats
path: root/demos/PPC-SPC563-GCC/ch.ld
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-09-13 12:45:07 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-09-13 12:45:07 +0000
commit037baacda71b6838fbe292404cace11e5270248f (patch)
tree0b100e64512f7cd871d4b8096369bc1c3454ac4c /demos/PPC-SPC563-GCC/ch.ld
parent1c75f310cceeb1fbb5e9a801211e562953f46701 (diff)
downloadChibiOS-037baacda71b6838fbe292404cace11e5270248f.tar.gz
ChibiOS-037baacda71b6838fbe292404cace11e5270248f.tar.bz2
ChibiOS-037baacda71b6838fbe292404cace11e5270248f.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4649 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/PPC-SPC563-GCC/ch.ld')
-rw-r--r--demos/PPC-SPC563-GCC/ch.ld112
1 files changed, 0 insertions, 112 deletions
diff --git a/demos/PPC-SPC563-GCC/ch.ld b/demos/PPC-SPC563-GCC/ch.ld
deleted file mode 100644
index 72c7dddbe..000000000
--- a/demos/PPC-SPC563-GCC/ch.ld
+++ /dev/null
@@ -1,112 +0,0 @@
-/*
- ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010,
- 2011,2012 Giovanni Di Sirio.
-
- This file is part of ChibiOS/RT.
-
- ChibiOS/RT is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- ChibiOS/RT is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-/*
- * SPC563M64 memory setup.
- */
-__irq_stack_size__ = 0x0400;
-__process_stack_size__ = 0x0800;
-__stacks_total_size__ = __irq_stack_size__ + __process_stack_size__;
-
-MEMORY
-{
- flash : org = 0x00000000, len = 1536k
- ram : org = 0x40000000, len = 94k
-}
-
-/*
- * Derived constants.
- */
-__flash_size__ = LENGTH(flash);
-__flash_start__ = ORIGIN(flash);
-__flash_end__ = ORIGIN(flash) + LENGTH(flash);
-
-__ram_size__ = LENGTH(ram);
-__ram_start__ = ORIGIN(ram);
-__ram_end__ = ORIGIN(ram) + LENGTH(ram);
-
-SECTIONS
-{
- . = ORIGIN(flash);
-
- .text : ALIGN(16) SUBALIGN(16)
- {
- __ivpr_base__ = .;
- KEEP(*(.bam))
- KEEP(*(.handlers))
- . = ALIGN(0x800);
- KEEP(*(.vectors))
- *(.text .stub .text.* .gnu.linkonce.t.*)
- *(.glue_7t);
- *(.glue_7);
- *(.ctors);
- *(.dtors);
- } > flash
-
- .rodata : ALIGN(16) SUBALIGN(16)
- {
- *(.rodata .rodata.* .gnu.linkonce.r.*)
- *(.rodata1)
- } > flash
-
- .sdata2 : ALIGN(16) SUBALIGN(16)
- {
- __sdata2_start__ = . + 0x8000;
- *(.sdata2 .sdata2.* .gnu.linkonce.s2.*)
- *(.sbss2 .sbss2.* .gnu.linkonce.sb2.*)
- } > flash
-
- .romdata : ALIGN(16) SUBALIGN(16)
- {
- __romdata_start__ = .;
- } > flash
-
- .data : AT(__romdata_start__)
- {
- . = ALIGN(4);
- __data_start__ = .;
- *(.data .data.* .gnu.linkonce.d.*)
- __sdata_start__ = . + 0x8000;
- *(.sdata .sdata.* .gnu.linkonce.s.*)
- __data_end__ = .;
- } > ram
-
- .sbss :
- {
- __bss_start__ = .;
- *(.sbss .sbss.* .gnu.linkonce.sb.*)
- *(.scommon)
- } > ram
-
- .bss :
- {
- *(.bss .bss.* .gnu.linkonce.b.*)
- *(COMMON)
- __bss_end__ = .;
- } > ram
-
- /DISCARD/ :
- {
- *(.eh_*)
- }
-
- __heap_base__ = __bss_end__;
- __heap_end__ = __ram_end__ - __stacks_total_size__;
-}