Project

General

Profile

Statistics
| Branch: | Revision:

scoutos / prex-0.9.0 / bsp / boot / ppc / arch / boot.ld @ 03e9c04a

History | View | Annotate | Download (428 Bytes)

1 03e9c04a Brad Neuman
/*
2
 * Linker script for boot loader
3
 */
4
INCLUDE config.ld
5
OUTPUT_FORMAT("elf32-powerpc")
6
OUTPUT_ARCH(powerpc)
7
8
SECTIONS {
9
	. = CONFIG_LOADER_TEXT ;
10
11
	.text . : {
12
		*(.text)
13
	}
14
	. = ALIGN(4);
15
	.rodata . : {
16
		*(.rodata)
17
		*(.rodata.*)
18
	}
19
	. = ALIGN(4);
20
	.data . : {
21
		*(.data)
22
		*(.sdata)
23
		*(.sdata2)
24
	}
25
	. = ALIGN(4);
26
	.bss . : {
27
		*(.sbss)
28
		*(.bss)
29
		*(COMMON)
30
	}
31
	. = CONFIG_LOADER_TEXT + 0x1fff;
32
	.tail : {
33
		*(.tail)
34
	}
35
}