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 | .text : |
7 | { | |
6975a783 | 8 | _start = .; |
66a45dd3 PM |
9 | *(.text) |
10 | *(.fixup) | |
6975a783 | 11 | _etext = .; |
66a45dd3 | 12 | } |
66a45dd3 PM |
13 | . = ALIGN(4096); |
14 | .data : | |
15 | { | |
16 | *(.rodata*) | |
17 | *(.data*) | |
54c99412 | 18 | *(__builtin_*) |
66a45dd3 | 19 | *(.sdata*) |
66a45dd3 | 20 | *(.got2) |
66a45dd3 | 21 | |
c888554b MG |
22 | _dtb_start = .; |
23 | *(.kernel:dtb) | |
24 | _dtb_end = .; | |
25 | ||
66a45dd3 PM |
26 | _vmlinux_start = .; |
27 | *(.kernel:vmlinux.strip) | |
28 | _vmlinux_end = .; | |
29 | ||
30 | _initrd_start = .; | |
31 | *(.kernel:initrd) | |
32 | _initrd_end = .; | |
33 | } | |
34 | ||
35 | . = ALIGN(4096); | |
36 | _edata = .; | |
37 | __bss_start = .; | |
38 | .bss : | |
39 | { | |
40 | *(.sbss) | |
41 | *(.bss) | |
42 | } | |
43 | _end = . ; | |
44 | ||
45 | /DISCARD/ : | |
46 | { | |
47 | *(.comment) | |
48 | } | |
49 | } |