/* SPDX-License-Identifier: MIT */ /* The scenes are code and constants in Game Pak ROM only: no .data or .bss. */ ENTRY(_start) SECTIONS { . = 0x08000000; .text : { *(.text.start) *(.text*) *(.rodata*) } . = 0x03000000; .data (NOLOAD) : { *(.data*) *(.bss*) *(COMMON) } ASSERT(SIZEOF(.data) == 0, "scenes keep no variables outside the stack") /DISCARD/ : { *(.ARM.exidx*) *(.ARM.attributes) *(.comment) } }