aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-06-10 14:44:52 +0000
committerSteve Chamberlain <sac@cygnus>1992-06-10 14:44:52 +0000
commitbb63f602dd69131532d96b654e1d3aa51ea9087d (patch)
tree1246b5316b02179c15b062ad0190f55fe544f461 /ld
parent3b57ba900830af08b07fdc3d7e34a9fa4595bb29 (diff)
downloadgdb-bb63f602dd69131532d96b654e1d3aa51ea9087d.zip
gdb-bb63f602dd69131532d96b654e1d3aa51ea9087d.tar.gz
gdb-bb63f602dd69131532d96b654e1d3aa51ea9087d.tar.bz2
Keep this just in case
Diffstat (limited to 'ld')
-rw-r--r--ld/scripts/isc-sysv3.2.sc36
1 files changed, 36 insertions, 0 deletions
diff --git a/ld/scripts/isc-sysv3.2.sc b/ld/scripts/isc-sysv3.2.sc
new file mode 100644
index 0000000..db5f1bc
--- /dev/null
+++ b/ld/scripts/isc-sysv3.2.sc
@@ -0,0 +1,36 @@
+/*
+Script by mohring@informatik.tu-muenchen.de
+for ISC SYSV 3.2/386
+*/
+TARGET("coff-i386")
+OUTPUT_FORMAT("coff-i386")
+OUTPUT_ARCH(i386)
+SEARCH_DIR(/lib)
+SEARCH_DIR(/usr/lib)
+SEARCH_DIR(/usr/local/lib)
+SEARCH_DIR(/usr2/lib)
+ENTRY(_start)
+
+SECTIONS {
+ .text SIZEOF_HEADERS :
+ {
+ CREATE_OBJECT_SYMBOLS
+ *(.init);
+ *(.text);
+ *(.fini);
+ etext = . ;
+ }
+
+ .data NEXT(0x400000) + (SIZEOF(.text) + ADDR(.text)) % 0x2000:
+ {
+ *(.data);
+ edata = . ;
+ }
+
+ .bss SIZEOF(.data) + ADDR(.data) :
+ {
+ *(.bss);
+ [COMMON]
+ end = . ;
+ }
+}