Subversion Repositories Spectranet

[/] [branches/] [gnubinutils/] [rom/] [page0.ld] - Blame information for rev 384

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 384 winston
/* Spectranet modules LD script */
2
OUTPUT_FORMAT("binary")
3
OUTPUT_ARCH("z80")
4
MEMORY {
5
/*   pagez : ORIGIN = 0x007D, LENGTH = 0x0F83 */
6
   pagez : ORIGIN = 0x007D, LENGTH = 0x1100
7
   rst0 : ORIGIN = 0x0000, LENGTH = 0x0008
8
   rst8 : ORIGIN = 0x0008, LENGTH = 0x0008
9
   rst10 : ORIGIN = 0x0010, LENGTH = 0x0018
10
   rst28 : ORIGIN = 0x0028, LENGTH = 0x0008
11
   rst30 : ORIGIN = 0x0030, LENGTH = 0x0008
12
   isr : ORIGIN = 0x0038, LENGTH = 0x002E
13
   nmi : ORIGIN = 0x0066, LENGTH = 0x0014
14
   unpage : ORIGIN = 0x007B, LENGTH = 0x0002
15
}
16
SECTIONS
17
{
18
.rst0 : {
19
        *(.rst0)
20
        *(rst0)
21
        __Hrst0 = .;
22
        } > rst0
23
.rst8 : {
24
        *(.rst8)
25
        *(rst8)
26
        __Hrst8 = .;
27
        } > rst8
28
.rst10 : {
29
        *(.rst10)
30
        *(rst10)
31
        __Hrst10 = .;
32
        } > rst10
33
.rst28 : {
34
        *(.rst28)
35
        *(rst28)
36
        __Hrst28 = .;
37
        } > rst28
38
.rst30 : {
39
        *(.rst30)
40
        *(rst30)
41
        __Hrst30 = .;
42
        } > rst30
43
.isr : {
44
        *(.isr)
45
        *(isr)
46
        __Hisr = .;
47
        } > isr
48
.nmi : {
49
        *(.nmi)
50
        *(nmi)
51
        __Hnmi = .;
52
        } > nmi
53
.unpage : {
54
        *(.unpage)
55
        *(unpage)
56
        __Hunpage = .;
57
        } > unpage
58
.text : {
59
        *(.text)
60
        *(text)
61
         __Htext = .;
62
        } > pagez
63
.data : {
64
         __Ldata = .;
65
        *(.data)
66
        *(data)
67
         __Hdata = .;
68
        } > pagez
69
.bss :  {
70
         __Lbss = .;
71
        *(.bss)
72
        *(bss)
73
         __Hbss = .;
74
        } > pagez
75
}
76