Uses something which will actuall work on an ebmon system
This commit is contained in:
parent
63c92fcd96
commit
6089addcdc
1 changed files with 24 additions and 35 deletions
|
@ -1,38 +1,27 @@
|
|||
OUTPUT_FORMAT("coff-a29k-big")
|
||||
ENTRY(start)
|
||||
|
||||
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) :
|
||||
SECTIONS {
|
||||
.text 0x8000 :
|
||||
{
|
||||
*(.bss)
|
||||
[COMMON]
|
||||
__end = ALIGN(0x8);
|
||||
*(.text);
|
||||
_etext = . ;
|
||||
}
|
||||
.mstack : { } > mstack
|
||||
.rstack : { } > rstack
|
||||
}
|
||||
.data 0x80002000 :
|
||||
{
|
||||
*(.data);
|
||||
*(.mstack);
|
||||
*(.shbss);
|
||||
*(.rstack);
|
||||
*(.mstack);
|
||||
CONSTRUCTORS
|
||||
}
|
||||
.bss . :
|
||||
{
|
||||
|
||||
[COMMON]
|
||||
*(.bss);
|
||||
_end = .;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue