[U-Boot] [PATCH] nds32: fix data section of linker script

Macpaul Lin macpaul at andestech.com
Wed Nov 9 09:29:34 CET 2011


Make linker script handles .data.rel sections.

Signed-off-by: Macpaul Lin <macpaul at andestech.com>
Tested-by: Macpaul Lin <macpaul at gmail.com>
Cc: Mike Frysinger <vapier at gentoo.org>
---
 arch/nds32/cpu/n1213/u-boot.lds |    2 +-
 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 45221ee..1903420 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);
 
-- 
1.7.3.5



More information about the U-Boot mailing list