1#  Linker Command Script Spec File
2
3Static main
4{
5	Address		0x02000000
6	Object		*.o (.text)
7	Object		*.axxx
8	Object		OBJECT(func,*) (.text)
9	Objects		bin/ARM9-TEG/Release/*.o
10	Objects		"d:/Program Files/bin/ARM9-TEG/Release/*.o"
11	Object		A/B/C
12	Object		* GROUP(ROOT)
13	Object		. ..
14	Library		libos.a
15	Libraries	lib/libmi.a
16	SearchSymbol	overlay_0
17	SearchSymbol	overlay_1
18
19	StackSize	8192 1024
20}
21
22Autoload overlay_0
23{
24	Address		0x03f00000
25	Object		aaa.o bbb.o
26	Library		autoload_libos.a
27	Libraries	lib/autoload_libmi.a
28	SearchSymbol	overlay_1
29}
30
31Autoload overlay_1
32{
33	After		main
34	Object		ccc.o \
35			ddd.o
36	Library		autoload_libos.a
37	Libraries	lib/autoload_libmi.a
38}
39
40Autoload MAINEX
41{
42	Address		0x023e0000
43	Object		eee.o
44}
45
46Overlay MAINEX_overlay
47{
48	After		MAINEX
49}
50
51Overlay overlay_2
52{
53	Group		GroupA
54	After		overlay_1
55	Object		eee.o fff.o
56	SearchSymbol	overlay_0 overlay_1
57	Library		overlay_libos.a
58	Libraries	lib/overlay_libmi.a
59}
60
61Overlay overlay_3
62{
63	After		overlay_1
64	Object		eee.o fff.o
65	Library		overlay_libos.a
66	Libraries	lib/overlay_libmi.a
67}
68