Paul Mackerras | 66a45dd | 2006-01-14 15:04:06 +1100 | [diff] [blame] | 1 | OUTPUT_ARCH(powerpc:common) |
David Gibson | cd197ff | 2007-03-05 14:24:52 +1100 | [diff] [blame] | 2 | ENTRY(_zimage_start_opd) |
3 | EXTERN(_zimage_start_opd) | ||||
Paul Mackerras | 66a45dd | 2006-01-14 15:04:06 +1100 | [diff] [blame] | 4 | SECTIONS |
5 | { | ||||
Paul Mackerras | 66a45dd | 2006-01-14 15:04:06 +1100 | [diff] [blame] | 6 | .text : |
7 | { | ||||
Michael Ellerman | 6975a78 | 2011-04-12 20:38:55 +0000 | [diff] [blame] | 8 | _start = .; |
Paul Mackerras | 66a45dd | 2006-01-14 15:04:06 +1100 | [diff] [blame] | 9 | *(.text) |
10 | *(.fixup) | ||||
Michael Ellerman | 6975a78 | 2011-04-12 20:38:55 +0000 | [diff] [blame] | 11 | _etext = .; |
Paul Mackerras | 66a45dd | 2006-01-14 15:04:06 +1100 | [diff] [blame] | 12 | } |
Paul Mackerras | 66a45dd | 2006-01-14 15:04:06 +1100 | [diff] [blame] | 13 | . = ALIGN(4096); |
14 | .data : | ||||
15 | { | ||||
16 | *(.rodata*) | ||||
17 | *(.data*) | ||||
Benjamin Herrenschmidt | 54c9941 | 2006-10-03 14:27:16 +1000 | [diff] [blame] | 18 | *(__builtin_*) |
Paul Mackerras | 66a45dd | 2006-01-14 15:04:06 +1100 | [diff] [blame] | 19 | *(.sdata*) |
Paul Mackerras | 66a45dd | 2006-01-14 15:04:06 +1100 | [diff] [blame] | 20 | *(.got2) |
Paul Mackerras | 66a45dd | 2006-01-14 15:04:06 +1100 | [diff] [blame] | 21 | |
Mark A. Greer | c888554 | 2006-10-16 13:49:27 -0700 | [diff] [blame] | 22 | _dtb_start = .; |
23 | *(.kernel:dtb) | ||||
24 | _dtb_end = .; | ||||
25 | |||||
Paul Mackerras | 66a45dd | 2006-01-14 15:04:06 +1100 | [diff] [blame] | 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 | } |