aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-09-17 22:17:52 +0000
committerIan Lance Taylor <ian@airs.com>1993-09-17 22:17:52 +0000
commit03451d7fa4910d1cd7b7691ed1ada7e1d76017e1 (patch)
tree63640409a02a44f18f6b47f1b4f9d1e5288ad745 /ld
parent80903ca67bad697cbc4af021b9657df618859724 (diff)
downloadfsf-binutils-gdb-03451d7fa4910d1cd7b7691ed1ada7e1d76017e1.zip
fsf-binutils-gdb-03451d7fa4910d1cd7b7691ed1ada7e1d76017e1.tar.gz
fsf-binutils-gdb-03451d7fa4910d1cd7b7691ed1ada7e1d76017e1.tar.bz2
Add i386 SVR4 configuration files that I couldn't add remotely. See
ChangeLog.
Diffstat (limited to 'ld')
-rw-r--r--ld/config/.Sanitize2
-rw-r--r--ld/config/i386-elf.mt1
-rw-r--r--ld/config/i386v4.mh3
-rw-r--r--ld/emulparams/.Sanitize1
-rw-r--r--ld/emulparams/elf_i386.sh7
5 files changed, 14 insertions, 0 deletions
diff --git a/ld/config/.Sanitize b/ld/config/.Sanitize
index aed1504..2a0f25f 100644
--- a/ld/config/.Sanitize
+++ b/ld/config/.Sanitize
@@ -41,10 +41,12 @@ hppaosf.mt
i386-aout.mt
i386-bsd.mt
i386-coff.mt
+i386-elf.mt
i386-linux.mt
i386sco.mh
i386v.mh
i386v.mt
+i386v4.mh
i960.mt
ieee-h8300.mt
irix4.mh
diff --git a/ld/config/i386-elf.mt b/ld/config/i386-elf.mt
new file mode 100644
index 0000000..f7c8061
--- /dev/null
+++ b/ld/config/i386-elf.mt
@@ -0,0 +1 @@
+EMUL=elf_i386
diff --git a/ld/config/i386v4.mh b/ld/config/i386v4.mh
new file mode 100644
index 0000000..5d0c549
--- /dev/null
+++ b/ld/config/i386v4.mh
@@ -0,0 +1,3 @@
+HOSTING_CRT0=/usr/ccs/lib/crt1.o /usr/ccs/lib/crti.o /usr/ccs/lib/values-Xa.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; fi`
+HOSTING_LIBS=`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; fi` /usr/ccs/lib/crtn.o
+NATIVE_LIB_DIRS=/usr/ccs/lib
diff --git a/ld/emulparams/.Sanitize b/ld/emulparams/.Sanitize
index 80c220d..3a44de0 100644
--- a/ld/emulparams/.Sanitize
+++ b/ld/emulparams/.Sanitize
@@ -29,6 +29,7 @@ a29k.sh
ebmon29k.sh
elf32_sparc.sh
elf64_sparc.sh
+elf_i386.sh
gld960.sh
go32.sh
h8300.sh
diff --git a/ld/emulparams/elf_i386.sh b/ld/emulparams/elf_i386.sh
new file mode 100644
index 0000000..cb08fdb
--- /dev/null
+++ b/ld/emulparams/elf_i386.sh
@@ -0,0 +1,7 @@
+SCRIPT_NAME=elf
+OUTPUT_FORMAT="elf32-i386"
+TEXT_START_ADDR=0x08000000
+MAXPAGESIZE=0x1000
+NONPAGED_TEXT_START_ADDR=0x08000000
+ARCH=i386
+NOP=0x9090