]> git.sur5r.net Git - u-boot/commitdiff
nds32: fix data section of linker script
authorMacpaul Lin <macpaul@andestech.com>
Wed, 9 Nov 2011 08:24:57 +0000 (16:24 +0800)
committerMacpaul Lin <macpaul@andestech.com>
Wed, 9 Nov 2011 08:35:27 +0000 (16:35 +0800)
Make linker script handles .data.rel sections.

Signed-off-by: Macpaul Lin <macpaul@andestech.com>
Tested-by: Macpaul Lin <macpaul@gmail.com>
Cc: Mike Frysinger <vapier@gentoo.org>
arch/nds32/cpu/n1213/u-boot.lds

index 45221ee78ae8f136a94540717b9bc577a4297b56..190342062aa8ea3026e34bf4035557d46df0039c 100644 (file)
@@ -41,7 +41,7 @@ SECTIONS
        .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
 
        . = ALIGN(4);
-       .data : { *(.data) }
+       .data : { *(.data*) }
 
        . = ALIGN(4);