-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrvl.ld
More file actions
31 lines (23 loc) · 918 Bytes
/
rvl.ld
File metadata and controls
31 lines (23 loc) · 918 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*--------------------------------------------------------------------------------
** Linker script for Wii homebrew **
--------------------------------------------------------------------------------*/
PHDRS {
stub PT_LOAD FLAGS(5);
}
SECTIONS {
/* stub is loaded at physical address 0x00003400 (though both 0x80003400 and 0x00003400 are equivalent for IOS) */
/* This can also be used to load an arbitrary standalone stub at an arbitrary address in memory, for any purpose */
/* Use -Wl,--section-start,.stub=0xADDRESS to change */
. = 0x00003400;
.stub : {
KEEP(*(.stub))
} :stub = 0
/* Default base address */
/* Use -Wl,--section-start,.init=0xADDRESS to change */
. = 0x80003f00;
}
PROVIDE_HIDDEN( __Arena2Lo = 0x90002000 );
PROVIDE_HIDDEN( __Arena2Hi = 0x933e0000 );
PROVIDE_HIDDEN( __ipcbufferLo = 0x933e0000 );
PROVIDE_HIDDEN( __ipcbufferHi = 0x93400000 );
INCLUDE libogc_common.ld