]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - toolchain-patches/binutils/2.16.1/ld-config.patch
Add toolchain patches.
[polintos/scott/priv.git] / toolchain-patches / binutils / 2.16.1 / ld-config.patch
diff --git a/toolchain-patches/binutils/2.16.1/ld-config.patch b/toolchain-patches/binutils/2.16.1/ld-config.patch
new file mode 100644 (file)
index 0000000..a7e4713
--- /dev/null
@@ -0,0 +1,17 @@
+--- binutils-2.16.1/ld/configure.tgt.ORIG      Fri Apr  7 18:06:53 2006
++++ binutils-2.16.1/ld/configure.tgt   Fri Apr  7 18:13:30 2006
+@@ -235,6 +235,14 @@
+ i[3-7]86-*-beos*)     targ_emul=elf_i386_be ;;
+ i[3-7]86-*-vxworks*)  targ_emul=elf_i386 ;;
+ i[3-7]86-*-chaos)     targ_emul=elf_i386_chaos ;;
++i[5-7]86-*-polintos)  targ_emul=elf_i386
++                      if test x${want64} = xtrue; then
++                              targ_extra_emuls="$targ_extra_emuls elf_x86_64"
++                      fi
++                      ;;
++x86_64-*-polintos*)   targ_emul=elf_x86_64
++                      targ_extra_emuls="elf_i386"
++                      ;;
+ m8*-*-*)              targ_emul=m88kbcs ;;
+ a29k-*-udi)           targ_emul=sa29200 ;;
+ a29k-*-ebmon)         targ_emul=ebmon29k ;;