binutils-gdb/ld/ldgldm88kbcs.script

41 lines
732 B
Plaintext
Raw Normal View History

TARGET(m88kbcs)
1991-05-15 02:32:59 +09:00
OUTPUT_FORMAT(m88kbcs)
OUTPUT_ARCH(m88k)
ENTRY(__start)
1991-05-15 02:32:59 +09:00
SEARCH_DIR(/lib)
SEARCH_DIR(/usr/lib)
SEARCH_DIR(/usr/local/lib)
SECTIONS
{
.text 0x10000 + SIZEOF_HEADERS :
{
__.text.start = .;
__.init.start = .;
LONG(0xf400c001)
__.init.end = .;
*(.text)
__.tdesc_start = .;
*(.tdesc)
__.text_end = .;
__.initp.start = .;
__.initp.end =.;
_etext =.;
}
.data SIZEOF(.text) + ADDR(.text) + 0x400000:
{
*(.data)
_edata = .;
1991-05-15 02:32:59 +09:00
}
.bss SIZEOF(.data) + ADDR(.data) :
{
*(.bss)
[COMMON]
_end = .;
___end = .;
1991-05-15 02:32:59 +09:00
}
}