mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-05 10:57:57 +00:00
b7e24eef35
* ldtemplate: Add (yet another) script to get for -n or -N options. (These need different alignment than ZMAGIC files.) * Makefile.in: Add stuff for new foo.xn scripts. These are generated by replacing "ALIGN(0x...00)" by ".".
30 lines
500 B
Scala
Executable File
30 lines
500 B
Scala
Executable File
OUTPUT_FORMAT("a.out-newsos3")
|
|
OUTPUT_ARCH(m68k)
|
|
|
|
SEARCH_DIR(/lib)
|
|
SEARCH_DIR(/usr/lib)
|
|
SEARCH_DIR(/usr/local/lib)
|
|
__DYNAMIC = 0;
|
|
SECTIONS
|
|
{
|
|
.text 0:
|
|
{
|
|
CREATE_OBJECT_SYMBOLS
|
|
*(.text)
|
|
_etext = ALIGN(0x1000);
|
|
}
|
|
.data ALIGN(0x1000) :
|
|
{
|
|
*(.data)
|
|
CONSTRUCTORS;
|
|
_edata = .;
|
|
}
|
|
.bss SIZEOF(.data) + ADDR(.data) :
|
|
{
|
|
*(.bss)
|
|
[COMMON]
|
|
_end = .;
|
|
}
|
|
}
|
|
|