1 diff -urN binutils-2.17-orig/bfd/config.bfd binutils-2.17/bfd/config.bfd
2 --- binutils-2.17-orig/bfd/config.bfd 2006-04-05 07:41:57.000000000 -0500
3 +++ binutils-2.17/bfd/config.bfd 2007-07-29 16:19:09.000000000 -0500
5 targ_selvecs="i386linux_vec bfd_efi_app_ia32_vec"
6 targ64_selvecs=bfd_elf64_x86_64_vec
8 + i[5-7]86-*-polintos*)
9 + targ_defvec=bfd_elf32_i386_vec
10 + targ64_selvecs=bfd_elf64_x86_64_vec
15 targ_defvec=bfd_elf64_x86_64_vec
17 targ_defvec=bfd_elf64_x86_64_vec
18 targ_selvecs="bfd_elf32_i386_vec i386linux_vec bfd_efi_app_ia32_vec"
21 + targ_defvec=bfd_elf64_x86_64_vec
22 + targ_selvecs=bfd_elf32_i386_vec
26 targ_defvec=bfd_elf32_i386_vec
27 diff -urN binutils-2.17-orig/config.guess binutils-2.17/config.guess
28 --- binutils-2.17-orig/config.guess 2006-01-16 11:34:37.000000000 -0600
29 +++ binutils-2.17/config.guess 2007-07-29 16:17:34.000000000 -0500
31 # Note: order is significant - the case branches are not exclusive.
33 case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
35 + echo ${UNAME_MACHINE}-polintos
38 # NetBSD (nbsd) targets should (where applicable) match one or
39 # more of the tupples: *-*-netbsdelf*, *-*-netbsdaout*,
40 diff -urN binutils-2.17-orig/config.sub binutils-2.17/config.sub
41 --- binutils-2.17-orig/config.sub 2006-01-16 11:34:37.000000000 -0600
42 +++ binutils-2.17/config.sub 2007-07-29 16:18:09.000000000 -0500
44 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
45 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
46 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
47 - | -skyos* | -haiku* | -rdos*)
48 + | -skyos* | -haiku* | -rdos* | -polintos*)
49 # Remember, each alternative MUST END IN *, to match a version number.
52 diff -urN binutils-2.17-orig/gas/configure.tgt binutils-2.17/gas/configure.tgt
53 --- binutils-2.17-orig/gas/configure.tgt 2006-04-05 07:41:57.000000000 -0500
54 +++ binutils-2.17/gas/configure.tgt 2007-07-29 16:19:13.000000000 -0500
56 i386-*-interix*) fmt=coff em=interix ;;
57 i386-*-mingw32*) fmt=coff em=pe ;;
58 i386-*-nto-qnx*) fmt=elf ;;
59 + i386-*-polintos*) fmt=elf ;;
60 i386-*-*nt*) fmt=coff em=pe ;;
61 i386-*-chaos) fmt=elf ;;
62 i386-*-rdos*) fmt=elf ;;
63 diff -urN binutils-2.17-orig/ld/configure.tgt binutils-2.17/ld/configure.tgt
64 --- binutils-2.17-orig/ld/configure.tgt 2006-04-05 07:41:57.000000000 -0500
65 +++ binutils-2.17/ld/configure.tgt 2007-07-29 16:20:05.000000000 -0500
67 i[3-7]86-*-vxworks*) targ_emul=elf_i386_vxworks ;;
68 i[3-7]86-*-chaos) targ_emul=elf_i386_chaos
70 +i[5-7]86-*-polintos) targ_emul=elf_i386
71 + if test x${want64} = xtrue; then
72 + targ_extra_emuls="$targ_extra_emuls elf_x86_64"
75 +x86_64-*-polintos*) targ_emul=elf_x86_64
76 + targ_extra_emuls="elf_i386"
78 i860-*-coff) targ_emul=coff_i860 ;;
79 i860-stardent-sysv4* | i860-stardent-elf*)