diff mbox

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

Message ID 1320827374-11097-1-git-send-email-macpaul@andestech.com
State Accepted
Delegated to: Macpaul Lin
Headers show

Commit Message

Macpaul Lin Nov. 9, 2011, 8:29 a.m. UTC
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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Macpaul Lin Nov. 9, 2011, 8:32 a.m. UTC | #1
Hi Macpaul,

2011/11/9 Macpaul Lin <macpaul@andestech.com>:
> 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>

Applied to u-boot-nds32/master, thanks.

Best regards,
Macpaul Lin
diff mbox

Patch

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);