aboutsummaryrefslogtreecommitdiff
path: root/ld/ldgld.sc
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-09-03 21:01:03 +0000
committerSteve Chamberlain <steve@cygnus>1991-09-03 21:01:03 +0000
commit01bc4918d7d850eac440398dbf68807587aeb9a0 (patch)
tree6321f4372c75e98bf52d45e299e21169b2275357 /ld/ldgld.sc
parentc67056970aca5cc403e8fde116512055a4beb29c (diff)
downloadgdb-01bc4918d7d850eac440398dbf68807587aeb9a0.zip
gdb-01bc4918d7d850eac440398dbf68807587aeb9a0.tar.gz
gdb-01bc4918d7d850eac440398dbf68807587aeb9a0.tar.bz2
Initial revision
Diffstat (limited to 'ld/ldgld.sc')
-rwxr-xr-xld/ldgld.sc30
1 files changed, 30 insertions, 0 deletions
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 = .;
+ }
+}
+
+