mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-05 02:47:05 +00:00
e1e5fbfcbb
* ldm88k.sc: "Clean up" script, so that ldm88kUr.sc and ldm88kr.sc can be automatically generated. * ldemul.c, configure.in, config.h, Makefile.in: Add support for Sony NewsOS3. * Makefile.in: Re-do the way ldemulation scipts and structures are done. do we only need one or two files for each emulation target (a TARGET.sc and optionally TARGET.c, if ldtemplate isn't suitable). This gets rid of lots of extra source files.
47 lines
884 B
Scala
Executable File
47 lines
884 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)
|
|
CONSTRUCTORS;
|
|
_edata = .;
|
|
}
|
|
.bss SIZEOF(.data) + ADDR(.data) :
|
|
{
|
|
*(.bss)
|
|
[COMMON]
|
|
_end = .;
|
|
___end = .;
|
|
}
|
|
}
|
|
|
|
|
|
|