summaryrefslogtreecommitdiff
path: root/linker_scripts/makerom.ld
blob: a898c6b34f9df9eee69d53d117ab1929862b6f35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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;