Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | OUTPUT_ARCH(powerpc:common) |
Olaf Hering | 67a1b68 | 2005-10-28 17:46:49 -0700 | [diff] [blame] | 2 | ENTRY(_zimage_start) |
David Gibson | cd197ff | 2007-03-05 14:24:52 +1100 | [diff] [blame] | 3 | EXTERN(_zimage_start) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | SECTIONS |
5 | { | ||||
Olaf Hering | 67a1b68 | 2005-10-28 17:46:49 -0700 | [diff] [blame] | 6 | _start = .; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | .text : |
8 | { | ||||
9 | *(.text) | ||||
10 | *(.fixup) | ||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | _etext = .; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | . = ALIGN(4096); |
14 | .data : | ||||
15 | { | ||||
Olaf Hering | 06cf26b | 2005-10-28 17:46:44 -0700 | [diff] [blame] | 16 | *(.rodata*) |
17 | *(.data*) | ||||
18 | *(.sdata*) | ||||
Olaf Hering | a449723 | 2005-10-28 17:46:48 -0700 | [diff] [blame] | 19 | __got2_start = .; |
20 | *(.got2) | ||||
21 | __got2_end = .; | ||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 22 | } |
23 | |||||
Paul Mackerras | 621da0f | 2006-11-09 16:00:06 +1100 | [diff] [blame] | 24 | . = ALIGN(8); |
25 | _dtb_start = .; | ||||
26 | .kernel:dtb : { *(.kernel:dtb) } | ||||
27 | _dtb_end = .; | ||||
28 | |||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | . = ALIGN(4096); |
30 | _vmlinux_start = .; | ||||
31 | .kernel:vmlinux.strip : { *(.kernel:vmlinux.strip) } | ||||
32 | _vmlinux_end = .; | ||||
33 | |||||
34 | . = ALIGN(4096); | ||||
35 | _initrd_start = .; | ||||
36 | .kernel:initrd : { *(.kernel:initrd) } | ||||
37 | _initrd_end = .; | ||||
38 | |||||
39 | . = ALIGN(4096); | ||||
40 | _edata = .; | ||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 41 | |
42 | . = ALIGN(4096); | ||||
43 | __bss_start = .; | ||||
44 | .bss : | ||||
45 | { | ||||
Olaf Hering | 06cf26b | 2005-10-28 17:46:44 -0700 | [diff] [blame] | 46 | *(.sbss) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 47 | *(.bss) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 48 | } |
49 | . = ALIGN(4096); | ||||
50 | _end = . ; | ||||
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 51 | } |