Skip to contentSkip to conversation

nds32: fix data section of linker script

PATCH New Macpaul Lin 2 participants 2 messages Nov 9, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nds32: fix data section of linker script

Make linker script handles .data.rel sections.

---
 arch/nds32/cpu/n1213/u-boot.lds |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/nds32/cpu/n1213/u-boot.lds +1 -1
index 45221ee..1903420 100644
@@ -41,7 +41,7 @@ SECTIONS
 	.rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
 
 	. = ALIGN(4);
-	.data : { *(.data) }
+	.data : { *(.data*) }
 
 	. = ALIGN(4);
 
Signature · 1 line
1.7.3.5