1OUTPUT_FORMAT("elf32-m68k", "elf32-m68k", "elf32-m68k") 2OUTPUT_ARCH(m68k) 3 4ENTRY(_start) 5SECTIONS 6{ 7 //. = 0x10000; 8 . = 0x00080000; 9 10 /* text/read-only data */ 11 .text : { *(.text .gnu.linkonce.t.*) } 12 13 . = ALIGN(0x4); 14 __ctor_list = .; 15 .ctors : { *(.ctors) } 16 __ctor_end = .; 17 18 .rodata : { *(.rodata .rodata.*) } 19 20 /* writable data */ 21 . = ALIGN(0x1000); 22 __data_start = .; 23 .data : { *(.data .gnu.linkonce.d.*) } 24 25 /* uninitialized data (in same segment as writable data) */ 26 __bss_start = .; 27 .bss : { *(.bss) } 28 29 . = ALIGN(0x1000); 30 _end = . ; 31 32 /* Strip unnecessary stuff */ 33 /DISCARD/ : { *(.comment .note .eh_frame .dtors .stab .stabstr .debug*) } 34} 35