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 | _start = .; |
| 7 | .text : |
| 8 | { |
| 9 | *(.text) |
| 10 | *(.fixup) |
| 11 | } |
| 12 | _etext = .; |
| 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*) |
| 20 | __got2_start = .; |
| 21 | *(.got2) |
| 22 | __got2_end = .; |
| 23 | |
Mark A. Greer | c888554 | 2006-10-16 13:49:27 -0700 | [diff] [blame] | 24 | _dtb_start = .; |
| 25 | *(.kernel:dtb) |
| 26 | _dtb_end = .; |
| 27 | |
Paul Mackerras | 66a45dd | 2006-01-14 15:04:06 +1100 | [diff] [blame] | 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 | } |