]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/lubbock/u-boot.lds
Fix all linker script to handle all rodata sections
[karo-tx-uboot.git] / board / lubbock / u-boot.lds
index 280fc48acef3d5888eef35e2bc9d4dd2df646a18..a077bc5d062061e1a28bd1bc0c5f0afc52b99912 100644 (file)
@@ -26,30 +26,31 @@ OUTPUT_ARCH(arm)
 ENTRY(_start)
 SECTIONS
 {
-        . = 0x00000000;
+       . = 0x00000000;
 
-        . = ALIGN(4);
+       . = ALIGN(4);
        .text      :
        {
-         cpu/xscale/start.o    (.text)
+         cpu/pxa/start.o       (.text)
          *(.text)
        }
 
-        . = ALIGN(4);
-        .rodata : { *(.rodata) }
+       . = ALIGN(4);
+       .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
 
-        . = ALIGN(4);
-        .data : { *(.data) }
+       . = ALIGN(4);
+       .data : { *(.data) }
 
-        . = ALIGN(4);
-        .got : { *(.got) }
+       . = ALIGN(4);
+       .got : { *(.got) }
 
-       armboot_end_data = .;
+       . = .;
+       __u_boot_cmd_start = .;
+       .u_boot_cmd : { *(.u_boot_cmd) }
+       __u_boot_cmd_end = .;
 
-        . = ALIGN(4);
-       bss_start = .;
-        .bss : { *(.bss) }
-       bss_end = .;
-
-       armboot_end = .;
+       . = ALIGN(4);
+       __bss_start = .;
+       .bss (NOLOAD) : { *(.bss) . = ALIGN(4); }
+       _end = .;
 }