summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * fhandler_socket.cc (send_internal): Don't split datagram messagesCorinna Vinschen2009-12-023-5/+23
| | | | | | | into pieces. * syslog.cc (vsyslog): Set default facility to LOG_USER if it hasn't been set yet.
* PR binutils/11017Nick Clifton2009-12-023-14/+24
| | | | | | | | | | | * dlltool.c (PAGE_SIZE): Delete. (PAGE_MASK): Provide default definition based on COFF_PAGE_SIZE. Check for DLLTOOL_DEFAULT_MX86_64 and DLLTOOL_DEFAULT_I386. * coff-i386.h (COFF_PAGE_SIZE): Definition moved to coff/i386.h * i386lh (COFF_PAGE_SIZE): Define. * x86_64.h (COFF_PAGE_SIZE): Define.
* * setup2.sgml (setup-env): Clarify that Windows environment getsCorinna Vinschen2009-12-022-1/+36
| | | | copied over. Add paragraph about TMP, TEMP, and TMPDIR.
* * fhandler_registry.cc (fhandler_registry::open): Mark /proc/registryCorinna Vinschen2009-12-012-0/+7
| | | | directory and siblings as nohandle fhandler.
* config:Joseph Myers2009-11-302-0/+10
| | | | | | | | | | | | | | | | | | | | | | | * largefile.m4 (ACX_LARGEFILE): Require AC_CANONICAL_HOST and AC_CANONICAL_TARGET. bfd: * configure: Regenerate. binutils: * configure: Regenerate. gas: * configure: Regenerate. gdb: * configure: Regenerate. gprof: * configure: Regenerate. ld: * configure: Regenerate.
* * speclib: Use last dll found since that's the real name of the cygwin DLL.Christopher Faylor2009-11-302-1/+6
|
* * setfacl.c (getaclentry): Allow to delete default entries for theCorinna Vinschen2009-11-292-3/+17
| | | | owner and owner group.
* 2009-11-29 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-282-2/+6
| | | | * include/_mingw.h: Increment version to 3.17.
* 2009-11-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-282-1/+40
| | | | | * mingwex/gdtoa/misc.c: Fix security vulnerability in gdtoa: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0689
* * common.h (ELFOSABI_FENIXOS, EM_TI_C6000, EM_TI_C2000,Joseph Myers2009-11-282-3/+11
| | | | | EM_TI_C5500, EM_CUDA): Define. (EM_res140, EM_res141, EM_res142): Remove.
* * fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix typos inCorinna Vinschen2009-11-272-5/+12
| | | | | comments. Always open file synchronized when reading header bytes, otherwise suffer stack corruption.
* * cygcheck.cc (dump_sysinfo): Fix typo in products.Corinna Vinschen2009-11-272-1/+5
|
* * dtable.cc (dtable::stdio_init): Use GetCurrentProcess() rather thanCorinna Vinschen2009-11-262-3/+13
| | | | | hMainProc as process handle when duplicating the stdout handle. Explain why. Add Win32 error code to debug output.
* * rx/rx.ld: Place .sbss properly.DJ Delorie2009-11-253-0/+7
| | | | * rx/rx-sim.ld: Likewise.
* * zlib.m4: New file.Joel Brobecker2009-11-242-0/+22
|
* [sim]DJ Delorie2009-11-242-0/+59
| | | | | | | | | * rx: New directory. * configure.ac: Add entry for Renesas RX. * configure: Regenerate. [include/gdb] * sim-rx.h: New.
* Use NetBSD fix for CVE-2009-0689 security vulnerability.Corinna Vinschen2009-11-234-2/+20
| | | | | | | | * libc/include/sys/reent.h (_Kmax): Define here based on the sizeof size_t, as in latest NetBSD. * libc/reent/reent.c (_reclaim_reent): Use _Kmax rather than constant value 15. * libc/stdlib/mprec.c (_Kmax): Don't define here. Explain why.
* * fhandler_socket.cc (fhandler_socket::fixup_before_fork_exec): AddCorinna Vinschen2009-11-233-5/+25
| | | | | | | | socket handle value to debug output. (fhandler_socket::fixup_after_fork): Ditto. Make new socket handle OVERLAPPED, just as if it has been created with socket(). * net.cc (fdsock): Close duplicated socket and explain why. Disable the entire WSADuplicateSocket test for now and explain why.
* * fhandler_socket.cc (fhandler_socket::set_close_on_exec): Only callCorinna Vinschen2009-11-232-2/+12
| | | | fhandler_base::set_close_on_exec for inheritable sockets.
* * cgen.h: Include bfd_stdint.h.Doug Evans2009-11-232-0/+11
| | | | (CGEN_INSN_LGSINT, CGEN_INSN_LGUINT): New types.
* * globals.cc (ro_u_dll): New R/O unicode string.Corinna Vinschen2009-11-213-0/+13
| | | | | * syscalls.cc (nt_path_has_executable_suffix): Add ro_u_dll to blessed_executable_suffixes array. Explain why.
* 2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-212-1/+5
| | | | * include/shlobj.h (SHParseDisplayName): Fix definition.
* 2009-20-10 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe2009-11-213-3/+8
| | | | | * include/w32api.h: Increment version to 3.14. * Makefile.in: Ditto.
* 2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-212-0/+7
| | | | | | * include/shlobj.h (SHParseDisplayName): Define. Thanks to James Roberts-Thomson for the report.
* 2009-20-10 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>Chris Sutcliffe2009-11-212-1/+7
| | | | | | * include/wingdi.h (ENHMFENUMPROC): Correct definition. Thanks to Alexander Vassilev for the report.
* 2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-212-1/+7
| | | | | | * include/iprtrmib.h (MIB_IPADDRROW): Correct definition. Thanks to Thomas Denk for the report.
* 2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-212-1/+7
| | | | | | * include/winbase.h (UnmapViewOfFile): Correct definition. Thanks to Dimitry Sibiryakov for the report.
* 2009-20-10 Aleksey Chernov <virxkane@users.sourceforge.net>Chris Sutcliffe2009-11-202-0/+6
| | | | * include/sspi.h: Include ntsecapi.h to correct postgresql build error.
* 2009-20-10 Heiko Hund <heiko@ist.eigentlich.net>Chris Sutcliffe2009-11-203-0/+13
| | | | | * include/commctrl.h (GetMUILanguage, InitMUILanguage): Add prototypes. * lib/comctl32.def (GetMUILanguage, InitMUILanguage): Define.
* 2009-20-10 Michael James <james.me@gmail.com>Chris Sutcliffe2009-11-204-1/+23
| | | | | | | | | | * include/wingdi.h (CLEARTYPE_QUALITY): Define. * include/winuser.h (WM_KEYLAST): Alternative definition when _WIN32_WINNT >= 0x0501. (WM_UNICHAR,UNICODE_NOCHAR): Define. * lib/comctl32.def (DefSubclassProc@16,GetWindowSubclass@16, RemoveWindowSubclass@12): Add exports. * lib/gdi32.def (GetDCBrushColor@4,GetDCPenColor@4): Add exports.
* 2009-20-10 Jarkko Sakkinen <jarkko.sakkinen@iki.fi>Chris Sutcliffe2009-11-203-0/+61
| | | | | | | | | | | | * include/winuser.h (WM_TOUCHMOVE, WM_TOUCHDOWN, WM_TOUCHUP, TOUCHEVENTF_DOWN, TOUCHEVENTF_INRANGE, TOUCHEVENTF_MOVE, TOUCHEVENTF_NOCOALESCE, TOUCHEVENTF_PALM, TOUCHEVENTF_PEN, TOUCHEVENTF_PRIMARY, TOUCHEVENTF_UP, TOUCHEVENTMASKF_CONTACTAREA, TOUCHEVENTMASKF_EXTRAINFO, TOUCHEVENTMASKF_TIMEFROMSYSTEM, TOUCHINPUT, CloseTouchInputHandle, GetTouchInputInfo, IsTouchWindow, RegisterTouchWindow, UnregisterTouchWindow): Define. * lib/user32.def (CloseTouchInputHandle, GetTouchInputInfo, IsTouchWindow, RegisterTouchWindow, UnregisterTouchWindow): Define.
* 2009-20-10 Dmitry Potapov <dpotapov@users.sourceforge.net>Chris Sutcliffe2009-11-202-2/+6
| | | | * include/winver.h (VerQueryValue[AW]): Correct definition.
* 2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-11-202-2/+22
| | | | | | | * include/shlobj.h (SHARD): Add enum. (SHARD_PATH): Define based on UNICODE. Thanks to Jacek Caban for the report.
* * libc/machine/rx/strncat.S (_strncat): Replace use of r6Nick Clifton2009-11-202-4/+9
| | | | (call-saved) with r14 (call-used).
* sync config with gcc:Paolo Bonzini2009-11-202-1/+5
| | | | | | 2009-10-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * acx.m4 (ACX_CHECK_CYGWIN_CAT_WORKS): Use = with test.
* 2009-11-20 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2009-11-203-12/+23
| | | | | * config.guess: Sync with upstream and gcc. * config.sub: Sync with upstream and gcc.
* * flock.cc (fhandler_disk_file::lock): Disable a shortcut from theCorinna Vinschen2009-11-182-0/+11
| | | | original BSD code, but keep it in and documented why we can't use it.
* 2009-11-18 Dave Korn <dave.korn.cygwin@googlemail.com>Jeff Johnston2009-11-183-0/+8
| | | | | | * libm/machine/i386/f_tan.S (_f_tan): Free fp stack register containing useless constant before advancing fp sp over it. (_f_tanf): Likewise.
* * overview2.sgml (ov-hi-files): Remove reference to root directory whenCorinna Vinschen2009-11-182-13/+24
| | | | | explaining fstab content. Add paragraph about Extended Attributes. Discourage chroot.
* * ntea.cc (read_ea): Always add length of "user." prefix, not onlyCorinna Vinschen2009-11-182-7/+11
| | | | on Samba. Change comment.
* 2009-11-18 Paul Brook <paul@codesourcery.com>Paul Brook2009-11-182-0/+6
| | | | | | | | | gas/ * config/tc-arm.c (arm_fpus): Add fpv4-sp-d16. (aeabi_set_public_attributes): Correctly mark VFPv3xD. include/opcode/ * arm.h (FPU_VFP_V4_SP_D16, FPU_ARCH_VFP_V4_SP_D16): Define.
* * alloca-conf.h: Clarify comment.Alan Modra2009-11-182-1/+6
|
* * ntea.cc (read_ea): Try to open file first to have more sensibleCorinna Vinschen2009-11-182-35/+65
| | | | | | | | | | error codes. Always refuse non "user." EAs for Linux compatibility and return EOPNOTSUPP. Fix handling of empty (== non-existant) EAs. Always prepend "user." prefix to EA names. (write_ea): Try to open file first to have more sensible error codes. Always refuse non "user." EAs for Linux compatibility and return EOPNOTSUPP. Delay skipping "user." prefix until after potential call to read_ea.
* * libc/stdio/vfprintf.c: Include ../stdlib/local.h. Replace call toCorinna Vinschen2009-11-1815-19/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | _mbtowc_r with direct call to __mbtowc. * libc/stdio/vfscanf.c: Ditto. * libc/stdlib/btowc.c: Include local.h. Replace call to _mbtowc_r with direct call to __mbtowc. * libc/stdlib/mblen.c: Ditto. * libc/stdlib/mblen_r.c: Ditto. * libc/stdlib/mbrtowc.c: Ditto. * libc/stdlib/mbstowcs_r.c: Ditto. * libc/stdlib/mbtowc.c: Ditto. * libc/stdlib/wcrtomb.c: Include local.h. Replace call to _wctomb_r with direct call to __wctomb. * libc/stdlib/wcsnrtombs.c: Ditto. (_wcsnrtombs_r): Ditto. * libc/stdlib/wcstombs_r.c: Ditto. * libc/stdlib/wctob.c: Ditto. * libc/stdlib/wctomb.c: Ditto. * libc/stdlib/mbrtowc.c (mbrtowc): Implement independently from _mbrtowc_r, unless PREFER_SIZE_OVER_SPEED or __OPTIMIZE_SIZE__ are defined. * libc/stdlib/wcrtomb.c (wcrtomb): Implement independently from _wcrtomb_r, unless PREFER_SIZE_OVER_SPEED or __OPTIMIZE_SIZE__ are defined. * libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Drop unnecessary test for ch >= 0.
* 2009-11-17 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>Jeff Johnston2009-11-173-2/+7
| | | | | * libm/common/fdlibm.h (logb, logbf): Move decls from here... * libc/include/math.h (logb, logbf): ...to here.
* 2009-11-17 Paul Brook <paul@codesourcery.com>Paul Brook2009-11-174-3/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Daniel Jacobowitz <dan@codesourcery.com> gas/ * doc/c-arm.texi: Document .arch armv7e-m. * config/tc-arm.c (arm_ext_v6_dsp, arm_ext_v7m): New. (insns): Put Thumb versions of v5TExP instructions into arm_ext_v5exp also. Move some Thumb variants from arm_ext_v6_notm to arm_ext_v6_dsp. (arm_archs): Add armv7e-m architecture. (aeabi_set_public_attributes): Handle -march=armv7e-m. gas/testsuite/ * gas/arm/attr-march-armv7em.d: New test. * gas/arm/arch7em-bad.d: New test. * gas/arm/arch7em-bad.l: New test. * gas/arm/arch7em.d: New test. * gas/arm/arch7em.s: New test. include/elf/ * arm.h (TAG_CPU_ARCH_V7E_M): Define. include/opcode/ * arm.h (ARM_EXT_V6_DSP): Define. (ARM_AEXT_V6T2, ARM_AEXT_NOTM): Include ARM_EXT_V6_DSP. (ARM_AEXT_V7EM, ARM_ARCH_V7EM): Define. binutils/ * readelf.c (arm_attr_tag_CPU_arch): Add v7E-M. bfd/ * elf32-arm.c (using_thumb_only, arch_has_arm_nop, arch_has_thumb2_nop): Handle TAG_CPU_ARCH_V7E_M. (tag_cpu_arch_combine): Ditto. Correct MAX_TAG_CPU_ARCH test.
* Reintegrate socket duplication via WSADuplicateSocket/WSASocket.Corinna Vinschen2009-11-179-8/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * autoload.cc (WSADuplicateSocketW): Define. (WSASocketW): Define. * dtable.cc (dtable::release): Call dec_need_fixup_before if necessary. (dtable::fixup_before_fork): New function. (dtable::fixup_before_exec): New function. * dtable.h (class dtable): Add member cnt_need_fixup_before. Add declarations for above new functions. (dtable::dec_need_fixup_before): New inline method. (dtable::inc_need_fixup_before): New inline method. (dtable::need_fixup_before): New inline method. * fhandler.h (fhandler_base::fixup_before_fork_exec): New virtual method. (fhandler_base::need_fixup_before): New virtual method. (class fhandler_socket): Add member prot_info_ptr. (fhandler_socket::init_fixup_before): Declare. (fhandler_socket::need_fixup_before): New inline method. (fhandler_socket::fixup_before_fork_exec): Declare. (fhandler_socket::fixup_after_exec): Declare. * fhandler_socket.cc (fhandler_socket::fhandler_socket): Initialize prot_info_ptr to NULL. (fhandler_socket::~fhandler_socket): Free prot_info_ptr conditionally. (fhandler_socket::init_fixup_before): New method. (fhandler_socket::fixup_before_fork_exec): Ditto. (fhandler_socket::fixup_after_fork): Use WSASocketW to duplicate socket if necessary. (fhandler_socket::fixup_after_exec): New method. (fhandler_socket::dup): Use fixup_before_fork_exec/fixup_after_fork to duplicate socket if necessary. * fork.cc (frok::parent): Start child suspended if some fhandler needs fixup before fork. If so, call dtable::fixup_before_fork after CreateProcess and resume child. * net.cc (fdsock): Try to find out if socket needs fixup before and initialize socket accordingly. Add HUGE comment to explain what happens and why. * spawn.cc (spawn_guts): Start child suspended if some fhandler needs fixup before exec. If so, call dtable::fixup_before_exec after CreateProcess.
* * Makefile.def: Restore host and target settings for gmp.Alexandre Oliva2009-11-163-15/+26
| | | | * Makefile.in: Rebuild.
* Fix setenv and unsetenv corner cases.Eric Blake2009-11-162-5/+13
| | | | | * environ.cc (setenv): Detect invalid argument. (unsetenv): Distinguish EFAULT from EINVAL.
* * configure.ac: Add libelf to host_libs. Enable in-tree configuryAlexandre Oliva2009-11-166-861/+1979
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of ppl and cloog. Fix in-tree configury of libelf, skip tests. Fix portability of test of C++ as bootstrap language. Add ppl/src/ppl-config.o to the bootstrap compare exclusion list. * configure: Rebuild. * Makefile.def: Drop host and target settings from gmp, mpfr, ppl, and cloog. Fix in-tree ppl configuration. Introduce libelf in-tree building. * Makefile.tpl (POSTSTAGE1_CXX_EXPORT): New. (POSTSTAGE1_HOST_EXPORTS): Use it. (STAGE[+id+]_CXXFLAGS): New. (BASE_FLAGS_TO_PASS): Pass it down. (configure-stage[+id+]-[+prefix+][+module+]): Use it. Add extra_exports. (all-stage[+id+]-[+prefix+][+module+]): Likewise. (configure-[+prefix+][+module+], all-[+prefix+][+module+]): Add extra_exports. * Makefile.in: Rebuild. * configure.ac (FLAGS_FOR_TARGET): Add -L and -isystem paths for *-w64-mingw* and x86_64-*mingw*. * configure: Regenerated. * configure.ac: Disable target-winsup & co for x86_64-*-mingw* and *-w64-mingw* targets. * configure: Regenerated. * configure.ac (CLooG test): Use = with test. * configure: Regenerate. * configure.ac: Do not set LIBS for ppl/cloog checks. Disable cloog if the ppl version check failed. Move flags saving before setting in libelf check. * configure: Regenerate. * configure.ac: Adjust the ppl and cloog configure to work as documented. Disable cloog if ppl was disabled. Omit the version checks if they were disabled. * configure: Re-generate.