Eric W. Biederman | 968de4f | 2006-12-07 02:14:04 +0100 | [diff] [blame] | 1 | OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386") |
| 2 | OUTPUT_ARCH(i386) |
| 3 | ENTRY(startup_32) |
| 4 | SECTIONS |
| 5 | { |
Ian Campbell | afe0bc6 | 2008-01-30 13:33:37 +0100 | [diff] [blame] | 6 | /* Be careful parts of head_32.S assume startup_32 is at |
| 7 | * address 0. |
Eric W. Biederman | 968de4f | 2006-12-07 02:14:04 +0100 | [diff] [blame] | 8 | */ |
Ian Campbell | afe0bc6 | 2008-01-30 13:33:37 +0100 | [diff] [blame] | 9 | . = 0; |
Eric W. Biederman | 968de4f | 2006-12-07 02:14:04 +0100 | [diff] [blame] | 10 | .text.head : { |
| 11 | _head = . ; |
| 12 | *(.text.head) |
| 13 | _ehead = . ; |
| 14 | } |
Ian Campbell | 20514e9 | 2008-01-30 13:33:38 +0100 | [diff] [blame] | 15 | .rodata.compressed : { |
| 16 | *(.rodata.compressed) |
Eric W. Biederman | 968de4f | 2006-12-07 02:14:04 +0100 | [diff] [blame] | 17 | } |
| 18 | .text : { |
| 19 | _text = .; /* Text */ |
| 20 | *(.text) |
| 21 | *(.text.*) |
| 22 | _etext = . ; |
| 23 | } |
| 24 | .rodata : { |
| 25 | _rodata = . ; |
| 26 | *(.rodata) /* read-only data */ |
| 27 | *(.rodata.*) |
| 28 | _erodata = . ; |
| 29 | } |
| 30 | .data : { |
| 31 | _data = . ; |
| 32 | *(.data) |
| 33 | *(.data.*) |
| 34 | _edata = . ; |
| 35 | } |
| 36 | .bss : { |
| 37 | _bss = . ; |
| 38 | *(.bss) |
| 39 | *(.bss.*) |
| 40 | *(COMMON) |
| 41 | _end = . ; |
| 42 | } |
| 43 | } |