old-cross-binutils/ld/news.sc
Per Bothner b7e24eef35 * news.sc: Add alignment for data segment.
* ldtemplate: Add (yet another) script to get for -n or -N
	options.  (These need different alignment than ZMAGIC files.)
	* Makefile.in:  Add stuff for new foo.xn scripts.
	These are generated by replacing "ALIGN(0x...00)" by ".".
1991-10-11 23:47:05 +00:00

29 lines
500 B
Scala
Executable file

OUTPUT_FORMAT("a.out-newsos3")
OUTPUT_ARCH(m68k)
SEARCH_DIR(/lib)
SEARCH_DIR(/usr/lib)
SEARCH_DIR(/usr/local/lib)
__DYNAMIC = 0;
SECTIONS
{
.text 0:
{
CREATE_OBJECT_SYMBOLS
*(.text)
_etext = ALIGN(0x1000);
}
.data ALIGN(0x1000) :
{
*(.data)
CONSTRUCTORS;
_edata = .;
}
.bss SIZEOF(.data) + ADDR(.data) :
{
*(.bss)
[COMMON]
_end = .;
}
}