]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/actux3/u-boot.lds
5xx: Cleanup for partial linking and --gc-sections
[karo-tx-uboot.git] / board / actux3 / u-boot.lds
index 114e5a88a6ee2bf5f00f7ee9bb1bdc8427407bce..497ab97690895e4d367bcb7e92c61bd9829fcd70 100644 (file)
@@ -30,12 +30,12 @@ SECTIONS
 
        . = ALIGN (4);
        .text : {
-               cpu/ixp/start.o (.text)
-               lib_generic/string.o (.text)
-               lib_generic/vsprintf.o (.text)
-               lib_arm/board.o (.text)
+               arch/arm/cpu/ixp/start.o (.text)
+               lib/string.o (.text)
+               lib/vsprintf.o (.text)
+               arch/arm/lib/board.o (.text)
                common/dlmalloc.o (.text)
-               cpu/ixp/cpu.o (.text)
+               arch/arm/cpu/ixp/cpu.o (.text)
 
                . = env_offset;
                common/env_embedded.o (.ppcenv)
@@ -45,7 +45,7 @@ SECTIONS
 
        . = ALIGN (4);
        .rodata : {
-               *(.rodata)
+               *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
        }
 
        . = ALIGN (4);
@@ -69,6 +69,7 @@ SECTIONS
        __bss_start =.;
        .bss (NOLOAD): {
                *(.bss)
+               . = ALIGN(4);
        }
        _end =.;
 }