1
2MEMORY
3{
4        code_rom (rxw)	:	org = 0x00001000, len = 0x1EF000
5        irpt_rom (rx)	:	org = 0x001F0000, len = 0x2000
6        int__ram (rxw)	:	org = 0x40000000, len = 256K
7}
8
9REGION_ALIAS("INTR", irpt_rom)
10REGION_ALIAS("CODE", code_rom)
11REGION_ALIAS("RODATA", code_rom)
12REGION_ALIAS("RAM", int__ram)
13
14SECTIONS
15{
16	.iv_handlers :
17	{
18		INPUT_SECTION_FLAGS (SHF_PPC_VLE) *(.iv_handlers)
19	} > INTR
20
21	.text_vle :
22	{
23		INPUT_SECTION_FLAGS (SHF_PPC_VLE) *(.text_vle)
24		INPUT_SECTION_FLAGS (SHF_PPC_VLE) *(.text)
25		INPUT_SECTION_FLAGS (SHF_PPC_VLE) *(.init)
26		INPUT_SECTION_FLAGS (SHF_PPC_VLE) *(.init_vle)
27		INPUT_SECTION_FLAGS (SHF_PPC_VLE) *(.fini)
28		INPUT_SECTION_FLAGS (SHF_PPC_VLE) *(.fini_vle)
29	} > CODE
30
31	.rodata :
32	{
33		*(.rodata)
34	} > RODATA
35
36	.data   :
37	{
38		*(.data)
39		*(.data.*)
40		*(.ctors)
41		*(.dtors)
42	}  > RAM AT>RODATA
43
44}
45