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 | { |
| 6 | . = (5*1024*1024); |
| 7 | _start = .; |
| 8 | .text : |
| 9 | { |
| 10 | *(.text) |
| 11 | *(.fixup) |
| 12 | } |
| 13 | _etext = .; |
| 14 | . = ALIGN(4096); |
| 15 | .data : |
| 16 | { |
| 17 | *(.rodata*) |
| 18 | *(.data*) |
Benjamin Herrenschmidt | 54c9941 | 2006-10-03 14:27:16 +1000 | [diff] [blame] | 19 | *(__builtin_*) |
Paul Mackerras | 66a45dd | 2006-01-14 15:04:06 +1100 | [diff] [blame] | 20 | *(.sdata*) |
| 21 | __got2_start = .; |
| 22 | *(.got2) |
| 23 | __got2_end = .; |
| 24 | |
Mark A. Greer | c888554 | 2006-10-16 13:49:27 -0700 | [diff] [blame] | 25 | _dtb_start = .; |
| 26 | *(.kernel:dtb) |
| 27 | _dtb_end = .; |
| 28 | |
Paul Mackerras | 66a45dd | 2006-01-14 15:04:06 +1100 | [diff] [blame] | 29 | _vmlinux_start = .; |
| 30 | *(.kernel:vmlinux.strip) |
| 31 | _vmlinux_end = .; |
| 32 | |
| 33 | _initrd_start = .; |
| 34 | *(.kernel:initrd) |
| 35 | _initrd_end = .; |
| 36 | } |
| 37 | |
| 38 | . = ALIGN(4096); |
| 39 | _edata = .; |
| 40 | __bss_start = .; |
| 41 | .bss : |
| 42 | { |
| 43 | *(.sbss) |
| 44 | *(.bss) |
| 45 | } |
| 46 | _end = . ; |
| 47 | |
| 48 | /DISCARD/ : |
| 49 | { |
| 50 | *(.comment) |
| 51 | } |
| 52 | } |