forked from PikalaxALT/gba_bios
-
Notifications
You must be signed in to change notification settings - Fork 2
/
ldscript.txt
48 lines (43 loc) · 859 Bytes
/
ldscript.txt
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
OUTPUT_ARCH(arm)
SECTIONS
{
. = 0x00000000;
.text :
ALIGN(4)
{
asm/bios.o(.text);
asm/bios.o(.glue_7t);
} = 0
.rodata :
ALIGN(4)
{
asm/bios.o(.rodata);
} = 0
. = 0x02000000;
.ewram_data :
ALIGN(4)
{
INCLUDE "sym_ewram.txt"
} = 0
. = 0x03000000;
.bss :
ALIGN(4)
{
INCLUDE "sym_iwram.txt"
} = 0
/* DWARF 2 sections */
.debug_aranges 0 : { *(.debug_aranges) }
.debug_pubnames 0 : { *(.debug_pubnames) }
.debug_info 0 : { *(.debug_info) }
.debug_abbrev 0 : { *(.debug_abbrev) }
.debug_line 0 : { *(.debug_line) }
.debug_frame 0 : { *(.debug_frame) }
.debug_str 0 : { *(.debug_str) }
.debug_loc 0 : { *(.debug_loc) }
.debug_macinfo 0 : { *(.debug_macinfo) }
/* Discard everything not specifically mentioned above. */
/DISCARD/ :
{
*(*);
}
}