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>
This commit is contained in:
parent
2ba5b1d324
commit
c4f4054664
@ -41,7 +41,7 @@ SECTIONS
|
||||
.rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
|
||||
|
||||
. = ALIGN(4);
|
||||
.data : { *(.data) }
|
||||
.data : { *(.data*) }
|
||||
|
||||
. = ALIGN(4);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user