amiga_boottest

view amiga.ld @ 0:51422ea54b9d

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 21 Feb 2018 12:00:13 +0200
parents
children 48093e4bd99a
line source
1 OUTPUT_ARCH(m68k)
3 MEMORY
4 {
5 chipram : ORIGIN = 0, LENGTH = 0x80000
6 }
8 PROVIDE (_stacktop = 0x80000);
10 SECTIONS {
11 /* bootblock will load us at 100h, after the interrupt vectors */
12 . = 0x100;
14 .text : { * (.text); } >chipram
15 .rodata : { * (.rodata); } >chipram
16 .data : { * (.data); } >chipram
18 .bss ALIGN(4): {
19 _bss_start = .;
20 * (.bss);
21 . = ALIGN(4);
22 _bss_end = .;
23 } >chipram
24 _bss_size = SIZEOF(.bss);
26 .dummy ALIGN(4): { LONG(42); } >chipram
27 }