]> git.sur5r.net Git - u-boot/blobdiff - board/gaisler/gr_ep2s60/u-boot.lds
common: Add .u_boot_list into all linker files
[u-boot] / board / gaisler / gr_ep2s60 / u-boot.lds
index 100350d7a1bbd5735a8c5096d88ab35b9556c273..5a387967ff1e74fad9313875b4a67056afd6a2fc 100644 (file)
@@ -60,8 +60,8 @@ SECTIONS
                _text = .;
 
                *(.start)
-               cpu/leon3/start.o (.text)
-/* 8k is the same as the PROM offset from end of main memory, (CFG_PROM_SIZE) */
+               arch/sparc/cpu/leon3/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,
  * no global data accesses please.
@@ -77,10 +77,8 @@ SECTIONS
                *(.gnu.warning)
 /*             *(.got1)*/
                . = ALIGN(16);
-               *(.rodata)
-               *(.rodata1)
-               *(.rodata.*)
                *(.eh_frame)
+               *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
        }
        . = ALIGN(4);
        _etext = .;
@@ -92,6 +90,11 @@ SECTIONS
        . = ALIGN(4);
        __u_boot_cmd_end = .;
 
+       . = ALIGN(4);
+       .u_boot_list : {
+       #include <u-boot.lst>
+       }
+
        .data   :
        {
                *(.data)
@@ -135,7 +138,7 @@ SECTIONS
        . = ALIGN(16); /* to speed clearing of bss up */
        }
        __bss_end = . ;
-       _end = . ;
+       __bss_end__ = . ;
        PROVIDE (end = .);
 
 /* Relocated into main memory */