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