03aef4723c
options SPACE TAB makeoptions TAB psuedo-device TAB remove trailing whitespace replace multiple spaces -> tabs options "FOO" -> options FOO options "FOO=bar" -> options FOO=bar options "FOO=\"bar\"" -> options FOO="\"bar\""
50 lines
600 B
Plaintext
50 lines
600 B
Plaintext
OUTPUT_FORMAT("coff-shl")
|
|
OUTPUT_ARCH(sh)
|
|
MEMORY
|
|
{
|
|
ram : o = 0x0c010000, l = 16M
|
|
}
|
|
SECTIONS
|
|
{
|
|
.text :
|
|
{
|
|
*(.text)
|
|
*(.strings)
|
|
_etext = . ;
|
|
} > ram
|
|
.tors :
|
|
{
|
|
___ctors = . ;
|
|
*(.ctors)
|
|
___ctors_end = . ;
|
|
___dtors = . ;
|
|
*(.dtors)
|
|
___dtors_end = . ;
|
|
} > ram
|
|
.data :
|
|
{
|
|
*(.data)
|
|
_edata = . ;
|
|
} > ram
|
|
.bss :
|
|
{
|
|
_bss_start = . ;
|
|
*(.bss)
|
|
*(COMMON)
|
|
_end = . ;
|
|
} > ram
|
|
.stack :
|
|
{
|
|
_stack = . ;
|
|
*(.stack)
|
|
} > ram
|
|
.stab 0 (NOLOAD) :
|
|
{
|
|
*(.stab)
|
|
}
|
|
.stabstr 0 (NOLOAD) :
|
|
{
|
|
*(.stabstr)
|
|
}
|
|
}
|