Sync with trunk r58740.
[reactos.git] / ntoskrnl / ntoskrnl_powerpc.lds
1 /* Default linker script, for normal executables */
2 OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc",
3 "elf32-powerpc")
4 OUTPUT_ARCH(powerpc:common)
5 SECTIONS
6 {
7 .text :
8 {
9 __text_start__ = .;
10 *(.text)
11 *(init)
12 *(INIT)
13 __text_end__ = .;
14 }
15 .data :
16 {
17 *(.data)
18 *(.data2)
19 *(.rdata)
20 *(.sdata)
21 *(.pdata)
22 }
23 .rodata :
24 {
25 *(.rodata*)
26 *(.got2)
27 *(.eh_frame)
28 }
29 .idata :
30 {
31 *(.idata$2)
32 SORT(*)(.idata$3)
33 LONG(0); LONG(0); LONG(0); LONG(0); LONG(0);
34 SORT(*)(.idata$4)
35 SORT(*)(.idata$5)
36 SORT(*)(.idata$6)
37 SORT(*)(.idata$7)
38 }
39 .edata :
40 {
41 *(.edata)
42 }
43 .bss :
44 {
45 *(.sbss)
46 *(.bss)
47 *(COMMON)
48 }
49 .rsrc :
50 {
51 *(.rsrc)
52 }
53 .rela :
54 {
55 *(.rela.*)
56 }
57 }