old-cross-binutils/ld/ldm88k.sc

47 lines
884 B
Python
Raw Normal View History

1991-09-03 21:12:23 +00:00
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 */
1991-09-03 21:12:23 +00:00
__.text.start = .;
__.init.start = .;
LONG(0xf400c001)
__.init.end = .;
/* End if relocating */
1991-09-03 21:12:23 +00:00
*(.text)
/* If relocating */
1991-09-03 21:12:23 +00:00
__.tdesc_start = .;
*(.tdesc)
__.text_end = .;
__.initp.start = .;
__.initp.end =.;
_etext =.;
/* End if relocating */
1991-09-03 21:12:23 +00:00
}
.data SIZEOF(.text) + ADDR(.text) + 0x400000:
{
*(.data)
CONSTRUCTORS;
_edata = .;
1991-09-03 21:12:23 +00:00
}
.bss SIZEOF(.data) + ADDR(.data) :
{
*(.bss)
[COMMON]
_end = .;
___end = .;
}
}