1 1.1.6.2 thorpej /* /boot must be a.out, OMAGIC starting from 0x8000. */ 2 1.1.6.2 thorpej OUTPUT_FORMAT("a.out-m68k-netbsd", "a.out-m68k-netbsd", 3 1.1.6.2 thorpej "a.out-m68k-netbsd") 4 1.1.6.2 thorpej OUTPUT_ARCH(m68k) 5 1.1.6.2 thorpej ENTRY(start) 6 1.1.6.2 thorpej SEARCH_DIR(/usr/lib); 7 1.1.6.2 thorpej /*__DYNAMIC = 0; */ 8 1.1.6.2 thorpej PROVIDE (__stack = 0); 9 1.1.6.2 thorpej SECTIONS 10 1.1.6.2 thorpej { 11 1.1.6.2 thorpej . = 0x6000; 12 1.1.6.2 thorpej .text : 13 1.1.6.2 thorpej { 14 1.1.6.2 thorpej CREATE_OBJECT_SYMBOLS 15 1.1.6.2 thorpej *(.text) 16 1.1.6.2 thorpej *(.rodata) 17 1.1.6.2 thorpej /* The next six sections are for SunOS dynamic linking. The order 18 1.1.6.2 thorpej is important. */ 19 1.1.6.2 thorpej *(.dynrel) 20 1.1.6.2 thorpej *(.hash) 21 1.1.6.2 thorpej *(.dynsym) 22 1.1.6.2 thorpej *(.dynstr) 23 1.1.6.2 thorpej *(.rules) 24 1.1.6.2 thorpej *(.need) 25 1.1.6.2 thorpej etext = .; 26 1.1.6.2 thorpej _etext = .; 27 1.1.6.2 thorpej } 28 1.1.6.2 thorpej /* . = ALIGN(0x2000); */ 29 1.1.6.2 thorpej .data : 30 1.1.6.2 thorpej { 31 1.1.6.2 thorpej /* The first three sections are for SunOS dynamic linking. */ 32 1.1.6.2 thorpej *(.dynamic) 33 1.1.6.2 thorpej *(.got) 34 1.1.6.2 thorpej *(.plt) 35 1.1.6.2 thorpej *(.data) 36 1.1.6.2 thorpej *(.linux-dynamic) /* For Linux dynamic linking. */ 37 1.1.6.2 thorpej CONSTRUCTORS 38 1.1.6.2 thorpej edata = .; 39 1.1.6.2 thorpej _edata = .; 40 1.1.6.2 thorpej } 41 1.1.6.2 thorpej .bss : 42 1.1.6.2 thorpej { 43 1.1.6.2 thorpej __bss_start = .; 44 1.1.6.2 thorpej *(.bss) 45 1.1.6.2 thorpej *(COMMON) 46 1.1.6.2 thorpej end = ALIGN(4) ; 47 1.1.6.2 thorpej _end = ALIGN(4) ; 48 1.1.6.2 thorpej } 49 1.1.6.2 thorpej /DISCARD/ : { *(.ident) *(.stab) *(.stabstr) } 50 1.1.6.2 thorpej } 51