1OUTPUT_FORMAT("elf32-littleunicore32", "elf32-bigunicore32", "elf32-littleunicore32")
2OUTPUT_ARCH(unicore32)
3ENTRY(_start)
4SEARCH_DIR("/usr/unicore/gnu-toolchain-unicore/uc4-1.0-beta-hard-RHELAS5/unicore32-linux/lib");
5SECTIONS
6{
7	. = 0x00000000;
8
9	. = ALIGN(4);
10	.text :
11	{
12		*(.init)
13		*(.text)
14		*(.gnu.linkonce.t*)
15
16		/* section information for finsh shell */
17		. = ALIGN(4);
18		__fsymtab_start = .;
19		KEEP(*(FSymTab))
20		__fsymtab_end = .;
21		. = ALIGN(4);
22		__vsymtab_start = .;
23		KEEP(*(VSymTab))
24		__vsymtab_end = .;
25		. = ALIGN(4);
26
27		/* section information for modules */
28		. = ALIGN(4);
29		__rtmsymtab_start = .;
30		KEEP(*(RTMSymTab))
31		__rtmsymtab_end = .;
32	}
33
34	. = ALIGN(4);
35	.rodata : { *(.rodata) *(.rodata.*) *(.gnu.linkonce.r*) *(.eh_frame) }
36
37	. = ALIGN(4);
38	.ctors :
39	{
40		PROVIDE(__ctors_start__ = .);
41		KEEP(*(SORT(.ctors.*)))
42		KEEP(*(.ctors))
43		PROVIDE(__ctors_end__ = .);
44	}
45
46	.dtors :
47	{
48		PROVIDE(__dtors_start__ = .);
49		KEEP(*(SORT(.dtors.*)))
50		KEEP(*(.dtors))
51		PROVIDE(__dtors_end__ = .);
52	}
53
54	. = ALIGN(4);
55	.data :
56	{
57		*(.data)
58		*(.data.*)
59		*(.gnu.linkonce.d*)
60	}
61
62	. = ALIGN(4);
63	.nobss : { *(.nobss) }
64
65  /*. = 0x00300000*/
66	. = ALIGN(4);
67	__bss_start = .;
68	.bss : { *(.bss) }
69	__bss_end = .;
70
71	/* stabs debugging sections. */
72	.stab 0 : { *(.stab) }
73	.stabstr 0 : { *(.stabstr) }
74	.stab.excl 0 : { *(.stab.excl) }
75	.stab.exclstr 0 : { *(.stab.exclstr) }
76	.stab.index 0 : { *(.stab.index) }
77	.stab.indexstr 0 : { *(.stab.indexstr) }
78	.comment 0 : { *(.comment) }
79	.debug_abbrev 0 : { *(.debug_abbrev) }
80	.debug_info 0 : { *(.debug_info) }
81	.debug_line 0 : { *(.debug_line) }
82	.debug_pubnames 0 : { *(.debug_pubnames) }
83	.debug_aranges 0 : { *(.debug_aranges) }
84
85	_end = .;
86}
87