Commit | Line | Data |
---|---|---|
66a45dd3 | 1 | OUTPUT_ARCH(powerpc:common) |
cd197ffc DG |
2 | ENTRY(_zimage_start_opd) |
3 | EXTERN(_zimage_start_opd) | |
66a45dd3 PM |
4 | SECTIONS |
5 | { | |
66a45dd3 PM |
6 | _start = .; |
7 | .text : | |
8 | { | |
9 | *(.text) | |
10 | *(.fixup) | |
11 | } | |
12 | _etext = .; | |
13 | . = ALIGN(4096); | |
14 | .data : | |
15 | { | |
16 | *(.rodata*) | |
17 | *(.data*) | |
54c99412 | 18 | *(__builtin_*) |
66a45dd3 PM |
19 | *(.sdata*) |
20 | __got2_start = .; | |
21 | *(.got2) | |
22 | __got2_end = .; | |
23 | ||
c888554b MG |
24 | _dtb_start = .; |
25 | *(.kernel:dtb) | |
26 | _dtb_end = .; | |
27 | ||
66a45dd3 PM |
28 | _vmlinux_start = .; |
29 | *(.kernel:vmlinux.strip) | |
30 | _vmlinux_end = .; | |
31 | ||
32 | _initrd_start = .; | |
33 | *(.kernel:initrd) | |
34 | _initrd_end = .; | |
35 | } | |
36 | ||
37 | . = ALIGN(4096); | |
38 | _edata = .; | |
39 | __bss_start = .; | |
40 | .bss : | |
41 | { | |
42 | *(.sbss) | |
43 | *(.bss) | |
44 | } | |
45 | _end = . ; | |
46 | ||
47 | /DISCARD/ : | |
48 | { | |
49 | *(.comment) | |
50 | } | |
51 | } |