From: Ian Lance Taylor Date: Fri, 17 Sep 1993 22:17:52 +0000 (+0000) Subject: Add i386 SVR4 configuration files that I couldn't add remotely. See X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=03451d7fa4910d1cd7b7691ed1ada7e1d76017e1;p=binutils-gdb.git Add i386 SVR4 configuration files that I couldn't add remotely. See ChangeLog. --- diff --git a/ld/config/.Sanitize b/ld/config/.Sanitize index aed15046964..2a0f25fbd9e 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 00000000000..f7c806161cd --- /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 00000000000..5d0c5496eef --- /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 80c220da8bb..3a44de066ad 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 00000000000..cb08fdb003d --- /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