5 rom : ORIGIN = 0x00000000, LENGTH = 0x00a00000
6 ram : ORIGIN = 0x00ff0000, LENGTH = 0x00010000
9 PROVIDE (_stacktop = 0x01000000);
12 /* ---- start of ROM ---- */
13 /* .vect section is used to place the m68k exception vectors at the
14 * beginning of the address space
16 .vect : { * (.vect); } >rom
17 /* .romhdr section is used to place the SEGA ROM header at 0x100 */
19 .romhdr : { * (.romhdr); } >rom
20 .text : { * (.text); } >rom
21 .rodata : { * (.rodata); } >rom
23 /* place the load address of the .data section after .rodata */
26 _rom_end = _data_lma + _data_size;
28 /* ---- start of RAM ---- */
30 /* place the .data section at the start of RAM */
31 .data ALIGN(4): AT (_data_lma) {
37 _data_size = SIZEOF(.data);
39 /* place the .bss section at the end */
47 _bss_size = SIZEOF(.bss);