aboutsummaryrefslogtreecommitdiff
path: root/ld/ebmon29k.sc
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-10-11 19:32:24 +0000
committerSteve Chamberlain <steve@cygnus>1991-10-11 19:32:24 +0000
commite9fcc7432ea6999a9f0bb20e3ab13482220cb8e0 (patch)
tree5b96f30ceb8ebe8912f8b38b2b670ed29d95323b /ld/ebmon29k.sc
parent565a4c769c65bbb8c303d635922e2253d3deeab7 (diff)
downloadgdb-e9fcc7432ea6999a9f0bb20e3ab13482220cb8e0.zip
gdb-e9fcc7432ea6999a9f0bb20e3ab13482220cb8e0.tar.gz
gdb-e9fcc7432ea6999a9f0bb20e3ab13482220cb8e0.tar.bz2
Initial revision
Diffstat (limited to 'ld/ebmon29k.sc')
-rwxr-xr-xld/ebmon29k.sc38
1 files changed, 38 insertions, 0 deletions
diff --git a/ld/ebmon29k.sc b/ld/ebmon29k.sc
new file mode 100755
index 0000000..838aef4
--- /dev/null
+++ b/ld/ebmon29k.sc
@@ -0,0 +1,38 @@
+OUTPUT_FORMAT("coff-a29k-big")
+
+SEARCH_DIR(/lib)
+SEARCH_DIR(/usr/lib)
+SEARCH_DIR(/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
+}
+