]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/gaisler/grsim_leon2/u-boot.lds
Merge branch 'u-boot-imx/master' into 'u-boot-arm/master'
[karo-tx-uboot.git] / board / gaisler / grsim_leon2 / u-boot.lds
index b3462d463e55a1077340ca4001254cc6c410c0bb..e57f73412170ef2e3140b625e72ff3d492c6a10e 100644 (file)
@@ -59,7 +59,7 @@ SECTIONS
                _text = .;
 
                *(.start)
-               cpu/leon2/start.o (.text)
+               arch/sparc/cpu/leon2/start.o (.text)
 /* 8k is the same as the PROM offset from end of main memory, (CONFIG_SYS_PROM_SIZE) */
                . = ALIGN(8192);
 /* PROM CODE, Will be relocated to the end of memory,
@@ -76,20 +76,19 @@ SECTIONS
                *(.gnu.warning)
 /*             *(.got1)*/
                . = ALIGN(16);
-               *(.rodata)
-               *(.rodata1)
-               *(.rodata.*)
                *(.eh_frame)
+               *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
        }
        . = ALIGN(4);
        _etext = .;
 
        /* CMD Table */
 
-       __u_boot_cmd_start = .;
-       .u_boot_cmd : { *(.u_boot_cmd) }
+
        . = ALIGN(4);
-       __u_boot_cmd_end = .;
+       .u_boot_list : {
+               KEEP(*(SORT(.u_boot_list*)));
+       }
 
        .data   :
        {
@@ -134,7 +133,7 @@ SECTIONS
        . = ALIGN(16); /* to speed clearing of bss up */
        }
        __bss_end = . ;
-       _end = . ;
+       __bss_end = . ;
        PROVIDE (end = .);
 
 /* Relocated into main memory */