Initial revision
This commit is contained in:
parent
565a4c769c
commit
e9fcc7432e
2 changed files with 39 additions and 0 deletions
1
ld/config/ebmon29k.mt
Normal file
1
ld/config/ebmon29k.mt
Normal file
|
@ -0,0 +1 @@
|
|||
TDEFINES = -DDEFAULT_EMULATION=EBMON29K_EMULATION_NAME
|
38
ld/ebmon29k.sc
Executable file
38
ld/ebmon29k.sc
Executable file
|
@ -0,0 +1,38 @@
|
|||
OUTPUT_FORMAT("coff-a29k-big")
|
||||
|
||||
SEARCH_DIR(/lib)
|
||||
SEARCH_DIR(/usr/lib)
|
||||
SEARCH_DIR(/usr/local/lib)
|
||||
MEMORY {
|
||||
text : ORIGIN = 0x1000000, LENGTH = 0x1000000
|
||||
talias : ORIGIN = 0x2000000, LENGTH = 0x1000000
|
||||
data : ORIGIN = 0x3000000, LENGTH = 0x1000000
|
||||
mstack : ORIGIN = 0x4000000, LENGTH = 0x1000000
|
||||
rstack : ORIGIN = 0x5000000, LENGTH = 0x1000000
|
||||
}
|
||||
SECTIONS
|
||||
{
|
||||
.text : {
|
||||
*(.text)
|
||||
__etext = .;
|
||||
*(.lit)
|
||||
*(.shdata)
|
||||
} > text
|
||||
.shbss SIZEOF(.text) + ADDR(.text) : {
|
||||
*(.shbss)
|
||||
}
|
||||
.talias : { } > talias
|
||||
.data : {
|
||||
*(.data)
|
||||
__edata = .;
|
||||
} > data
|
||||
.bss SIZEOF(.data) + ADDR(.data) :
|
||||
{
|
||||
*(.bss)
|
||||
[COMMON]
|
||||
__end = ALIGN(0x8);
|
||||
}
|
||||
.mstack : { } > mstack
|
||||
.rstack : { } > rstack
|
||||
}
|
||||
|
Loading…
Reference in a new issue