2 Copyright 2009-2010, Ifcaro, jimmikaelkael & Polo
\r
3 Copyright 2006-2008 Polo
\r
4 Licenced under Academic Free License version 3.0
\r
5 Review OPNPS2LD README & LICENSE files for further details.
\r
7 Copyright 2001-2004, ps2dev - http://www.ps2dev.org
\r
8 Licenced under Academic Free License version 2.0
\r
9 Review ps2sdk README & LICENSE files for further details.
\r
11 Alternative linkfile
\r
12 Loader section begin at 0x00090000 instead of 0x000e7000
\r
28 PROVIDE(_etext = .);
\r
31 .reginfo : { *(.reginfo) }
\r
33 /* Global/static constructors and deconstructors. */
\r
35 KEEP(*crtbegin*.o(.ctors))
\r
36 KEEP(*(EXCLUDE_FILE(*crtend*.o) .ctors))
\r
37 KEEP(*(SORT(.ctors.*)))
\r
41 KEEP(*crtbegin*.o(.dtors))
\r
42 KEEP(*(EXCLUDE_FILE(*crtend*.o) .dtors))
\r
43 KEEP(*(SORT(.dtors.*)))
\r
48 .rodata ALIGN(128): {
\r
62 .rdata ALIGN(128): { *(.rdata) }
\r
63 .gcc_except_table ALIGN(128): { *(.gcc_except_table) }
\r
65 _gp = ALIGN(128) + 0x7ff0;
\r
66 .lit4 ALIGN(128): { *(.lit4) }
\r
67 .lit8 ALIGN(128): { *(.lit8) }
\r
69 .sdata ALIGN(128): {
\r
78 /* Uninitialized data. */
\r
79 .sbss ALIGN(128) : {
\r
83 *(.gnu.linkonce.sb*)
\r
98 /* Symbols needed by crt0.s. */
\r
99 PROVIDE(_heap_size = -1);
\r
100 PROVIDE(_stack = -1);
\r
101 PROVIDE(_stack_size = 128 * 1024);
\r