]> rtime.felk.cvut.cz Git - sysless.git/commitdiff
ld scripts moved to arch subdirectory.
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 26 Mar 2008 18:00:42 +0000 (19:00 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 26 Mar 2008 18:09:16 +0000 (19:09 +0100)
For processors without external bus it has no sense to have different
linker scripts for each board. If there is something really special with
the board, it is no problem to add another linker script to board's
directory.

19 files changed:
arch/arm/mach-lpc21xx/libs/Makefile.omk
arch/arm/mach-lpc21xx/libs/ldscripts/Makefile [moved from board/lpceurobot/libs/ldscripts/Makefile with 100% similarity]
arch/arm/mach-lpc21xx/libs/ldscripts/Makefile.omk [moved from board/lpceurobot/libs/ldscripts/Makefile.omk with 100% similarity]
arch/arm/mach-lpc21xx/libs/ldscripts/lpc21xx.ld-canld [moved from board/lpceurobot/libs/ldscripts/lpc21xx.ld-canld with 100% similarity]
arch/arm/mach-lpc21xx/libs/ldscripts/lpc21xx.ld-flash [moved from board/lpceurobot/libs/ldscripts/lpc21xx.ld-flash with 100% similarity]
arch/arm/mach-lpc21xx/libs/ldscripts/lpc21xx.ld-mpflash [moved from board/lpceurobot/libs/ldscripts/lpc21xx.ld-mpflash with 100% similarity]
arch/arm/mach-lpc21xx/libs/ldscripts/lpc21xx.ld-mpram [moved from board/lpceurobot/libs/ldscripts/lpc21xx.ld-mpram with 100% similarity]
arch/arm/mach-lpc21xx/libs/ldscripts/lpc21xx.ld-ram [moved from board/lpceurobot/libs/ldscripts/lpc21xx.ld-ram with 100% similarity]
arch/arm/mach-lpc21xx/libs/ldscripts/lpc21xx.ld-ramisp [moved from board/lpceurobot/libs/ldscripts/lpc21xx.ld-ramisp with 100% similarity]
board/lpceurobot/libs/Makefile.omk
board/spejblarm/libs/Makefile.omk
board/spejblarm/libs/ldscripts/Makefile [deleted file]
board/spejblarm/libs/ldscripts/Makefile.omk [deleted file]
board/spejblarm/libs/ldscripts/lpc21xx.ld-canld [deleted file]
board/spejblarm/libs/ldscripts/lpc21xx.ld-flash [deleted file]
board/spejblarm/libs/ldscripts/lpc21xx.ld-mpflash [deleted file]
board/spejblarm/libs/ldscripts/lpc21xx.ld-mpram [deleted file]
board/spejblarm/libs/ldscripts/lpc21xx.ld-ram [deleted file]
board/spejblarm/libs/ldscripts/lpc21xx.ld-ramisp [deleted file]

index 87bd3a3f0ff6218a130951caee5d08cd1a022bcc..14ee4738b64a59ada1ec56a43b7ff80f4a1c0891 100644 (file)
@@ -1,3 +1,3 @@
 # -*- makefile -*-
 
-SUBDIRS = boot can uart_zen
+SUBDIRS = boot can uart_zen ldscripts
index 192bf051ee3ebf5ffd2efeb6ca5e40dbb3d04861..810c67a7397647ab016f73137095a11549711ea8 100644 (file)
@@ -1,3 +1,3 @@
 # -*- makefile -*-
 
-SUBDIRS = ldscripts
+SUBDIRS = 
index 192bf051ee3ebf5ffd2efeb6ca5e40dbb3d04861..810c67a7397647ab016f73137095a11549711ea8 100644 (file)
@@ -1,3 +1,3 @@
 # -*- makefile -*-
 
-SUBDIRS = ldscripts
+SUBDIRS = 
diff --git a/board/spejblarm/libs/ldscripts/Makefile b/board/spejblarm/libs/ldscripts/Makefile
deleted file mode 100644 (file)
index f595272..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-# Generic directory or leaf node makefile for OCERA make framework
-
-ifndef MAKERULES_DIR
-MAKERULES_DIR := $(shell ( old_pwd="" ;  while [ ! -e Makefile.rules ] ; do if [ "$$old_pwd" == `pwd`  ] ; then exit 1 ; else old_pwd=`pwd` ; cd -L .. 2>/dev/null ; fi ; done ; pwd ) )
-endif
-
-ifeq ($(MAKERULES_DIR),)
-all : default
-.DEFAULT::
-       @echo -e "\nThe Makefile.rules has not been found in this or partent directory\n"
-else   
-include $(MAKERULES_DIR)/Makefile.rules
-endif
-
diff --git a/board/spejblarm/libs/ldscripts/Makefile.omk b/board/spejblarm/libs/ldscripts/Makefile.omk
deleted file mode 100644 (file)
index e47cf33..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-# -*- makefile -*-
-
-lib_LDSCRIPTS = $(notdir $(wildcard $(SOURCES_DIR)/*.ld*))
diff --git a/board/spejblarm/libs/ldscripts/lpc21xx.ld-canld b/board/spejblarm/libs/ldscripts/lpc21xx.ld-canld
deleted file mode 100644 (file)
index 08bf7c4..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-/***********************************************************************/\r
-/*  This file is part of the ARM Compiler package                      */\r
-/*  Copyright KEIL ELEKTRONIK GmbH 1992-2004                           */\r
-/***********************************************************************/\r
-/*                                                                     */\r
-/*  TARGET.LD:  Linker Script File                                     */\r
-/*                                                                     */\r
-/***********************************************************************/\r
-\r
-\r
-/*\r
-//*** <<< Use Configuration Wizard in Context Menu >>> *** \r
-*/\r
-\r
-\r
-/*\r
-// <h> Memory Configuration\r
-//   <h> Code (Read Only)\r
-//     <o>  Start <0x0-0xFFFFFFFF>\r
-//     <o1> Size  <0x0-0xFFFFFFFF>\r
-//   </h>\r
-//   <h> Data (Read/Write)\r
-//     <o2> Start <0x0-0xFFFFFFFF>\r
-//     <o3> Size  <0x0-0xFFFFFFFF>\r
-//   </h>\r
-// </h>\r
-*/\r
-\r
-/* Memory Definitions */\r
-\r
-MEMORY\r
-{\r
-  CODE (rx) : ORIGIN = 0x00000000, LENGTH = 0x0003E000\r
-  /*DATA (rw) : ORIGIN = 0x40000000, LENGTH = 0x00004000*/\r
-  DATA (rw) : ORIGIN = 0x40000120, LENGTH = 0x00000050\r
-}\r
-\r
-STARTUP(startup.o)\r
-\r
-/* Section Definitions */\r
-\r
-SECTIONS\r
-{\r
-\r
-  /* first section is .text which is used for code */\r
-\r
-  .text :\r
-  {\r
-    *startup.o (.text)         /* Startup code */\r
-    *(.text)                   /* remaining code */\r
-\r
-    *(.glue_7t) *(.glue_7)\r
-\r
-  } >CODE =0\r
-\r
-  . = ALIGN(4);\r
-\r
-  /* .rodata section which is used for read-only data (constants) */\r
-\r
-  .rodata :\r
-  {\r
-    *(.rodata)\r
-  } >CODE\r
-\r
-  . = ALIGN(4);\r
-\r
-  _etext = . ;\r
-  PROVIDE (etext = .);\r
-\r
-  /* .data section which is used for initialized data */\r
-\r
-  .data : AT (_etext)\r
-  {\r
-    _data = . ;\r
-    /* *!*!*!* */\r
-    PROVIDE (canload_id = .);\r
-    . += 4;\r
-    /* *!*!*!* */\r
-    *(.data)\r
-    SORT(CONSTRUCTORS)\r
-  } >DATA\r
-  . = ALIGN(4);\r
-\r
-  _edata = . ;\r
-   PROVIDE (edata = .);\r
-\r
-  /* .bss section which is used for uninitialized data */\r
-\r
-  .bss :\r
-  {\r
-    __bss_start = . ;\r
-    __bss_start__ = . ;\r
-    *(.bss)\r
-    *(COMMON)\r
-  } >DATA\r
-  . = ALIGN(4);\r
-  __bss_end__ = . ;\r
-  __bss_end__ = . ;\r
-\r
-  _end = .;\r
-  PROVIDE (end = .);\r
-\r
-  /* Stabs debugging sections.  */\r
-  .stab          0 : { *(.stab) }\r
-  .stabstr       0 : { *(.stabstr) }\r
-  .stab.excl     0 : { *(.stab.excl) }\r
-  .stab.exclstr  0 : { *(.stab.exclstr) }\r
-  .stab.index    0 : { *(.stab.index) }\r
-  .stab.indexstr 0 : { *(.stab.indexstr) }\r
-  .comment       0 : { *(.comment) }\r
-  /* DWARF debug sections.\r
-     Symbols in the DWARF debugging sections are relative to the beginning\r
-     of the section so we begin them at 0.  */\r
-  /* DWARF 1 */\r
-  .debug          0 : { *(.debug) }\r
-  .line           0 : { *(.line) }\r
-  /* GNU DWARF 1 extensions */\r
-  .debug_srcinfo  0 : { *(.debug_srcinfo) }\r
-  .debug_sfnames  0 : { *(.debug_sfnames) }\r
-  /* DWARF 1.1 and DWARF 2 */\r
-  .debug_aranges  0 : { *(.debug_aranges) }\r
-  .debug_pubnames 0 : { *(.debug_pubnames) }\r
-  /* DWARF 2 */\r
-  .debug_info     0 : { *(.debug_info .gnu.linkonce.wi.*) }\r
-  .debug_abbrev   0 : { *(.debug_abbrev) }\r
-  .debug_line     0 : { *(.debug_line) }\r
-  .debug_frame    0 : { *(.debug_frame) }\r
-  .debug_str      0 : { *(.debug_str) }\r
-  .debug_loc      0 : { *(.debug_loc) }\r
-  .debug_macinfo  0 : { *(.debug_macinfo) }\r
-  /* SGI/MIPS DWARF 2 extensions */\r
-  .debug_weaknames 0 : { *(.debug_weaknames) }\r
-  .debug_funcnames 0 : { *(.debug_funcnames) }\r
-  .debug_typenames 0 : { *(.debug_typenames) }\r
-  .debug_varnames  0 : { *(.debug_varnames) }\r
-}\r
diff --git a/board/spejblarm/libs/ldscripts/lpc21xx.ld-flash b/board/spejblarm/libs/ldscripts/lpc21xx.ld-flash
deleted file mode 100644 (file)
index 5a06010..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-/***********************************************************************/\r
-/*                                                                     */\r
-/*  ROM.ld:  Linker Script File                                        */\r
-/*                                                                     */\r
-/***********************************************************************/\r
-ENTRY(_boot)\r
-STACK_SIZE = 0x400;\r
-\r
-/* Memory Definitions */\r
-MEMORY\r
-{\r
-  ROM (rx) : ORIGIN = 0x00000000, LENGTH = 0x00020000\r
-  RAM (rw) : ORIGIN = 0x40000000, LENGTH = 0x00010000\r
-}\r
-\r
-/* Section Definitions */\r
-SECTIONS\r
-{\r
-  /* first section is .text which is used for code */\r
-  .text :\r
-  {\r
-    *crt0.o (.text)            /* Startup code */\r
-    *(.text)                   /* remaining code */\r
-    *(.rodata)                 /* read-only data (constants) */\r
-    *(.rodata*)\r
-    *(.glue_7)\r
-    *(.glue_7t)\r
-  } > ROM\r
-\r
-  . = ALIGN(4);\r
-  _etext = . ;\r
-  PROVIDE (etext = .);\r
-\r
-  /* .data section which is used for initialized data */\r
-  .data : AT (_etext)\r
-  {\r
-    _data = .;\r
-    *(.data)\r
-  } > RAM\r
\r
-  . = ALIGN(4);\r
-  _edata = . ;\r
-  PROVIDE (edata = .);\r
-\r
-  /* .bss section which is used for uninitialized data */\r
-  .bss (NOLOAD) :\r
-  {\r
-    __bss_start = . ;\r
-    __bss_start__ = . ;\r
-    *(.bss)\r
-    *(COMMON)\r
-    . = ALIGN(4);\r
-  } > RAM\r
-\r
-  . = ALIGN(4);\r
-  __bss_end__ = . ;\r
-  PROVIDE (__bss_end = .);\r
-\r
-  .stack ALIGN(256) :\r
-  {\r
-    . += STACK_SIZE;\r
-    PROVIDE (_stack = .);\r
-  } > RAM\r
-\r
-  _end = . ;\r
-  PROVIDE (end = .);\r
-\r
-  /* Stabs debugging sections.  */\r
-  .stab          0 : { *(.stab) }\r
-  .stabstr       0 : { *(.stabstr) }\r
-  .stab.excl     0 : { *(.stab.excl) }\r
-  .stab.exclstr  0 : { *(.stab.exclstr) }\r
-  .stab.index    0 : { *(.stab.index) }\r
-  .stab.indexstr 0 : { *(.stab.indexstr) }\r
-  .comment       0 : { *(.comment) }\r
-  /* DWARF debug sections.\r
-     Symbols in the DWARF debugging sections are relative to the beginning\r
-     of the section so we begin them at 0.  */\r
-  /* DWARF 1 */\r
-  .debug          0 : { *(.debug) }\r
-  .line           0 : { *(.line) }\r
-  /* GNU DWARF 1 extensions */\r
-  .debug_srcinfo  0 : { *(.debug_srcinfo) }\r
-  .debug_sfnames  0 : { *(.debug_sfnames) }\r
-  /* DWARF 1.1 and DWARF 2 */\r
-  .debug_aranges  0 : { *(.debug_aranges) }\r
-  .debug_pubnames 0 : { *(.debug_pubnames) }\r
-  /* DWARF 2 */\r
-  .debug_info     0 : { *(.debug_info .gnu.linkonce.wi.*) }\r
-  .debug_abbrev   0 : { *(.debug_abbrev) }\r
-  .debug_line     0 : { *(.debug_line) }\r
-  .debug_frame    0 : { *(.debug_frame) }\r
-  .debug_str      0 : { *(.debug_str) }\r
-  .debug_loc      0 : { *(.debug_loc) }\r
-  .debug_macinfo  0 : { *(.debug_macinfo) }\r
-  /* SGI/MIPS DWARF 2 extensions */\r
-  .debug_weaknames 0 : { *(.debug_weaknames) }\r
-  .debug_funcnames 0 : { *(.debug_funcnames) }\r
-  .debug_typenames 0 : { *(.debug_typenames) }\r
-  .debug_varnames  0 : { *(.debug_varnames) }\r
-}\r
diff --git a/board/spejblarm/libs/ldscripts/lpc21xx.ld-mpflash b/board/spejblarm/libs/ldscripts/lpc21xx.ld-mpflash
deleted file mode 100644 (file)
index c8452cd..0000000
+++ /dev/null
@@ -1,135 +0,0 @@
-/***********************************************************************/\r
-/*  This file is part of the ARM Compiler package                      */\r
-/*  Copyright KEIL ELEKTRONIK GmbH 1992-2004                           */\r
-/***********************************************************************/\r
-/*                                                                     */\r
-/*  TARGET.LD:  Linker Script File                                     */\r
-/*                                                                     */\r
-/***********************************************************************/\r
-\r
-\r
-/*\r
-//*** <<< Use Configuration Wizard in Context Menu >>> *** \r
-*/\r
-\r
-\r
-/*\r
-// <h> Memory Configuration\r
-//   <h> Code (Read Only)\r
-//     <o>  Start <0x0-0xFFFFFFFF>\r
-//     <o1> Size  <0x0-0xFFFFFFFF>\r
-//   </h>\r
-//   <h> Data (Read/Write)\r
-//     <o2> Start <0x0-0xFFFFFFFF>\r
-//     <o3> Size  <0x0-0xFFFFFFFF>\r
-//   </h>\r
-// </h>\r
-*/\r
-\r
-/* Memory Definitions */\r
-\r
-MEMORY\r
-{\r
-  CODE (rx) : ORIGIN = 0x00000000, LENGTH = 0x0003E000\r
-  DATA (rw) : ORIGIN = 0x40000000, LENGTH = 0x00004000\r
-}\r
-\r
-STARTUP(startup.o)\r
-\r
-/* Section Definitions */\r
-\r
-SECTIONS\r
-{\r
-\r
-  /* first section is .text which is used for code */\r
-\r
-  .text :\r
-  {\r
-    *startup.o (.text)         /* Startup code */\r
-    *(.text)                   /* remaining code */\r
-\r
-    *(.glue_7t) *(.glue_7)\r
-\r
-  } >CODE =0\r
-\r
-  . = ALIGN(4);\r
-\r
-  /* .rodata section which is used for read-only data (constants) */\r
-\r
-  .rodata :\r
-  {\r
-    *(.rodata)\r
-  } >CODE\r
-\r
-  . = ALIGN(4);\r
-\r
-  _etext = . ;\r
-  PROVIDE (etext = .);\r
-\r
-  /* .data section which is used for initialized data */\r
-\r
-  .data : AT (_etext)\r
-  {\r
-    _data = . ;\r
-    /* *!*!*!* */\r
-    PROVIDE (canload_id = .);\r
-    . += 4;\r
-    /* *!*!*!* */\r
-    *(.data)\r
-    SORT(CONSTRUCTORS)\r
-  } >DATA\r
-  . = ALIGN(4);\r
-\r
-  _edata = . ;\r
-   PROVIDE (edata = .);\r
-\r
-  /* .bss section which is used for uninitialized data */\r
-\r
-  .bss :\r
-  {\r
-    __bss_start = . ;\r
-    __bss_start__ = . ;\r
-    *(.bss)\r
-    *(COMMON)\r
-  } >DATA\r
-  . = ALIGN(4);\r
-  __bss_end__ = . ;\r
-  __bss_end__ = . ;\r
-\r
-  _end = .;\r
-  PROVIDE (end = .);\r
-\r
-  /* Stabs debugging sections.  */\r
-  .stab          0 : { *(.stab) }\r
-  .stabstr       0 : { *(.stabstr) }\r
-  .stab.excl     0 : { *(.stab.excl) }\r
-  .stab.exclstr  0 : { *(.stab.exclstr) }\r
-  .stab.index    0 : { *(.stab.index) }\r
-  .stab.indexstr 0 : { *(.stab.indexstr) }\r
-  .comment       0 : { *(.comment) }\r
-  /* DWARF debug sections.\r
-     Symbols in the DWARF debugging sections are relative to the beginning\r
-     of the section so we begin them at 0.  */\r
-  /* DWARF 1 */\r
-  .debug          0 : { *(.debug) }\r
-  .line           0 : { *(.line) }\r
-  /* GNU DWARF 1 extensions */\r
-  .debug_srcinfo  0 : { *(.debug_srcinfo) }\r
-  .debug_sfnames  0 : { *(.debug_sfnames) }\r
-  /* DWARF 1.1 and DWARF 2 */\r
-  .debug_aranges  0 : { *(.debug_aranges) }\r
-  .debug_pubnames 0 : { *(.debug_pubnames) }\r
-  /* DWARF 2 */\r
-  .debug_info     0 : { *(.debug_info .gnu.linkonce.wi.*) }\r
-  .debug_abbrev   0 : { *(.debug_abbrev) }\r
-  .debug_line     0 : { *(.debug_line) }\r
-  .debug_frame    0 : { *(.debug_frame) }\r
-  .debug_str      0 : { *(.debug_str) }\r
-  .debug_loc      0 : { *(.debug_loc) }\r
-  .debug_macinfo  0 : { *(.debug_macinfo) }\r
-  /* SGI/MIPS DWARF 2 extensions */\r
-  .debug_weaknames 0 : { *(.debug_weaknames) }\r
-  .debug_funcnames 0 : { *(.debug_funcnames) }\r
-  .debug_typenames 0 : { *(.debug_typenames) }\r
-  .debug_varnames  0 : { *(.debug_varnames) }\r
-}\r
diff --git a/board/spejblarm/libs/ldscripts/lpc21xx.ld-mpram b/board/spejblarm/libs/ldscripts/lpc21xx.ld-mpram
deleted file mode 100644 (file)
index e1bf8c1..0000000
+++ /dev/null
@@ -1,108 +0,0 @@
-/***\r
- * LPC21xx RAM with <0x40000120;0x40000200) hole\r
- * used by ISP or CAN bootloader\r
- ***/\r
-\r
-STARTUP(crt0.o)\r
-ENTRY(_start)\r
-STACK_SIZE = 0x400;\r
-\r
-/* Memory Definitions */\r
-MEMORY\r
-{\r
-  RAML (rw) : ORIGIN = 0x40000000, LENGTH = 0x00000120\r
-  RAMH (rw) : ORIGIN = 0x40000200, LENGTH = 0x00004000\r
-}\r
-\r
-/* Section Definitions */\r
-\r
-SECTIONS\r
-{\r
-  .ivec :\r
-  {\r
-    *(.ivec)                   /* interrupt entry points */\r
-  } > RAML\r
-\r
-  /* first section is .text which is used for code */\r
-  .text :\r
-  {\r
-    *crt0.o (.text)            /* Startup code */\r
-    *(.text)                   /* remaining code */\r
-    *(.rodata)                 /* read-only data (constants) */\r
-    *(.rodata*)\r
-    *(.glue_7)\r
-    *(.glue_7t)\r
-  } > RAMH\r
-\r
-  . = ALIGN(4);\r
-  _etext = . ;\r
-  PROVIDE (etext = .);\r
-\r
-  /* .data section which is used for initialized data */\r
-  .data :\r
-  {\r
-    _data = .;\r
-    *(.data)\r
-  } > RAMH\r
-\r
-  . = ALIGN(4);\r
-  _edata = . ;\r
-  PROVIDE (edata = .);\r
-\r
-  /* .bss section which is used for uninitialized data */\r
-  .bss (NOLOAD) :\r
-  {\r
-    __bss_start = . ;\r
-    __bss_start__ = . ;\r
-    *(.bss)\r
-    *(COMMON)\r
-    . = ALIGN(4);\r
-  } > RAMH\r
-\r
-  . = ALIGN(4);\r
-  __bss_end__ = . ;\r
-  PROVIDE (__bss_end = .);\r
-\r
-  .stack ALIGN(256) :\r
-  {\r
-    . += STACK_SIZE;\r
-    PROVIDE (_stack = .);\r
-  } > RAMH\r
-\r
-  _end = . ;\r
-  PROVIDE (end = .);\r
-\r
-  /* Stabs debugging sections.  */\r
-  .stab          0 : { *(.stab) }\r
-  .stabstr       0 : { *(.stabstr) }\r
-  .stab.excl     0 : { *(.stab.excl) }\r
-  .stab.exclstr  0 : { *(.stab.exclstr) }\r
-  .stab.index    0 : { *(.stab.index) }\r
-  .stab.indexstr 0 : { *(.stab.indexstr) }\r
-  .comment       0 : { *(.comment) }\r
-  /* DWARF debug sections.\r
-     Symbols in the DWARF debugging sections are relative to the beginning\r
-     of the section so we begin them at 0.  */\r
-  /* DWARF 1 */\r
-  .debug          0 : { *(.debug) }\r
-  .line           0 : { *(.line) }\r
-  /* GNU DWARF 1 extensions */\r
-  .debug_srcinfo  0 : { *(.debug_srcinfo) }\r
-  .debug_sfnames  0 : { *(.debug_sfnames) }\r
-  /* DWARF 1.1 and DWARF 2 */\r
-  .debug_aranges  0 : { *(.debug_aranges) }\r
-  .debug_pubnames 0 : { *(.debug_pubnames) }\r
-  /* DWARF 2 */\r
-  .debug_info     0 : { *(.debug_info .gnu.linkonce.wi.*) }\r
-  .debug_abbrev   0 : { *(.debug_abbrev) }\r
-  .debug_line     0 : { *(.debug_line) }\r
-  .debug_frame    0 : { *(.debug_frame) }\r
-  .debug_str      0 : { *(.debug_str) }\r
-  .debug_loc      0 : { *(.debug_loc) }\r
-  .debug_macinfo  0 : { *(.debug_macinfo) }\r
-  /* SGI/MIPS DWARF 2 extensions */\r
-  .debug_weaknames 0 : { *(.debug_weaknames) }\r
-  .debug_funcnames 0 : { *(.debug_funcnames) }\r
-  .debug_typenames 0 : { *(.debug_typenames) }\r
-  .debug_varnames  0 : { *(.debug_varnames) }\r
-}\r
diff --git a/board/spejblarm/libs/ldscripts/lpc21xx.ld-ram b/board/spejblarm/libs/ldscripts/lpc21xx.ld-ram
deleted file mode 100644 (file)
index e1f4224..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-/***********************************************************************/\r
-/*                                                                     */\r
-/*  RAM.ld:  Linker Script File                                        */\r
-/*                                                                     */\r
-/***********************************************************************/\r
-ENTRY(_start)\r
-STACK_SIZE = 0x400;\r
-\r
-/* Memory Definitions */\r
-MEMORY\r
-{\r
-  ROM (rx) : ORIGIN = 0x00000000, LENGTH = 0x00020000\r
-  RAM (rw) : ORIGIN = 0x40000000, LENGTH = 0x00010000\r
-}\r
-\r
-/* Section Definitions */\r
-SECTIONS\r
-{\r
-  /* first section is .text which is used for code */\r
-  .text :\r
-  {\r
-    *crt0.o (.text)            /* Startup code */\r
-    *(.text)                   /* remaining code */\r
-    *(.rodata)                 /* read-only data (constants) */\r
-    *(.rodata*)\r
-    *(.glue_7)\r
-    *(.glue_7t)\r
-  } > RAM\r
-\r
-  . = ALIGN(4);\r
-  _etext = . ;\r
-  PROVIDE (etext = .);\r
-\r
-  /* .data section which is used for initialized data */\r
-  .data :\r
-  {\r
-    _data = .;\r
-    *(.data)\r
-  } > RAM\r
-\r
-  . = ALIGN(4);\r
-  _edata = . ;\r
-  PROVIDE (edata = .);\r
-\r
-  /* .bss section which is used for uninitialized data */\r
-  .bss (NOLOAD) :\r
-  {\r
-    __bss_start = . ;\r
-    __bss_start__ = . ;\r
-    *(.bss)\r
-    *(COMMON)\r
-    . = ALIGN(4);\r
-  } > RAM\r
-\r
-  . = ALIGN(4);\r
-  __bss_end__ = . ;\r
-  PROVIDE (__bss_end = .);\r
-\r
-  .stack ALIGN(256) :\r
-  {\r
-    . += STACK_SIZE;\r
-    PROVIDE (_stack = .);\r
-  } > RAM\r
-\r
-  _end = . ;\r
-  PROVIDE (end = .);\r
-\r
-  /* Stabs debugging sections.  */\r
-  .stab          0 : { *(.stab) }\r
-  .stabstr       0 : { *(.stabstr) }\r
-  .stab.excl     0 : { *(.stab.excl) }\r
-  .stab.exclstr  0 : { *(.stab.exclstr) }\r
-  .stab.index    0 : { *(.stab.index) }\r
-  .stab.indexstr 0 : { *(.stab.indexstr) }\r
-  .comment       0 : { *(.comment) }\r
-  /* DWARF debug sections.\r
-     Symbols in the DWARF debugging sections are relative to the beginning\r
-     of the section so we begin them at 0.  */\r
-  /* DWARF 1 */\r
-  .debug          0 : { *(.debug) }\r
-  .line           0 : { *(.line) }\r
-  /* GNU DWARF 1 extensions */\r
-  .debug_srcinfo  0 : { *(.debug_srcinfo) }\r
-  .debug_sfnames  0 : { *(.debug_sfnames) }\r
-  /* DWARF 1.1 and DWARF 2 */\r
-  .debug_aranges  0 : { *(.debug_aranges) }\r
-  .debug_pubnames 0 : { *(.debug_pubnames) }\r
-  /* DWARF 2 */\r
-  .debug_info     0 : { *(.debug_info .gnu.linkonce.wi.*) }\r
-  .debug_abbrev   0 : { *(.debug_abbrev) }\r
-  .debug_line     0 : { *(.debug_line) }\r
-  .debug_frame    0 : { *(.debug_frame) }\r
-  .debug_str      0 : { *(.debug_str) }\r
-  .debug_loc      0 : { *(.debug_loc) }\r
-  .debug_macinfo  0 : { *(.debug_macinfo) }\r
-  /* SGI/MIPS DWARF 2 extensions */\r
-  .debug_weaknames 0 : { *(.debug_weaknames) }\r
-  .debug_funcnames 0 : { *(.debug_funcnames) }\r
-  .debug_typenames 0 : { *(.debug_typenames) }\r
-  .debug_varnames  0 : { *(.debug_varnames) }\r
-}\r
diff --git a/board/spejblarm/libs/ldscripts/lpc21xx.ld-ramisp b/board/spejblarm/libs/ldscripts/lpc21xx.ld-ramisp
deleted file mode 100644 (file)
index 5a3ea25..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-/***********************************************************************/\r
-/*                                                                     */\r
-/* RAMISP.ld:  Linker Script File - for use with serial line boo loader*/\r
-/*                                                                     */\r
-/***********************************************************************/\r
-ENTRY(_start)\r
-STACK_SIZE = 0x400;\r
-\r
-/* Memory Definitions */\r
-MEMORY\r
-{\r
-  ROM (rx) : ORIGIN = 0x00000000, LENGTH = 0x00020000\r
-  RAMBEG (rw) : ORIGIN = 0x40000000, LENGTH = 0x00000120\r
-  RAMISP (r)  : ORIGIN = 0x40000120, LENGTH = 0x000000E0\r
-  RAMREST (rw) : ORIGIN = 0x40000200, LENGTH = 0x0000FE00\r
-}\r
-\r
-STARTUP(crt0.o)\r
-\r
-/* Section Definitions */\r
-SECTIONS\r
-{\r
-  /* first section is .text which is used for code */\r
-  .text :\r
-  {\r
-    . = ALIGN(4);\r
-/*    LONG( ((ABSOLUTE( _start ) - . - 8) >> 2) + 0xea000000 ) /* B _start */\r
-    *(.text)                   /* remaining code */\r
-    *(.rodata)                 /* read-only data (constants) */\r
-    *(.rodata*)\r
-    *(.glue_7)\r
-    *(.glue_7t)\r
-  } > RAMREST\r
-\r
-  . = ALIGN(4);\r
-  _etext = . ;\r
-  PROVIDE (etext = .);\r
-\r
-  .ivec :\r
-  {\r
-    *(.ivec)                   /* remaining code */\r
-  } > RAMBEG\r
-  \r
-  /* .data section which is used for initialized data */\r
-  .data :\r
-  {\r
-    _data = .;\r
-    *(.data)\r
-  } > RAMREST\r
-\r
-  . = ALIGN(4);\r
-  _edata = . ;\r
-  PROVIDE (edata = .);\r
-\r
-  /* .bss section which is used for uninitialized data */\r
-  .bss (NOLOAD) :\r
-  {\r
-    __bss_start = . ;\r
-    __bss_start__ = . ;\r
-    *(.bss)\r
-    *(COMMON)\r
-    . = ALIGN(4);\r
-  } > RAMREST\r
-\r
-  . = ALIGN(4);\r
-  __bss_end__ = . ;\r
-  PROVIDE (__bss_end = .);\r
-\r
-  .stack ALIGN(256) :\r
-  {\r
-    . += STACK_SIZE;\r
-    PROVIDE (_stack = .);\r
-  } > RAMREST\r
-\r
-  _end = . ;\r
-  PROVIDE (end = .);\r
-\r
-  /* Stabs debugging sections.  */\r
-  .stab          0 : { *(.stab) }\r
-  .stabstr       0 : { *(.stabstr) }\r
-  .stab.excl     0 : { *(.stab.excl) }\r
-  .stab.exclstr  0 : { *(.stab.exclstr) }\r
-  .stab.index    0 : { *(.stab.index) }\r
-  .stab.indexstr 0 : { *(.stab.indexstr) }\r
-  .comment       0 : { *(.comment) }\r
-  /* DWARF debug sections.\r
-     Symbols in the DWARF debugging sections are relative to the beginning\r
-     of the section so we begin them at 0.  */\r
-  /* DWARF 1 */\r
-  .debug          0 : { *(.debug) }\r
-  .line           0 : { *(.line) }\r
-  /* GNU DWARF 1 extensions */\r
-  .debug_srcinfo  0 : { *(.debug_srcinfo) }\r
-  .debug_sfnames  0 : { *(.debug_sfnames) }\r
-  /* DWARF 1.1 and DWARF 2 */\r
-  .debug_aranges  0 : { *(.debug_aranges) }\r
-  .debug_pubnames 0 : { *(.debug_pubnames) }\r
-  /* DWARF 2 */\r
-  .debug_info     0 : { *(.debug_info .gnu.linkonce.wi.*) }\r
-  .debug_abbrev   0 : { *(.debug_abbrev) }\r
-  .debug_line     0 : { *(.debug_line) }\r
-  .debug_frame    0 : { *(.debug_frame) }\r
-  .debug_str      0 : { *(.debug_str) }\r
-  .debug_loc      0 : { *(.debug_loc) }\r
-  .debug_macinfo  0 : { *(.debug_macinfo) }\r
-  /* SGI/MIPS DWARF 2 extensions */\r
-  .debug_weaknames 0 : { *(.debug_weaknames) }\r
-  .debug_funcnames 0 : { *(.debug_funcnames) }\r
-  .debug_typenames 0 : { *(.debug_typenames) }\r
-  .debug_varnames  0 : { *(.debug_varnames) }\r
-}\r