summaryrefslogtreecommitdiff
path: root/arch/nds32
diff options
context:
space:
mode:
authorMacpaul Lin <macpaul@andestech.com>2011-11-09 16:24:57 +0800
committerMacpaul Lin <macpaul@andestech.com>2011-11-09 16:35:27 +0800
commitc4f40546649f8f5fb715a80a6c32a47c4872478c (patch)
tree9c8e8f7d9adcf01e07fb4987747227854a6f58ec /arch/nds32
parent2ba5b1d32433698a66c0548bbc9e0c867ab55be2 (diff)
nds32: fix data section of linker script
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>
Diffstat (limited to 'arch/nds32')
-rw-r--r--arch/nds32/cpu/n1213/u-boot.lds2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nds32/cpu/n1213/u-boot.lds b/arch/nds32/cpu/n1213/u-boot.lds
index 45221ee78ae..190342062aa 100644
--- a/arch/nds32/cpu/n1213/u-boot.lds
+++ b/arch/nds32/cpu/n1213/u-boot.lds
@@ -41,7 +41,7 @@ SECTIONS
.rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
. = ALIGN(4);
- .data : { *(.data) }
+ .data : { *(.data*) }
. = ALIGN(4);