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 45221ee..1903420 100644 (file)
@@ -41,7 +41,7 @@ SECTIONS
        .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
 
        . = ALIGN(4);
-       .data : { *(.data) }
+       .data : { *(.data*) }
 
        . = ALIGN(4);