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