]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - embedded/board/arm/ul_usb1/libs/ldscripts/lpc2148.ld-boot
Update of system-less architecture and board support code to actual uLAN.sf.net version.
[lincan.git] / embedded / board / arm / ul_usb1 / libs / ldscripts / lpc2148.ld-boot
index de00d812844a31a0c1bfee9579e4ad20817d7a52..4e57c840c75f3a57dcc00ed7dd4cd7f2a14d3b2c 100644 (file)
@@ -16,16 +16,24 @@ SECTIONS
 {
 
   /* first section is .text which is used for code */
+  .ivt :
+  {
+    . = ALIGN(4);
+    KEEP( *(.ivt) )
+  } > FLASHBOOT
+
   .text :
   {
     . = ALIGN(4);
-    *(.ivt)
-    *(.text)                   /* remaining code */
-    *(.rodata)                 /* read-only data (constants) */
+    *(.text .stub .text.* .gnu.linkonce.t.*)   /* code */
+    *(.rodata .rodata.* .gnu.linkonce.r.*)     /* read-only data */
     *(.rodata*)
-    *(.glue_7)
     *(.glue_7t)
-    _etext = ALIGN( 4 ) ;
+    *(.glue_7)
+    *(.vfp11_veneer)
+    *(.v4_bx)
+    . = ALIGN( 4 ) ;
+    _etext = . ;
   } > FLASHBOOT
 
   .app :
@@ -46,8 +54,9 @@ SECTIONS
   {
     . = ALIGN(4);
     _data = .;
-    *(.data)
-    _edata = ALIGN( 4 ) ;
+    *(.data .data.* .gnu.linkonce.d.*)
+    . = ALIGN( 4 ) ;
+    _edata = . ;
   } > RAM
  
   /* .bss section which is used for uninitialized data */
@@ -56,11 +65,12 @@ SECTIONS
     . = ALIGN(4);
     __bss_start = . ;
     __bss_start__ = . ;
-    *(.bss)
+    *(.bss .bss.*)
     *(COMMON)
-    __bss_end__ = ALIGN( 4 ) ;
-    end = ALIGN( 4 ) ;
-    _end = ALIGN( 4 ) ;
+    . = ALIGN( 4 ) ;
+    __bss_end__ = . ;
+    end = . ;
+    _end = . ;
   } > RAM
 
   .stack :