From 01bc4918d7d850eac440398dbf68807587aeb9a0 Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Tue, 3 Sep 1991 21:01:03 +0000 Subject: Initial revision --- ld/ldgld.sc | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 ld/ldgld.sc (limited to 'ld/ldgld.sc') diff --git a/ld/ldgld.sc b/ld/ldgld.sc new file mode 100755 index 0000000..15ff71f --- /dev/null +++ b/ld/ldgld.sc @@ -0,0 +1,30 @@ +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 = .; + } +} + + -- cgit v1.1