113 lines
4.8 KiB
Diff
113 lines
4.8 KiB
Diff
diff -Naur a/bfd/config.bfd b/bfd/config.bfd
|
|
--- a/bfd/config.bfd 2020-07-24 19:12:19.000000000 +1000
|
|
+++ b/bfd/config.bfd 2020-12-27 23:37:28.239177039 +1000
|
|
@@ -637,6 +637,10 @@
|
|
targ_selvecs=
|
|
targ64_selvecs=x86_64_elf64_vec
|
|
;;
|
|
+ i[3-7]86-*-quinn*)
|
|
+ targ_defvec=i386_elf32_vec
|
|
+ targ_selvecs=
|
|
+ ;;
|
|
#ifdef BFD64
|
|
x86_64-*-cloudabi*)
|
|
targ_defvec=x86_64_elf64_cloudabi_vec
|
|
diff -Naur a/config.sub b/config.sub
|
|
--- a/config.sub 2020-07-24 19:12:19.000000000 +1000
|
|
+++ b/config.sub 2020-12-27 23:37:28.259176191 +1000
|
|
@@ -1343,7 +1343,7 @@
|
|
| hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
|
|
| sym* | kopensolaris* | plan9* \
|
|
| amigaos* | amigados* | msdos* | newsos* | unicos* | aof* \
|
|
- | aos* | aros* | cloudabi* | sortix* | twizzler* \
|
|
+ | aos* | aros* | cloudabi* | sortix* | quinn* | twizzler* \
|
|
| nindy* | vxsim* | vxworks* | ebmon* | hms* | mvs* \
|
|
| clix* | riscos* | uniplus* | iris* | isc* | rtu* | xenix* \
|
|
| knetbsd* | mirbsd* | netbsd* \
|
|
diff -Naur a/gas/configure.tgt b/gas/configure.tgt
|
|
--- a/gas/configure.tgt 2020-07-24 19:12:19.000000000 +1000
|
|
+++ b/gas/configure.tgt 2020-12-27 23:37:28.211178225 +1000
|
|
@@ -225,6 +225,7 @@
|
|
i386-*-knetbsd*-gnu | \
|
|
i386-*-netbsd* | \
|
|
i386-*-openbsd*) fmt=elf em=nbsd ;;
|
|
+ i386-*-quinn*) fmt=elf ;;
|
|
i386-*-linux-*) fmt=elf em=linux
|
|
case ${cpu}-${os} in
|
|
x86_64*-linux-gnux32) arch=x86_64:32 ;;
|
|
diff -Naur a/ld/configure.tgt b/ld/configure.tgt
|
|
--- a/ld/configure.tgt 2020-07-24 19:12:20.000000000 +1000
|
|
+++ b/ld/configure.tgt 2020-12-27 23:37:27.935189922 +1000
|
|
@@ -381,6 +381,9 @@
|
|
i[3-7]86-*-pe) targ_emul=i386pe ;
|
|
targ_extra_ofiles="deffilep.o pe-dll.o"
|
|
;;
|
|
+i[3-7]86-*-quinn*) targ_emul=elf_i386_quinn ;
|
|
+ targ_extra_emuls=elf_i386
|
|
+ ;;
|
|
i[3-7]86-*-cygwin*) targ_emul=i386pe ;
|
|
targ_extra_ofiles="deffilep.o pe-dll.o" ;
|
|
test "$targ" != "$host" && LIB_PATH='${tooldir}/lib/w32api'
|
|
diff -Naur a/ld/emulparams/elf_i386_quinn.sh b/ld/emulparams/elf_i386_quinn.sh
|
|
--- a/ld/emulparams/elf_i386_quinn.sh 1970-01-01 10:00:00.000000000 +1000
|
|
+++ b/ld/emulparams/elf_i386_quinn.sh 2020-12-27 23:37:27.931190092 +1000
|
|
@@ -0,0 +1,4 @@
|
|
+source_sh ${srcdir}/emulparams/elf_i386.sh
|
|
+GENERATE_SHLIB_SCRIPT=yes
|
|
+GENERATE_PIE_SCRIPT=yes
|
|
+TEXT_START_ADDR=0x40000000
|
|
diff -Naur a/ld/Makefile.am b/ld/Makefile.am
|
|
--- a/ld/Makefile.am 2020-07-24 19:12:20.000000000 +1000
|
|
+++ b/ld/Makefile.am 2020-12-27 23:37:27.927190261 +1000
|
|
@@ -282,6 +282,7 @@
|
|
eelf32z80.c \
|
|
eelf_i386.c \
|
|
eelf_i386_be.c \
|
|
+ eelf_i386_quinn.c \
|
|
eelf_i386_fbsd.c \
|
|
eelf_i386_ldso.c \
|
|
eelf_i386_sol2.c \
|
|
@@ -771,6 +772,7 @@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_fbsd.Pc@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_ldso.Pc@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_sol2.Pc@am__quote@
|
|
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_quinn.Pc@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_vxworks.Pc@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_iamcu.Pc@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_s390.Pc@am__quote@
|
|
diff -Naur a/ld/Makefile.in b/ld/Makefile.in
|
|
--- a/ld/Makefile.in 2020-09-19 20:21:33.000000000 +1000
|
|
+++ b/ld/Makefile.in 2020-12-27 23:49:02.253851777 +1000
|
|
@@ -515,6 +515,7 @@
|
|
prefix = @prefix@
|
|
program_transform_name = @program_transform_name@
|
|
psdir = @psdir@
|
|
+runstatedir = @runstatedir@
|
|
sbindir = @sbindir@
|
|
sharedstatedir = @sharedstatedir@
|
|
srcdir = @srcdir@
|
|
@@ -765,6 +766,7 @@
|
|
eelf32z80.c \
|
|
eelf_i386.c \
|
|
eelf_i386_be.c \
|
|
+ eelf_i386_quinn.c \
|
|
eelf_i386_fbsd.c \
|
|
eelf_i386_ldso.c \
|
|
eelf_i386_sol2.c \
|
|
@@ -1370,6 +1372,7 @@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_be.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_fbsd.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_ldso.Po@am__quote@
|
|
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_quinn.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_sol2.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_vxworks.Po@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_iamcu.Po@am__quote@
|
|
@@ -2366,6 +2369,7 @@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_fbsd.Pc@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_ldso.Pc@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_sol2.Pc@am__quote@
|
|
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_quinn.Pc@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_vxworks.Pc@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_iamcu.Pc@am__quote@
|
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_s390.Pc@am__quote@
|