aboutsummaryrefslogtreecommitdiff
path: root/ld/ldm88k.sc
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-09-03 21:12:23 +0000
committerSteve Chamberlain <steve@cygnus>1991-09-03 21:12:23 +0000
commit81003d7e1aa94e8be0436bfff9bf4c116b7cb734 (patch)
treecd7bc1c7e56c60a7b9156648098799b34e90508b /ld/ldm88k.sc
parent30104b16c32c5173e72221394a6319de81fd9581 (diff)
downloadgdb-81003d7e1aa94e8be0436bfff9bf4c116b7cb734.zip
gdb-81003d7e1aa94e8be0436bfff9bf4c116b7cb734.tar.gz
gdb-81003d7e1aa94e8be0436bfff9bf4c116b7cb734.tar.bz2
Initial revision
Diffstat (limited to 'ld/ldm88k.sc')
-rwxr-xr-xld/ldm88k.sc40
1 files changed, 40 insertions, 0 deletions
diff --git a/ld/ldm88k.sc b/ld/ldm88k.sc
new file mode 100755
index 0000000..c4cb37e
--- /dev/null
+++ b/ld/ldm88k.sc
@@ -0,0 +1,40 @@
+TARGET(m88kbcs)
+OUTPUT_FORMAT(m88kbcs)
+OUTPUT_ARCH(m88k)
+ENTRY(__start)
+SEARCH_DIR(/lib)
+SEARCH_DIR(/usr/lib)
+SEARCH_DIR(/usr/local/lib)
+SECTIONS
+{
+ .text 0x10000 + SIZEOF_HEADERS :
+ {
+ __.text.start = .;
+ __.init.start = .;
+ LONG(0xf400c001)
+ __.init.end = .;
+ *(.text)
+ __.tdesc_start = .;
+ *(.tdesc)
+ __.text_end = .;
+ __.initp.start = .;
+ __.initp.end =.;
+
+ _etext =.;
+ }
+ .data SIZEOF(.text) + ADDR(.text) + 0x400000:
+ {
+ *(.data)
+ _edata = .;
+ }
+ .bss SIZEOF(.data) + ADDR(.data) :
+ {
+ *(.bss)
+ [COMMON]
+ _end = .;
+ ___end = .;
+ }
+}
+
+
+