Update test LD script to respect 4 byte data section alignment (#5517)
This commit is contained in:
parent
a01f9b4708
commit
b91656d1c3
@ -27,6 +27,7 @@ SECTIONS {
|
||||
src/*.o(.sbss);
|
||||
gflib/*.o(.sbss);
|
||||
test/*.o(.sbss);
|
||||
. = ALIGN(4);
|
||||
} > EWRAM
|
||||
|
||||
.iwram ORIGIN(IWRAM) : AT (__iwram_lma)
|
||||
@ -34,6 +35,7 @@ SECTIONS {
|
||||
{
|
||||
__iwram_start = .;
|
||||
*(.iwram*);
|
||||
. = ALIGN(4);
|
||||
__iwram_end = .;
|
||||
} > IWRAM
|
||||
|
||||
@ -55,6 +57,7 @@ SECTIONS {
|
||||
data/*.o(COMMON);
|
||||
test/*.o(COMMON);
|
||||
*libc.a:sbrkr.o(COMMON);
|
||||
. = ALIGN(4);
|
||||
|
||||
/* .persistent starts at 0x3007F00 */
|
||||
/* WARNING: This is the end of the IRQ stack, if there's too
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user