Statistics
| Branch: | Revision:

root / prex-0.9.0 / usr / arch / arm / user.ld @ 03e9c04a

History | View | Annotate | Download (474 Bytes)

1
OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm", "elf32-littlearm")
2
OUTPUT_ARCH(arm)
3
ENTRY(_start)
4
PHDRS
5
{
6
	text PT_LOAD FILEHDR PHDRS;
7
	data PT_LOAD;
8
}
9
SECTIONS
10
{
11
	. = 0x10000 + SIZEOF_HEADERS;
12

    
13
	.text : {
14
		*(.text)
15
		*(.glue_7)
16
		*(.glue_7t)
17
	} : text = 0xff
18

    
19
	. = ALIGN(4);
20
	.rodata : {
21
		*(.rodata)
22
		*(.rodata.*)
23
	} : text
24

    
25
	. = ALIGN(0x1000);
26
	.data : {
27
		*(.data)
28
	} : data
29

    
30
	. = ALIGN(4);
31
	.bss .  : {
32
		*(.bss)
33
		*(COMMON)
34
	}
35

    
36
	/DISCARD/ : { *(.comment .note) }
37
}