/* boot.o first: the vectors and header at 0, the DMA source at DSRC, and the patched tables. */ OUTPUT_ARCH(m68k) ENTRY(_start) MEMORY { ROM (rx) : ORIGIN = 0x000000, LENGTH = 2M RAM (rw) : ORIGIN = 0xFF2000, LENGTH = 0xF00 } SECTIONS { .text : { *boot.o(.text) *(.text .text.*) *(.rodata .rodata.*) . = ALIGN(2); } > ROM .data : { __data_start = .; *(.data .data.*) . = ALIGN(2); __data_end = .; } > RAM AT > ROM __data_load = LOADADDR(.data); __rom_end = __data_load + SIZEOF(.data); .bss (NOLOAD) : { __bss_start = .; *(.bss .bss.* COMMON) . = ALIGN(2); __bss_end = .; } > RAM /DISCARD/ : { *(.comment) *(.note*) *(.eh_frame*) *(.gnu*) } }