aboutsummaryrefslogtreecommitdiff
path: root/ld/ldglda29k.script
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-07-15 23:43:15 +0000
committerSteve Chamberlain <steve@cygnus>1991-07-15 23:43:15 +0000
commit2013f9b4e1ae20e1ea6be008caeebc3363521d1d (patch)
tree4d5decf8b77da3e2bbf4fda242714d96ad022bd2 /ld/ldglda29k.script
parenta737c70bdefcff76e922e4b0671ac001c1ae4e3d (diff)
downloadgdb-2013f9b4e1ae20e1ea6be008caeebc3363521d1d.zip
gdb-2013f9b4e1ae20e1ea6be008caeebc3363521d1d.tar.gz
gdb-2013f9b4e1ae20e1ea6be008caeebc3363521d1d.tar.bz2
Initial revision
Diffstat (limited to 'ld/ldglda29k.script')
-rwxr-xr-xld/ldglda29k.script38
1 files changed, 38 insertions, 0 deletions
diff --git a/ld/ldglda29k.script b/ld/ldglda29k.script
new file mode 100755
index 0000000..6d7d19a
--- /dev/null
+++ b/ld/ldglda29k.script
@@ -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
+}
+