binutils-gdb/ld/ldglda29k.sc
Per Bothner ee17cac9c6 * ldexp.h, ldlang.h: Change enum boolean -> enum bfd_boolean.
* ldtemplate: Remove ldfile_add_library_path calls;
	just use the SEARCH_DIR commands in the script files.
	* Makefile.in: Add LIB_PATH macro, which if set is used to replace
	the SEARCH_DIR commands in the scripts (using ugly sed magic).
	This is primarily intended for cross-linking, where you would
	place libaries in a different place than native libraries.
	Also, emulations made from ldtemplate now use $(srcdir).
	* ldglda29k.sc: Change SEARCH_DIR commands to a conventional
	form; people can use the Makefile's LIB_PATH to override.
1991-10-08 23:18:03 +00:00

39 lines
888 B
Scala
Executable File

OUTPUT_FORMAT("coff-a29k-big")
INPUT(/lab3/u3/sym1/tools/usr/lib/segments.o) /* Has .rstack/.mstack */
SEARCH_DIR(/lib)
SEARCH_DIR(/usr/lib)
SEARCH_DIR(/usr/local/lib)
MEMORY {
text : ORIGIN = 0x1000000, LENGTH = 0x1000000
talias : ORIGIN = 0x2000000, LENGTH = 0x1000000
data : ORIGIN = 0x3000000, LENGTH = 0x1000000
mstack : ORIGIN = 0x4000000, LENGTH = 0x1000000
rstack : ORIGIN = 0x5000000, LENGTH = 0x1000000
}
SECTIONS
{
.text : {
*(.text)
__etext = .;
*(.lit)
*(.shdata)
} > text
.shbss SIZEOF(.text) + ADDR(.text) : {
*(.shbss)
}
.talias : { } > talias
.data : {
*(.data)
__edata = .;
} > data
.bss SIZEOF(.data) + ADDR(.data) :
{
*(.bss)
[COMMON]
__end = ALIGN(0x8);
}
.mstack : { } > mstack
.rstack : { } > rstack
}