| diff -ur binutils-2.24/bfd/config.bfd binutils-2.24-ros/bfd/config.bfd | 
 | --- binutils-2.24/bfd/config.bfd	2013-11-04 10:33:37.000000000 -0500 | 
 | +++ binutils-2.24-ros/bfd/config.bfd	2015-03-13 19:04:52.880987644 -0400 | 
 | @@ -538,6 +538,9 @@ | 
 |    i[3-7]86-*-aros*) | 
 |      targ_defvec=bfd_elf32_i386_vec | 
 |      ;; | 
 | +  i[3-7]86-*-akaros*) | 
 | +    targ_defvec=bfd_elf32_i386_vec | 
 | +    ;; | 
 |    i[3-7]86-*-chorus*) | 
 |      targ_defvec=bfd_elf32_i386_vec | 
 |      ;; | 
 | @@ -637,6 +640,11 @@ | 
 |      targ_archs="$targ_archs bfd_powerpc_arch bfd_rs6000_arch" | 
 |      want64=true | 
 |      ;; | 
 | +  x86_64-*-akaros*) | 
 | +    targ_defvec=bfd_elf64_x86_64_vec | 
 | +    targ_selvecs="bfd_elf32_i386_vec bfd_elf64_l1om_vec" | 
 | +    want64=true | 
 | +    ;; | 
 |    x86_64-*-dicos*) | 
 |      targ_defvec=bfd_elf64_x86_64_vec | 
 |      targ_selvecs="bfd_elf32_i386_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec" | 
 | diff -ur binutils-2.24/config.sub binutils-2.24-ros/config.sub | 
 | --- binutils-2.24/config.sub	2013-11-26 06:37:33.000000000 -0500 | 
 | +++ binutils-2.24-ros/config.sub	2015-03-13 19:04:52.884987755 -0400 | 
 | @@ -1356,7 +1356,7 @@ | 
 |  	      | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ | 
 |  	      | -sym* | -kopensolaris* | -plan9* \ | 
 |  	      | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | 
 | -	      | -aos* | -aros* \ | 
 | +	      | -aos* | -aros* | -akaros* \ | 
 |  	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | 
 |  	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | 
 |  	      | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | 
 | diff -ur binutils-2.24/configure binutils-2.24-ros/configure | 
 | --- binutils-2.24/configure	2013-11-08 05:13:48.000000000 -0500 | 
 | +++ binutils-2.24-ros/configure	2015-03-13 19:06:34.523764718 -0400 | 
 | @@ -2953,7 +2953,7 @@ | 
 |        *-*-elf* | *-*-sysv4* | *-*-unixware* | *-*-eabi* | hppa*64*-*-hpux* \ | 
 |        | *-*-linux* | *-*-gnu* | frv-*-uclinux* | *-*-irix5* | *-*-irix6* \ | 
 |        | *-*-netbsd* | *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* \ | 
 | -      | *-*-solaris2* | *-*-nto* | *-*-nacl*) | 
 | +      | *-*-solaris2* | *-*-nto* | *-*-nacl* | *-*-akaros*) | 
 |          case "${target}" in | 
 |            *-*-linux*aout* | *-*-linux*oldld*) | 
 |              ;; | 
 | @@ -7027,6 +7027,10 @@ | 
 |    *-*-mingw* | *-*-cygwin ) RPATH_ENVVAR=PATH ;; | 
 |    *) RPATH_ENVVAR=LD_LIBRARY_PATH ;; | 
 |  esac | 
 | +# Override RPATH_ENVVAR, courtesy of Gentoo.  See this thread for more info: | 
 | +# http://www.cygwin.com/ml/binutils/2010-02/msg00266.html | 
 | +# http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo/src/patchsets/binutils/2.20/08_all_binutils-RPATH_ENVVAR-smack.patch?view=markup&revision=1.1 | 
 | +RPATH_ENVVAR="cant_touch_this_nah_nah_nah" | 
 |   | 
 |  # On systems where the dynamic library environment variable is PATH, | 
 |  # gcc/ will put dynamic libraries into a subdirectory to avoid adding | 
 | diff -ur binutils-2.24/gas/configure.tgt binutils-2.24-ros/gas/configure.tgt | 
 | --- binutils-2.24/gas/configure.tgt	2013-11-04 10:33:37.000000000 -0500 | 
 | +++ binutils-2.24-ros/gas/configure.tgt	2015-03-13 19:04:52.888987865 -0400 | 
 | @@ -206,6 +206,7 @@ | 
 |    i386-*-beos*)				fmt=elf ;; | 
 |    i386-*-coff)				fmt=coff ;; | 
 |    i386-*-elf)				fmt=elf ;; | 
 | +  i386-*-akaros)			fmt=elf ;; | 
 |    i386-*-kaos*)				fmt=elf ;; | 
 |    i386-*-bsd*)				fmt=aout em=386bsd ;; | 
 |    i386-*-nacl*)				fmt=elf em=nacl | 
 | diff -ur binutils-2.24/gold/binary.cc binutils-2.24-ros/gold/binary.cc | 
 | --- binutils-2.24/gold/binary.cc	2015-11-02 15:17:29.049801929 -0500 | 
 | +++ binutils-2.24-ros/gold/binary.cc	2015-11-02 15:17:38.246051136 -0500 | 
 | @@ -24,13 +24,13 @@ | 
 |   | 
 |  #include <cerrno> | 
 |  #include <cstring> | 
 | -#include "safe-ctype.h" | 
 |   | 
 |  #include "elfcpp.h" | 
 |  #include "stringpool.h" | 
 |  #include "fileread.h" | 
 |  #include "output.h" | 
 |  #include "binary.h" | 
 | +#include "safe-ctype.h" | 
 |   | 
 |  // Support for reading binary files as input.  These become blobs in | 
 |  // the final output.  These files are treated as though they have a | 
 | diff -ur binutils-2.24/ld/configure.tgt binutils-2.24-ros/ld/configure.tgt | 
 | --- binutils-2.24/ld/configure.tgt	2013-11-26 06:37:33.000000000 -0500 | 
 | +++ binutils-2.24-ros/ld/configure.tgt	2015-03-13 19:04:52.888987865 -0400 | 
 | @@ -284,6 +284,10 @@ | 
 |  			targ_extra_libpath="elf_i386 elf32_x86_64 elf_l1om elf_k1om" | 
 |  			tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` | 
 |  			;; | 
 | +i[3-7]86-*-akaros)	targ_emul=elf_i386 ;; | 
 | +x86_64-*-akaros*)	targ_emul=elf_x86_64 | 
 | +			targ_extra_emuls="elf_i386 elf_l1om" | 
 | +			;; | 
 |  i[3-7]86-*-kaos*)	targ_emul=elf_i386 ;; | 
 |  i[3-7]86-*-freebsdaout* | i[3-7]86-*-freebsd[12].* | i[3-7]86-*-freebsd[12]) | 
 |  			targ_emul=i386bsd ;; |