cbbdbb9f29
* ldmain.c: quit using exit * *.sc: use *(COMMON) rather than [COMMON] * ldlex.l, lexsup.c: much thinking moved from .l and put into .c, to allow preprocessing of .l file. * Makefile.in: New ldlex.l mangling * ldexp.c (fold_binary): perform expressions with % and / in integer. * ldfile.c (open_a): open archives on VMS in a special way * lderror.c: forgot to check in from a long while ago
53 lines
957 B
Scala
Executable File
53 lines
957 B
Scala
Executable File
TARGET(m88kbcs)
|
|
OUTPUT_FORMAT(m88kbcs)
|
|
OUTPUT_ARCH(m88k)
|
|
ENTRY(__start)
|
|
SEARCH_DIR(/lib)
|
|
SEARCH_DIR(/usr/lib)
|
|
SEARCH_DIR(/usr/local/lib)
|
|
SECTIONS
|
|
{
|
|
.text 0x10000 + SIZEOF_HEADERS :
|
|
{
|
|
CREATE_OBJECT_SYMBOLS
|
|
/* If relocating */
|
|
__.text.start = .;
|
|
__.init.start = .;
|
|
LONG(0xf400c001)
|
|
__.init.end = .;
|
|
/* End if relocating */
|
|
*(.text)
|
|
/* If relocating */
|
|
__.tdesc_start = .;
|
|
*(.tdesc)
|
|
__.text_end = .;
|
|
__.initp.start = .;
|
|
__.initp.end =.;
|
|
|
|
_etext =.;
|
|
/* End if relocating */
|
|
}
|
|
.data SIZEOF(.text) + ADDR(.text) + 0x400000:
|
|
{
|
|
*(.data)
|
|
__CTOR_LIST__ = .;
|
|
*(CTOR)
|
|
LONG(0);
|
|
__DTOR_LIST__ = . ;
|
|
*(DTOR)
|
|
LONG(0);
|
|
*(.comment)
|
|
_edata = .;
|
|
}
|
|
.bss SIZEOF(.data) + ADDR(.data) :
|
|
{
|
|
*(.bss)
|
|
*(COMMON)
|
|
_end = .;
|
|
___end = .;
|
|
}
|
|
}
|
|
|
|
|
|
|