aboutsummaryrefslogtreecommitdiff
path: root/ld/ldglda29k.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/ldglda29k.sc
parentc67056970aca5cc403e8fde116512055a4beb29c (diff)
downloadgdb-01bc4918d7d850eac440398dbf68807587aeb9a0.zip
gdb-01bc4918d7d850eac440398dbf68807587aeb9a0.tar.gz
gdb-01bc4918d7d850eac440398dbf68807587aeb9a0.tar.bz2
Initial revision
Diffstat (limited to 'ld/ldglda29k.sc')
-rwxr-xr-xld/ldglda29k.sc38
1 files changed, 38 insertions, 0 deletions
diff --git a/ld/ldglda29k.sc b/ld/ldglda29k.sc
new file mode 100755
index 0000000..6d7d19a
--- /dev/null
+++ b/ld/ldglda29k.sc
@@ -0,0 +1,38 @@
+OUTPUT_FORMAT("coff-a29k-big")
+INPUT(/lab3/u3/sym1/tools/usr/lib/segments.o) /* Has .rstack/.mstack */
+SEARCH_DIR(/lab3/u3/sym1/tools/lib)
+SEARCH_DIR(/lab3/u3/sym1/tools/usr/lib)
+SEARCH_DIR(/lab3/u3/sym1/tools/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
+}
+