[U-Boot] [PATCH] 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 --- 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);

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
participants (2)
-
Macpaul Lin
-
Macpaul Lin