old-cross-binutils/ld/ldgld.sc
Steve Chamberlain cbbdbb9f29 * config/mh-sparc.h: now uses libgcc.a
* 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
1992-01-29 16:43:16 +00:00

30 lines
579 B
Scala
Executable file

OUTPUT_ARCH(sparc)
OUTPUT_FORMAT("a.out-sunos-big")
SEARCH_DIR(/lib)
SEARCH_DIR(/usr/lib)
SEARCH_DIR(/usr/local/lib)
__DYNAMIC = 0;
SECTIONS
{
.text 0x2020 BLOCK(0x2000):
{
CREATE_OBJECT_SYMBOLS ;
*(.text);
_etext = ALIGN( 0x2000);
}
.data ALIGN(0x2000) :
{
*(.data);
CONSTRUCTORS;
_edata = .;
}
.bss SIZEOF(.data) + ADDR(.data) :
{
*(.bss)
*(COMMON)
_end = .;
__end = .;
}
}