amiga_boottest

view amiga.ld @ 4:995d42b33974

serial output
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 23 Feb 2018 13:29:37 +0200
parents 48093e4bd99a
children
line source
1 OUTPUT_ARCH(m68k)
3 PROVIDE (_stacktop = 0x80000);
5 SECTIONS {
6 /* bootblock will load us at 10000h */
7 . = 0x10000;
9 .startup : { * (.startup); }
10 .text : { * (.text); }
11 .rodata : { * (.rodata); }
12 .data : { * (.data); }
14 .dummy ALIGN(4): { LONG(42); }
16 .bss ALIGN(4): {
17 _bss_start = .;
18 * (.bss);
19 . = ALIGN(4);
20 _bss_end = .;
21 }
22 _bss_size = SIZEOF(.bss);
24 _mem_start = .;
25 }