Mercurial > projects > winelf > hg > index.cgi
view diffs/binutils-2.20-winelf.diff @ 5:6b8e05507b18
Windowsy updates (new binutils, gcc, and a fix to elfload).
author | Gregor Richards <Richards@codu.org> |
---|---|
date | Sun, 13 Dec 2009 19:28:20 -0500 |
parents | |
children |
line wrap: on
line source
diff -r 2c502f8f90f4 -r 1e51c3a535f6 bfd/config.bfd --- a/bfd/config.bfd Sun Dec 13 19:02:47 2009 -0500 +++ b/bfd/config.bfd Sun Dec 13 19:04:31 2009 -0500 @@ -494,7 +494,8 @@ ;; i[3-7]86-*-sysv4* | i[3-7]86-*-unixware* | \ i[3-7]86-*-elf | i[3-7]86-*-sco3.2v5* | \ - i[3-7]86-*-dgux* | i[3-7]86-*-sysv5*) + i[3-7]86-*-dgux* | i[3-7]86-*-sysv5* | \ + i[3-7]86-*-win32elf*) targ_defvec=bfd_elf32_i386_vec targ_selvecs=i386coff_vec ;; diff -r 2c502f8f90f4 -r 1e51c3a535f6 config.sub --- a/config.sub Sun Dec 13 19:02:47 2009 -0500 +++ b/config.sub Sun Dec 13 19:04:31 2009 -0500 @@ -1284,7 +1284,7 @@ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* | -cegcc* \ - | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ + | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* | -win32elf* \ | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ diff -r 2c502f8f90f4 -r 1e51c3a535f6 gas/configure.tgt --- a/gas/configure.tgt Sun Dec 13 19:02:47 2009 -0500 +++ b/gas/configure.tgt Sun Dec 13 19:04:31 2009 -0500 @@ -231,6 +231,7 @@ x86_64*) fmt=coff em=pep ;; i*) fmt=coff em=pe ;; esac ;; + i386-*-win32elf*) fmt=elf ;; i386-*-nto-qnx*) fmt=elf ;; i386-*-*nt*) fmt=coff em=pe ;; i386-*-chaos) fmt=elf ;; diff -r 2c502f8f90f4 -r 1e51c3a535f6 ld/configure.tgt --- a/ld/configure.tgt Sun Dec 13 19:02:47 2009 -0500 +++ b/ld/configure.tgt Sun Dec 13 19:04:31 2009 -0500 @@ -277,6 +277,7 @@ targ_extra_ofiles="deffilep.o pep-dll.o" ;; i[3-7]86-*-interix*) targ_emul=i386pe_posix; targ_extra_ofiles="deffilep.o pe-dll.o" ;; +i[3-7]86-*-win32elf*) targ_emul=elf_i386 ;; i[3-7]86-*-beospe*) targ_emul=i386beos ;; i[3-7]86-*-beos*) targ_emul=elf_i386_be ;; i[3-7]86-*-vxworks*) targ_emul=elf_i386_vxworks ;; diff -r 2c502f8f90f4 -r 1e51c3a535f6 libiberty/configure --- a/libiberty/configure Sun Dec 13 19:02:47 2009 -0500 +++ b/libiberty/configure Sun Dec 13 19:04:31 2009 -0500 @@ -5642,7 +5642,7 @@ case "${host}" in - *-*-cygwin* | *-*-mingw*) + *-*-cygwin* | *-*-mingw* | *-*-win32elf*) $as_echo "#define HAVE_SYS_ERRLIST 1" >>confdefs.h $as_echo "#define HAVE_SYS_NERR 1" >>confdefs.h @@ -5750,7 +5750,7 @@ case "${host}" in - *-*-mingw32*) + *-*-mingw32* | *-*-win32elf*) # Under mingw32, sys_nerr and sys_errlist exist, but they are # macros, so the test below won't find them. libiberty_cv_var_sys_nerr=yes @@ -6476,7 +6476,7 @@ # Figure out which version of pexecute to use. case "${host}" in - *-*-mingw* | *-*-winnt*) pexecute=./pex-win32.o ;; + *-*-mingw* | *-*-winnt* | *-*-win32elf) pexecute=./pex-win32.o ;; *-*-msdosdjgpp*) pexecute=./pex-djgpp.o ;; *-*-msdos*) pexecute=./pex-msdos.o ;; *) pexecute=./pex-unix.o ;; diff -r 2c502f8f90f4 -r 1e51c3a535f6 libiberty/configure.ac --- a/libiberty/configure.ac Sun Dec 13 19:02:47 2009 -0500 +++ b/libiberty/configure.ac Sun Dec 13 19:04:31 2009 -0500 @@ -526,7 +526,7 @@ AC_SUBST(target_header_dir) case "${host}" in - *-*-cygwin* | *-*-mingw*) + *-*-cygwin* | *-*-mingw* | *-*-win32elf*) AC_DEFINE(HAVE_SYS_ERRLIST) AC_DEFINE(HAVE_SYS_NERR) ;; @@ -578,7 +578,7 @@ case "${host}" in - *-*-mingw32*) + *-*-mingw32* | *-*-win32elf*) # Under mingw32, sys_nerr and sys_errlist exist, but they are # macros, so the test below won't find them. libiberty_cv_var_sys_nerr=yes @@ -663,7 +663,7 @@ # Figure out which version of pexecute to use. case "${host}" in - *-*-mingw* | *-*-winnt*) pexecute=./pex-win32.o ;; + *-*-mingw* | *-*-winnt* | *-*-win32elf) pexecute=./pex-win32.o ;; *-*-msdosdjgpp*) pexecute=./pex-djgpp.o ;; *-*-msdos*) pexecute=./pex-msdos.o ;; *) pexecute=./pex-unix.o ;;