summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * exceptions.cc (sig_handle_tty_stop): Set stopsig to SIGCONT when continuing.Christopher Faylor2009-07-185-4/+21
| | | | | | | | (stopped_or_terminated): Honor WCONTINUED. * wait.cc (wait4): Ditto. * include/cygwin/wait.h (WCONTINUED): Define. (__W_CONTINUED): Ditto. (WIFCONTINUED): Ditto.
* 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>Chris Sutcliffe2009-07-188-5/+58
| | | | | | * include/inttypes.h include/math.h include/stdio.h include/stdlib.h include/string.h include/unistd.h include/wchar.h: Add __NO_INLINE__ guard to all inline functions.
* 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>Chris Sutcliffe2009-07-183-0/+13
| | | | | * CRT_fp8.c: Add PCC alternative to GCC-specific constructs. * CRT_fp10.c: Ditto.
* 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>Chris Sutcliffe2009-07-183-2/+8
| | | | | | * cpu_features.c: replace gcc-specific construct with portable alternative and match the code a few lines above. * crt1.c: remove gcc-specific noreturn attribute with mingw alternative
* 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>Chris Sutcliffe2009-07-182-12/+54
| | | | * include/_mingw.h: Changes required for PCC compiler.
* 2009-07-18 Jeff Lu <jll544@yahoo.com>Chris Sutcliffe2009-07-182-1/+5
| | | | * mingwex/usleep.c: round up to next ms
* 2009-07-17 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-07-1810-300/+307
| | | | | | | * mingwex/math/cephes_mconf.h mingwex/math/erfl.c mingwex/math/lgamma.c mingwex/math/lgammal.c mingwex/math/powl.c mingwex/math/sinhl.c mingwex/math/tanhl.c mingwex/math/tgamma.c mingwex/math/tgammal.c: Based on the fixes from the mingw-w64 code tree, fixed strict-aliasing issues.
* * libstdcxx_wrapper.cc (operator delete): Remove stray space inDave Korn2009-07-172-1/+6
| | | | asm name.
* revert erroneous checkinChristopher Faylor2009-07-172-111/+36
|
* merge from gccDJ Delorie2009-07-172-0/+11
|
* * cygtls.cc (_cygtls::init_exception_handler): Test for e, not e->prev or weChristopher Faylor2009-07-175-43/+142
| | | | | | could still end up adding our handler twice. Add comment explaining what we're doing. * dll_init.cc (dll_dllcrt0_1): Clarify comment.
* * cygtls.cc (_cygtls::init_exception_handler): Avoid adding our exceptionChristopher Faylor2009-07-172-0/+8
| | | | handler twice.
* * syscalls.cc (unlink_nt): Just return when a sharing violationCorinna Vinschen2009-07-172-1/+18
| | | | occurs on remote filesystems.
* PR other/40784Joseph Myers2009-07-172-2/+8
| | | | | * tls.m4 (GCC_CHECK_TLS): Add extra quoting around argument to AC_LINK_IFELSE.
* * globals.cc: Improve comment on R/O UNICODE_STRINGs.Corinna Vinschen2009-07-176-13/+48
| | | | | | | | | | * mount.h (class fs_info): Add is_mvfs bit. * mount.cc (fs_info::update): Recognize MVFS remote filesystem. (fillout_mntent): Reorder filesystem checks for speed. Add mvfs, unixfs, and sunwnfs filesystem types. * path.h (class path_conv): Add fs_is_mvfs method. * path.cc (symlink_worker): On MVFS, always create symlinks as Windows shortcuts. Explain why.
* * tls.m4 (GCC_CHECK_TLS): Also test TLS in a shared library whenJoseph Myers2009-07-162-1/+24
| | | | cross-compiling.
* * syscalls.cc (unlink_nt): First remove the R/O DOS attribute withCorinna Vinschen2009-07-162-11/+32
| | | | | FILE_WRITE_ATTRIBUTES access only, then re-open the file for DELETE. Explain why.
* * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Remove fileCorinna Vinschen2009-07-162-2/+6
| | | | attribute check already done in NtSetAttributesFile.
* * globals.cc: Reorder constant UNICODE_STRINGs for clarity.Corinna Vinschen2009-07-165-68/+81
| | | | | | | | | | | | | * mount.h (fs_info::sttaus): Move filesystem type flags into substructure. Add union to allow simple test for having set any one filesystem type flag. Replace has_buggy_open flag with is_sunwnfs flag. Replace has_buggy_fileid_dirinfo with is_unixfs flag. (fs_info::got_fs): New private method. (fs_info::has_buggy_open): New explicit implementation. (fs_info::has_buggy_fileid_dirinfo): Ditto. * mount.cc (fs_info::update): Optimize filesystem checks for speed. * winsup.h (IMPLEMENT_STATUS_FLAG): Change write accessor to return value just set.
* * fhandler_netdrive.cc (GET_RESOURCE_INFO): Remove.Corinna Vinschen2009-07-152-12/+18
| | | | | | (thread_netdrive): Drop GET_RESOURCE_INFO case. (fhandler_netdrive::exists): Use GET_RESOURCE_OPENENUM info class to check for existance.
* * strace.cc (main): Open trace output file in UNIX mode.Corinna Vinschen2009-07-152-2/+7
|
* * fhandler_netdrive.cc (fhandler_netdrive::readdir): Remove uselessCorinna Vinschen2009-07-152-1/+5
| | | | alloca.
* * path.cc (cwdstuff::set): Only fix up UNC path in win32 so as notCorinna Vinschen2009-07-152-1/+10
| | | | to overwrite incoming path.
* * mep/syscalls.S (sysret): Maintain 16-byte stack alignment.DJ Delorie2009-07-142-2/+6
|
* Throughout avoid having to initialize constant UNICODE_STRINGs.Corinna Vinschen2009-07-1410-75/+98
| | | | | | | | | | | | | | | | | | | | | | * globals.cc: Define constant UNICODE_STRINGs and store in .rdata section. * fhandler_disk_file.cc: Throughout, use readonly UNICODE_STRINGs rather then initializing local UNICODE_STRING variable where applicable. * fhandler_mem.cc (fhandler_dev_mem::open): Ditto. * flock.cc (inode_t::inode_t): Ditto. * mmap.cc: Ditto. * syscalls.cc: Ditto. * mount.cc (fs_info::update): Ditto. * path.cc: Ditto. * ntdll.h (RtlEqualUnicodePathPrefix): Redefine to take prefix as UNICODE_STRING. (RtlEqualUnicodePathSuffix): Redefine to take suffix as UNICODE_STRING. * fhandler_disk_file.cc: Accommodate throughout. * mount.cc (fs_info::update): Ditto. * path.cc (cwdstuff::set): Ditto. * syscalls.cc: Ditto.
* * globals.cc (active_codepage): Remove.Corinna Vinschen2009-07-142-3/+4
|
* * cygcheck.cc (dump_sysinfo): Remove "not yet supported" text.Corinna Vinschen2009-07-132-5/+6
|
* 2009-07-12 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-07-122-3/+9
| | | | * mingwex/stdio/pformat.c: Fix compiler warnings with GCC 4.4.0.
* 2009-06-28 Ozkan Sezer <sezero@users.sourceforge.net>Chris Sutcliffe2009-07-1228-1431/+1339
| | | | | | | | | | | | | | | | | | * mingwex/gdtoa/README.mingw mingwex/gdtoa/gdtoa_fltrnds.h: New files. * mingwex/gdtoa/README mingwex/gdtoa/dmisc.c mingwex/gdtoa/dtoa.c mingwex/gdtoa/g__fmt.c mingwex/gdtoa/g_dfmt.c mingwex/gdtoa/g_ffmt.c mingwex/gdtoa/g_xfmt.c mingwex/gdtoa/gd_arith.h mingwex/gdtoa/gd_qnan.h mingwex/gdtoa/gdtoa.c mingwex/gdtoa/gdtoa.h mingwex/gdtoa/gdtoaimp.h mingwex/gdtoa/gethex.c mingwex/gdtoa/gmisc.c mingwex/gdtoa/hd_init.c mingwex/gdtoa/hexnan.c mingwex/gdtoa/misc.c mingwex/gdtoa/qnan.c mingwex/gdtoa/smisc.c mingwex/gdtoa/strtodg.c mingwex/gdtoa/strtodnrp.c mingwex/gdtoa/strtof.c mingwex/gdtoa/strtopx.c mingwex/gdtoa/sum.c mingwex/gdtoa/ulp.c: Update the gdtoa library to match the netlib.org sources as of Apr. 20, 2009. Update further to match the sources in the mingw-w64 tree as of June 28, 2009, by removing IBM, CRAY and VAX code, removing KR_headers, ANSI, Void and Char ifdefs, renaming the double/ulong union from U to dbl_union for better grepping and white- space tidy-ups.
* * how-spawn-works.txt: Add "out of date" note.Christopher Faylor2009-07-123-1/+7
| | | | * how-vfork-works.txt: Ditto.
* * Makefile.in: Don't do anything special with any RCS directories.Christopher Faylor2009-07-125-3/+15
| | | | | | * ntdll.h (PROCESSINFOCLASS): Remove unneeded trailing comma. * pinfo.cc (_pinfo::dup_proc_pipe): Remove unneeded assignment. * sigproc.cc (sig_send): Don't send signal to myself if this is an exec stub.
* * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Don't useCorinna Vinschen2009-07-122-20/+45
| | | | | FileAllInformation info class since it needs a big buffer. Add a comment.
* bfdTom Tromey2009-07-103-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (dwarf2.lo): Use dwarf2.h, not elf/dwarf2.h. (elf-eh-frame.lo): Likewise. (elf32-bfin.lo): Likewise. (elf32-frv.lo): Likewise. (elf32-xc16x.lo): Likewise. * Makefile.in: Rebuild. * dwarf2.c: Included dwarf.h, not elf/dwarf2.h. * elf-eh-frame.c: Likewise. * elf32-bfin.c: Likewise. * elf32-frv.c: Likewise. * elf32-xc16x.c: Likewise. binutils * Makefile.am (dwarf.o): Refer to dwarf2.h, not elf/dwarf2.h. * Makefile.in: Rebuild. * dwarf.c: Include dwarf2.h, not elf/dwarf2.h. gas * Makefile.am (DEPTC_alpha_ecoff): Refer to dwarf2.h, not elf/dwarf2.h. (DEPTC_alpha_elf): Likewise. (DEPTC_alpha_evax): Likewise. (DEPTC_arm_elf): Likewise. (DEPTC_hppa_elf): Likewise. (DEPTC_i386_aout): Likewise. (DEPTC_i386_coff): Likewise. (DEPTC_i386_elf): Likewise. (DEPTC_m68k_aout): Likewise. (DEPTC_m68k_coff): Likewise. (DEPTC_m68k_elf): Likewise. (DEPTC_mips_coff): Likewise. (DEPTC_mips_ecoff): Likewise. (DEPTC_mips_elf): Likewise. (DEPTC_ppc_coff): Likewise. (DEPTC_ppc_elf): Likewise. (DEPTC_s390_elf): Likewise. (DEPTC_sh_coff): Likewise. (DEPTC_sh_elf): Likewise. (DEPTC_sh64_elf): Likewise. (DEPTC_sparc_aout): Likewise. (DEPTC_sparc_coff): Likewise. (DEPTC_sparc_elf): Likewise. (as.o): Likewise. (dwarf2dbg.o): Likewise. (dw2gencfi.o): Likewise. (ehopt.o): Likewise. (read.o): Likewise. * Makefile.in: Rebuild. * dw2gencfi.h: Include dwarf2.h, not elf/dwarf2.h. * dwarf2dbg.c: Likewise. * ehopt.c: Likewise. gdb * dwarf2-frame.c: Include dwarf2.h, not elf/dwarf2.h. * dwarf2expr.c: Likewise. * dwarf2loc.c: Likewise. * dwarf2read.c: Likewise. * sh-tdep.c: Likewise. * xtensa-tdep.c: Likewise. include * dwarf2.h: New file, moved from elf/. include/elf * dwarf2.h: Move to `..'.
* 2009-07-10 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-07-102-847/+5
| | | | * dwarf2.h: Just include ../dwarf2.h.
* STT_GNU_IFUNC support for PowerPC.Alan Modra2009-07-103-7/+20
|
* merge from gccDJ Delorie2009-07-092-0/+9
|
* merge from gccDJ Delorie2009-07-092-0/+867
|
* 2009-07-09 Craig Howland <howland@LGSInnovations.com>Jeff Johnston2009-07-0922-34/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libm/math/ef_scalb.c: Replace isnanf() (pre-C99 function call) with isnan() (C99 macro). * libm/math/wf_log.c: Ditto. * libm/math/wf_j0.c: Ditto. * libm/math/wf_sqrt.c: Ditto. * libm/math/wf_pow.c: Ditto. * libm/math/wf_fmod.c: Ditto. * libm/math/wf_remainder.c: Ditto. * libm/math/wf_scalb.c: Ditto. * libm/math/wf_atanh.c: Ditto. * libm/math/wf_cosh.c: Ditto. * libm/math/wf_acos.c: Ditto. * libm/math/wf_acosh.c: Ditto. * libm/math/wf_jn.c: Ditto. * libm/math/wf_log10.c: Ditto. * libm/math/wf_asin.c: Ditto. * libm/math/wf_j1.c: Ditto. * libm/common/sf_isnan.c: Add #include <ieeefp.h>, fix comment. * libm/common/sf_isinf.c: Add #include <ieeefp.h>, adjust comment to match that from s_isinf.c. * libc/include/machine/ieeefp.h: Simplify isinf and isnan macros to remove un-necessary extension use (in a similar manner to as was recently done in math.h). * libc/include/math.h: Remove isnanf and isinff prototypes (are in ieeefp.h). * libm/machine/spu/sf_isinf.c: Fix comment (remove <math.h>).
* * pathnames.sgml: Fix typo.Christopher Faylor2009-07-082-1/+5
|
* * m32c/sbrk.c (sbrk): Change to take ptrdiff_t, not int.DJ Delorie2009-07-082-1/+13
|
* * winbase.h (ilockexch): Avoid making 'ret' volatile.Dave Korn2009-07-072-2/+7
| | | | (ilockcmpexch): Likewise.
* * ChangeLog: Assorted minor whitespace fixes in old entries.Dave Korn2009-07-071-11/+11
|
* winsup/ChangeLog:Dave Korn2009-07-0713-24/+323
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.common (COMPILE_CXX): Add support for per-file overrides to exclude $(nostdinc) and $(nostdincxx) from compiler flags. (COMPILE_CC): Likewise for $(nostdinc). winsup/cygwin/ChangeLog: * Makefile.in (DLL_OFILES): Add libstdcxx_wrapper.o (libstdcxx_wrapper_CFLAGS): Add flags for new module. (_cygwin_crt0_common_STDINCFLAGS): Define per-file override. (libstdcxx_wrapper_STDINCFLAGS, cxx_STDINCFLAGS): Likewise. * cxx.cc: Include "cygwin-cxx.h". (operator new): Tweak prototype for full standards compliance. (operator new[]): Likewise. (operator new (nothrow)): New fallback function. (operator new[] (nothrow), operator delete (nothrow), operator delete[] (nothrow)): Likewise. (default_cygwin_cxx_malloc): New struct of pointers to the above, for final last-resort fallback default. * cygwin-cxx.h: New file. (struct per_process_cxx_malloc): Define. (default_cygwin_cxx_malloc): Declare extern. * cygwin.din (__wrap__ZdaPv): Export new wrapper. (__wrap__ZdaPvRKSt9nothrow_t, __wrap__ZdlPv, __wrap__ZdlPvRKSt9nothrow_t, __wrap__Znaj, __wrap__ZnajRKSt9nothrow_t, __wrap__Znwj, __wrap__ZnwjRKSt9nothrow_t): Likewise. * globals.cc (__cygwin_user_data): Init newly-repurposed 'forkee' field (now 'cxx_malloc') to point to default_cygwin_cxx_malloc. * libstdcxx_wrapper.cc: New file. (__wrap__ZdaPv, __wrap__ZdaPvRKSt9nothrow_t, __wrap__ZdlPv, __wrap__ZdlPvRKSt9nothrow_t, __wrap__Znaj, __wrap__ZnajRKSt9nothrow_t, __wrap__Znwj, __wrap__ZnwjRKSt9nothrow_t): Define wrapper functions for libstdc++ malloc operators and their overrides. * winsup.h (default_cygwin_cxx_malloc): Declare extern. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. * include/sys/cygwin.h (struct per_process_cxx_malloc): Forward declare here. (struct per_process::forkee): Rename and repurpose from this ... (struct per_process::cxx_malloc): ... to this. * lib/_cygwin_crt0_common.cc: Include cygwin-cxx.h. (WEAK): Define shorthand helper macro. (__cygwin_cxx_malloc): Define and populate with weak references to whatever libstdc++ malloc operators will be visible at final link time for Cygwin apps and dlls. (_cygwin_crt0_common): Always look up cygwin DLL's internal per_process data, and don't test for (impossible) failure. Inherit any members of __cygwin_cxx_malloc that we don't have overrides for from the DLL's default and store the resulting overall set of overrides back into the DLL's global per_process data.
* * cygtls.cc (_cygtls::remove): Fix typo.Corinna Vinschen2009-07-072-3/+6
|
* * Makefile.in (clean): Clean generated files in srcdir.Christopher Faylor2009-07-063-50/+55
| | | | * tlsoffsets.h: Regenerate.
* * cygtls.cc (_cygtls::remove): Avoid closing a NULL handle.Christopher Faylor2009-07-062-1/+6
|
* * fhandler_socket.cc (fhandler_socket::recv_internal): Convert wsabufCorinna Vinschen2009-07-062-10/+18
| | | | and wsacnt to references. Fix handling of WSAEMSGSIZE.
* 2009-07-06 Joel Sherrill <joel.sherrill@oarcorp.com>Jeff Johnston2009-07-062-0/+8
| | | | | * libc/include/sys/features.h: Enable UNIX98 mutex attributes for RTEMS.
* * cygtls.h (struct _local_storage): Add thread storage pointers forCorinna Vinschen2009-07-065-33/+91
| | | | | | | | | | | | | | | | | | | | | memory used by socket select functions. Combine them into a single struct select. * cygtls.cc: Accommodate above change throughout. (_cygtls::init_thread): Drop initalizing of sockevt to INVALID_HANDLE_VALUE. (_cygtls::fixup_after_fork): Reset sockevt to NULL. (_cygtls::remove): Don't use sockevt value to bail out prematurely. Set sockevt to NULL. Free malloced select members. * select.h (struct select_socket_info): Drop max_w4 member. * select.cc (thread_socket): Use INFINITE timeout value if number of objects to wait for is <= MAXIMUM_WAIT_OBJECTS. Use num_w4 member of select_socket_info struct rather than dropped max_w4. (init_tls_select_info): New inline function to initialize TLS select members. (start_thread_socket): Just call init_tls_select_info to initialize TLS select members and use them later on. (socket_cleanup): Don't free select_socket_info pointer members since they are thread local now.
* * dtable.cc (handle_to_fn): Detect failing NtQueryObject.Christopher Faylor2009-07-062-2/+7
|