common: Add .u_boot_list into all linker files
[kernel/u-boot.git] / board / gaisler / gr_xc3s_1500 / u-boot.lds
index 3848c68..3da021c 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)
@@ -136,7 +139,7 @@ SECTIONS
        . = ALIGN(16); /* to speed clearing of bss up */
        }
        __bss_end = . ;
-       _end = . ;
+       __bss_end__ = . ;
        PROVIDE (end = .);
 
 /* Relocated into main memory */