| [7] | 1 | /* |
|---|
| 2 | * @(#) $Id$ |
|---|
| 3 | */ |
|---|
| 4 | |
|---|
| 5 | OUTPUT_FORMAT("elf32-m68k","elf32-m68k","elf32-m68k") |
|---|
| 6 | OUTPUT_ARCH(m68k) |
|---|
| 7 | STARTUP(start.o) |
|---|
| 8 | |
|---|
| 9 | PROVIDE (__stack = 0) ; |
|---|
| 10 | PROVIDE (hardware_init_hook = 0) ; |
|---|
| 11 | PROVIDE (software_init_hook = 0) ; |
|---|
| 12 | PROVIDE (software_term_hook = 0) ; |
|---|
| 13 | SECTIONS |
|---|
| 14 | { |
|---|
| 15 | .init : |
|---|
| 16 | { |
|---|
| 17 | KEEP (*(.init)) |
|---|
| 18 | } |
|---|
| 19 | .text : |
|---|
| 20 | { |
|---|
| 21 | __text = . ; |
|---|
| 22 | *(.text .stub .text.* .gnu.linkonce.t.*) |
|---|
| 23 | |
|---|
| 24 | } |
|---|
| 25 | .fini : |
|---|
| 26 | { |
|---|
| 27 | KEEP (*(.fini)) |
|---|
| 28 | } |
|---|
| 29 | _etext = . ; |
|---|
| 30 | PROVIDE (etext = .) ; |
|---|
| 31 | .rodata : |
|---|
| 32 | { |
|---|
| 33 | *(.rodata .rodata.* .gnu.linkonce.r.*) |
|---|
| 34 | } |
|---|
| 35 | . = ALIGN(4) ; |
|---|
| 36 | __idata_start = . ; |
|---|
| 37 | .data : AT(__idata_start) |
|---|
| 38 | { |
|---|
| 39 | __data_start = . ; |
|---|
| 40 | *(.data) |
|---|
| 41 | } |
|---|
| 42 | .eh_frame : { KEEP (*(.eh_frame)) } |
|---|
| 43 | .gcc_except_table : { *(.gcc_except_table) } |
|---|
| 44 | .ctors : |
|---|
| 45 | { |
|---|
| 46 | KEEP (*crtbegin.o(.ctors)) |
|---|
| 47 | KEEP (*(EXCLUDE_FILE (*crtend.o ) .ctors)) |
|---|
| 48 | KEEP (*(SORT(.ctors.*))) |
|---|
| 49 | KEEP (*(.ctors)) |
|---|
| 50 | } |
|---|
| 51 | .dtors : |
|---|
| 52 | { |
|---|
| 53 | KEEP (*crtbegin.o(.dtors)) |
|---|
| 54 | KEEP (*(EXCLUDE_FILE (*crtend.o ) .dtors)) |
|---|
| 55 | KEEP (*(SORT(.dtors.*))) |
|---|
| 56 | KEEP (*(.dtors)) |
|---|
| 57 | } |
|---|
| 58 | __idata_end = __idata_start + SIZEOF(.data) ; |
|---|
| 59 | _edata = . ; |
|---|
| 60 | PROVIDE (edata = .) ; |
|---|
| 61 | . = ALIGN(4) ; |
|---|
| 62 | __bss_start = . ; |
|---|
| 63 | .bss : |
|---|
| 64 | { |
|---|
| 65 | *(.bss) |
|---|
| 66 | *(COMMON) |
|---|
| 67 | } |
|---|
| 68 | _end = . ; |
|---|
| 69 | __bss_end = . ; |
|---|
| 70 | PROVIDE (end = .) ; |
|---|
| 71 | .comment 0 : { *(.comment) } |
|---|
| 72 | .debug 0 : { *(.debug) } |
|---|
| 73 | .line 0 : { *(.line) } |
|---|
| 74 | .debug_srcinfo 0 : { *(.debug_srcinfo) } |
|---|
| 75 | .debug_sfnames 0 : { *(.debug_sfnames) } |
|---|
| 76 | .debug_aranges 0 : { *(.debug_aranges) } |
|---|
| 77 | .debug_pubnames 0 : { *(.debug_pubnames) } |
|---|
| 78 | } |
|---|