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