diff --git a/targets/gameboy-advance.ld b/targets/gameboy-advance.ld index 139e4c07..490f8192 100644 --- a/targets/gameboy-advance.ld +++ b/targets/gameboy-advance.ld @@ -21,6 +21,14 @@ SECTIONS . = ALIGN(4); } >rom + .rodata : + { + . = ALIGN(4); + *(.rodata) + *(.rodata*) + . = ALIGN(4); + } >rom + /* Put the stack at the bottom of RAM, so that the application will * crash on stack overflow instead of silently corrupting memory. * See: http://blog.japaric.io/stack-overflow-protection/ */