1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-01-15 04:36:59 +00:00
oot/linker_scripts/makerom.ld
2025-01-02 23:42:28 -05:00

13 lines
438 B
Text

#include "boot.h"
/* These are only here due to iQue entry.s using ori to load the lower halves of symbols
* rather than addiu, so the usual relocation operators %hi() and %lo() can't be used. */
_bootSegmentBssStart_HI = _bootSegmentBssStart >> 16;
_bootSegmentBssSize_HI = _bootSegmentBssSize >> 16;
bootproc_HI = bootproc >> 16;
BOOT_STACK_TOP = (sBootThreadStack + BOOT_STACK_SIZE);
BOOT_STACK_TOP_HI = BOOT_STACK_TOP >> 16;