aboutsummaryrefslogtreecommitdiff
path: root/ld/ldgldm88kbcs.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/ldgldm88kbcs.sc
parentc67056970aca5cc403e8fde116512055a4beb29c (diff)
downloadgdb-01bc4918d7d850eac440398dbf68807587aeb9a0.zip
gdb-01bc4918d7d850eac440398dbf68807587aeb9a0.tar.gz
gdb-01bc4918d7d850eac440398dbf68807587aeb9a0.tar.bz2
Initial revision
Diffstat (limited to 'ld/ldgldm88kbcs.sc')
-rwxr-xr-xld/ldgldm88kbcs.sc40
1 files changed, 40 insertions, 0 deletions
diff --git a/ld/ldgldm88kbcs.sc b/ld/ldgldm88kbcs.sc
new file mode 100755
index 0000000..c4cb37e
--- /dev/null
+++ b/ld/ldgldm88kbcs.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 = .;
+ }
+}
+
+
+