summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * winf.cc (linebuf::fromargv): Temporarily revert patch from 2014-01-24.Corinna Vinschen2014-04-182-2/+6
|
* * cygtls.h (TP_NUM_C_BUFS): Raise to 50 to allow SYMLOOP_MAX recursionsCorinna Vinschen2014-04-188-233/+282
| | | | | | | | | | | | | | | | | | | | | path_conv <-> normalize_posix_path, plus a bit of buffer. (TP_NUM_W_BUFS): Ditto. (class san): Change type of _c_cnt and _w_cnt to unsigned. * path.cc (normalize_posix_path): Guard recursion into path_conv against tmp_pathbuf overflow. Generate normalized path in call to path_conv. If the path is valid, replace dst with the normalized_path from path_conv call. Add comment to explain why we're doing this. * tls_pbuf.cc (tls_pathbuf::destroy): Only free buffers until the first buffer pointer is NULL. (tmp_pathbuf::c_get): Simplify error message. (tmp_pathbuf::w_get): Ditto. * tls_pbuf.h (class tmp_pathbuf): Change type of c_buf_old and w_buf_old to unsigned. (tmp_pathbuf::check_usage): New inline method to check if we have enough tmp_pathbuf buffers left to call a function using tmp_pathbuf buffers. * tlsoffsets.h: Regenerate. * tlsoffsets64.h: Regenerate.
* * pwdgrp.cc (client_request_pwdgrp::pwd_serve): Add 1 to the messageCorinna Vinschen2014-04-162-2/+7
| | | | length to account for the trailing NUL.
* *** empty log message ***Corinna Vinschen2014-04-161-0/+4
|
* * net.cc (cygwin_setsockopt): Ignore IPV6_TCLASS the same way as IP_TOS.Corinna Vinschen2014-04-162-1/+14
|
* * cygserver-config: Use numeric id 18 instead of "system" in chown.Corinna Vinschen2014-04-162-2/+6
|
* * libc/sys/rtems/sys/cpuset.h (CPU_SET_S): Add const qualifier.Corinna Vinschen2014-04-142-2/+7
| | | | (CPU_SET): Likewise.
* * uinfo.cc (pwdgrp::fetch_account_from_windows): Fix gid evaluationCorinna Vinschen2014-04-122-9/+15
| | | | for local accounts.
* * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 30.Corinna Vinschen2014-04-102-1/+5
|
* * libc/machine/rl78/setjmp.S: Add RL78/G10 support.DJ Delorie2014-04-092-0/+25
|
* * exceptions.cc (exception::myfault_handle): Only handle the minimumCorinna Vinschen2014-04-092-1/+19
| | | | amount of exceptions the myfault handler was designed for.
* * cygwin.sc.in: (Temporarily?) workaround serious ld bug whichCorinna Vinschen2014-04-082-11/+13
| | | | | truncates symbols in certain computations to 32 bit. See https://sourceware.org/bugzilla/show_bug.cgi?id=16821
* release/1.7.29Corinna Vinschen2014-04-071-0/+3
|
* * cygserver_ipc.h (ipc_set_proc_info): Add bool parameter to specifyCorinna Vinschen2014-04-073-5/+16
| | | | | | | whether or not to send signal_arrived. * shm.cc (client_request_shm::client_request_shm): Call ipc_set_proc_info with bool parameter set to true to not send signal_arrived.
* * process.cc (process::process): Only notice that signal_arrived isCorinna Vinschen2014-04-072-2/+6
| | | | NULL in debug output.
* 2014-04-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2014-04-042-2/+7
| | | | | * COPYING.NEWLIB: Add to current TI license to include tirtos addition.
* 2014-04-04 Ashish Kapania <akapania@ti.com>Jeff Johnston2014-04-043-2/+8
| | | | | | * arm/configure.in: (*-*-tirtos*) Accept TIRTOS target when setting objtype * arm/configure: Regenerated.
* 2014-04-04 Ashish Kapania <akapania@ti.com>Jeff Johnston2014-04-0412-3/+6455
| | | | | | | | | | | * configure.host (sys_dir, newlib_cflags): Set sys_dir to tirtos and use -D__DYNAMIC_REENT__ and -DMALLOC_PROVIDED compiler options for TIRTOS target. * libc/stdio/local.h (_STDIO_CLOSE_PER_REENT_STD_STREAMS): Change #ifdef to not define this macro when __tirtos__ is defined. * libc/sys/tirtos : Add support for TIRTOS. * libc/sys/tirtos/Makefile.am, libc/sys/tirtos/lock.c: New files. * libc/sys/tirtos/configure.in, libc/sys/tirtos/include/sys/lock.h: Ditto.
* Forced checkinCorinna Vinschen2014-04-040-0/+0
|
* * new-features.xml: (ov-new1.7.29): Fix incomplete XML tagging.Corinna Vinschen2014-04-042-0/+8
|
* *** empty log message ***Corinna Vinschen2014-04-041-0/+4
|
* * ntea.cc (EA_BUFSIZ): Fix comment.Corinna Vinschen2014-04-042-13/+21
| | | | | (read_ea): Use tmp_pathbuf for local buffer rather than alloca. Throughout change ZwQueryEaFile to NtQueryEaFile in comments.
* * ntea (EA_BUFSIZ): Reduce to 64K. Add comment to explain why.Corinna Vinschen2014-04-042-4/+18
|
* *** empty log message ***Corinna Vinschen2014-04-012-4/+22
|
* * new-features.xml: (ov-new1.7.29): Add new section.Christopher Faylor2014-04-012-0/+17
|
* * DevNotes: Add entry cgf-000025.Christopher Faylor2014-03-293-27/+30
| | | | | | * exceptions.cc (_cygtls::signal_debugger): Reorganize to avoid contacting the debugger if we have already done so via the exception handler. Eliminate need for goto. Remove an ifdef in favor of just allocating a larger buffer.
* * dcrt0.cc (dll_crt0_0): Install myfault exception handler on x86_64.Corinna Vinschen2014-03-284-41/+97
| | | | | | | | | | | | | | | | | | | | | | * exception.h (exception_list): Typedef as void on x86_64. (exception::handler_installed): Remove. (exception::handle_while_being_debugged): Remove. (exception::myfault_handle): Declare for x86_64. (exception::handle): Declare as ordinary exception handler on x86_64 as well. (exception::exception): Drop previous code (again). Install exception::handle as SEH handler. (exception::install_myfault_handler): New x86_64-only method to install exception::myfault_handle as VEH handler. Explain why. (exception::~exception): For x86_64, define frame end label (again). * exceptions.cc (CYG_EXC_CONTINUE_EXECUTION): Drop definition. (CYG_EXC_CONTINUE_SEARCH): Ditto. (exception::myfault_handle): New x86_64-only method, VEH handler to handle myfault exceptions. (exception::handle): Define as ordinary exception handler on x86_64 as well. Use ExceptionContinueExecution and ExceptionContinueSearch throughout instead of deleted Cygwin macros. Don't handle myfault exceptions on x86_64.
* * sec_auth.cc (create_token): Initialize lsa handle to NULL, rather thanCorinna Vinschen2014-03-283-4/+12
| | | | | | | to INVALID_HANDLE_VALUE. (lsaauth): Ditto. (lsaprivkeyauth): Ditto. * setlsapwd.cc (setlsapwd): Don't initialize lsa handle.
* * exceptions.cc (_cygtls::signal_debugger): Move memcpy to copy contextCorinna Vinschen2014-03-282-5/+9
| | | | from incoming siginfo_t to thread_context, too.
* * gendef (_sigbe/x86_64): Fix typo in .seh_proc pseudo-op.Corinna Vinschen2014-03-272-10/+23
| | | | | | | | | | (setjmp/x86_64): Drop storing ExceptionList pointer in jmp_buf->Frame. Drop comment. Store likely frame in rdx. Jump to __setjmpex. (__setjmpex): New function providing setjmp functionality. Fetch jmp_buf->Frame from rdx, like MSVCRT setjmpex. (__sjfault/x86_64): Store rdx content in jmp_buf->Frame. (__ljfault/x86_64): Don't restore ExceptionList pointer. (longjmp/x86_64): Ditto.
* * libc/machine/arm/acle-compat.h: New file.Richard Earnshaw2014-03-273-19/+206
| | | | * libc/machine/arm/arm_asm.h: Use it.
* 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>Jeff Johnston2014-03-215-2/+81
| | | | | | | | | | | | | | * libc/stdlib/gd_qnan.h (f_QNAN, d_QNAN0, d_QNAN1): Add MIPS versions. (ld_QNAN0, ld_QNAN1, ld_QNAN2, ld_QNAN3): Don't define for MIPS. (ldus_QNAN0, ldus_QNAN1, ldus_QNAN2, ldus_QNAN3, ldus_QNAN4): Likewise. * libc/stdlib/ldtoa.c (nan113, nan64, nan53, nan24): Add MIPS versions. (enan): Handle legacy MIPS payloads. * libm/common/s_nan.c (nan): Use __builtin_nan if supported by the compiler. * libm/common/sf_nan.c (nanf): Likewise.
* 2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>Jeff Johnston2014-03-212-0/+6
| | | | * nds32/_sbrk.S: Add .size and .type directive.
* 2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>Jeff Johnston2014-03-213-38/+55
| | | | | * nds32/crt0.S: Tweak initialization sqeuence. * nds32/crt1.S: Ditto.
* 2014-03-21 Sabrina Ni <sabrinanitw@gmail.com>Jeff Johnston2014-03-213-0/+84
| | | | | * libc/machine/nds32/configure: Regenerated. * libc/machine/nds32/configure.in: Add AC_NOEXECUTABLES.
* 2014-03-21 Sabrina Ni <sabrinanitw@gmail.com>Jeff Johnston2014-03-216-144/+1168
| | | | | | | | * libc/machine/nds32/Makefile.am: Use C code implemented memcpy, memset for 'ISA V3M'. * libc/machine/nds32/Makefile.in: Generated. * libc/machine/nds32/configure: Generated. * libc/machine/nds32/configure.in: Detect IS_NDS32_ISA_V3M.
* 2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>Jeff Johnston2014-03-2126-46/+329
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * nds32/_argv.S: Replace syscall with break. * nds32/_argvlen.S: Ditto. * nds32/_chdir.S: Ditto. * nds32/_chmod.S: Ditto. * nds32/_close.S: Ditto. * nds32/_exit.S: Ditto. * nds32/_fstat.S: Ditto. * nds32/_getpid.S: Ditto. * nds32/_gettimeofday.S: Ditto. * nds32/_isatty.S: Ditto. * nds32/_kill.S: Ditto. * nds32/_link.S: Ditto. * nds32/_lseek.S: Ditto. * nds32/_open.S: Ditto. * nds32/_read.S: Ditto. * nds32/_rename.S: Ditto. * nds32/_stat.S: Ditto. * nds32/_system.S: Ditto. * nds32/_time.S: Ditto. * nds32/_times.S: Ditto. * nds32/_unlink.S: Ditto. * nds32/_utime.S: Ditto. * nds32/_write.S: Ditto. * nds32/syscall_error_handler.S: Ditto. * nds32/vh.h: New.
* 2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>Jeff Johnston2014-03-213-0/+27
| | | | | * nds32/crt0.S: Initialize ITB base. * nds32/crt1.S: Ditto.
* 2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>Jeff Johnston2014-03-2126-30/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * nds32/Makefile.in: Alter filename. * nds32/syscall_argv.S: Rename to _argv.S * nds32/syscall_argvlen.S: Rename to _argvlen.S * nds32/syscall_chdir.S: Rename to _chdir.S * nds32/syscall_chmod.S: Rename to _chmod.S * nds32/syscall_close.S: Rename to _close.S * nds32/syscall_exit.S: Rename to _exit.S * nds32/syscall_fstat.S: Rename to _fstat.S * nds32/syscall_getpid.S: Rename to _getpid.S * nds32/syscall_gettimeofday.S: Rename to _gettimeofday.S * nds32/syscall_isatty.S: Rename to _isatty.S * nds32/syscall_kill.S: Rename to _kill.S * nds32/syscall_link.S: Rename to _link.S * nds32/syscall_lseek.S: Rename to _lseek.S * nds32/syscall_open.S: Rename to _open.S * nds32/syscall_read.S: Rename to _read.S * nds32/syscall_rename.S: Rename to _rename.S * nds32/syscall_sbrk.S: Rename to _sbrk.S * nds32/syscall_stat.S: Rename to _stat.S * nds32/syscall_system.S: Rename to _system.S * nds32/syscall_time.S: Rename to _time.S * nds32/syscall_times.S: Rename to _times.S * nds32/syscall_unlink.S: Rename to _unlink.S * nds32/syscall_utime.S: Rename to _utime.S * nds32/syscall_write.S: Rename to _write.S
* 2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>Jeff Johnston2014-03-2125-25/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | * nds32/syscall_argv.S: Correct the method to set errno. * nds32/syscall_argvlen.S: Ditto. * nds32/syscall_chdir.S: Ditto. * nds32/syscall_chmod.S: Ditto. * nds32/syscall_close.S: Ditto. * nds32/syscall_error_handler.S: Ditto. * nds32/syscall_fstat.S: Ditto. * nds32/syscall_getpid.S: Ditto. * nds32/syscall_gettimeofday.S: Ditto. * nds32/syscall_isatty.S: Ditto. * nds32/syscall_kill.S: Ditto. * nds32/syscall_link.S: Ditto. * nds32/syscall_lseek.S: Ditto. * nds32/syscall_open.S: Ditto. * nds32/syscall_read.S: Ditto. * nds32/syscall_rename.S: Ditto. * nds32/syscall_sbrk.S: Ditto. * nds32/syscall_stat.S: Ditto. * nds32/syscall_system.S: Ditto. * nds32/syscall_time.S: Ditto. * nds32/syscall_times.S: Ditto. * nds32/syscall_unlink.S: Ditto. * nds32/syscall_utime.S: Ditto. * nds32/syscall_write.S: Ditto.
* 2014-03-21 Sabrina Ni <sabrinanitw@gmail.com>Jeff Johnston2014-03-212-11/+17
| | | | * libc/machine/nds32/setjmp.S: Keep jmp_buff sync with GDB.
* 2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>Jeff Johnston2014-03-213-8/+11
| | | | | | * nds32/crt0.S: Use pseudo-instruction "bal frame" to replace "la + jral". * nds32/crt1.S: Ditto.
* 2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>Jeff Johnston2014-03-213-4/+7
| | | | | * nds32/crt0.S: Eliminate initialization for $fp. * nds32/crt1.S: Ditto.
* 2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>Jeff Johnston2014-03-213-60/+53
| | | | | * nds32/crt0.S: Refine. * nds32/crt1.S: Refine.
* 2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>Jeff Johnston2014-03-213-0/+18
| | | | | * nds32/crt0.S: Set argc=argv=env=0. * nds32/crt1.S: Ditto.
* 2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>Jeff Johnston2014-03-214-9/+57
| | | | | | * nds32/Makefile.in: Add syscall_error_handler.o. * nds32/syscall_error_handler.S: New. * nds32/syscall_extra.h: Reduce code size.
* 2014-03-21 Sabrini Ni <sabrinanitw@gmail.com>Jeff Johnston2014-03-2124-421/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | * nds32/syscall_extra.h: Define macro. * nds32/syscall_argv.S: Use define macro. * nds32/syscall_argvlen.S: Ditto. * nds32/syscall_chdir.S: Ditto. * nds32/syscall_chmod.S: Ditto. * nds32/syscall_close.S: Ditto. * nds32/syscall_fstat.S: Ditto. * nds32/syscall_getpid.S: Ditto. * nds32/syscall_gettimeofday.S: Ditto. * nds32/syscall_isatty.S: Ditto. * nds32/syscall_kill.S: Ditto. * nds32/syscall_link.S: Ditto. * nds32/syscall_lseek.S: Ditto. * nds32/syscall_open.S: Ditto. * nds32/syscall_read.S: Ditto. * nds32/syscall_rename.S: Ditto. * nds32/syscall_stat.S: Ditto. * nds32/syscall_system.S: Ditto. * nds32/syscall_time.S: Ditto. * nds32/syscall_times.S: Ditto. * nds32/syscall_unlink.S: Ditto. * nds32/syscall_utime.S: Ditto. * nds32/syscall_write.S: Ditto.
* 2014-03-21 Sabrina Ni <sabrinanitw@gmail.com>Jeff Johnston2014-03-212-5/+8
| | | | * libc/machine/nds32/setjmp.S: Optimize.
* * fhandler_dsp.cc (fhandler_dev_dsp::ioctl): Actually pass ioctl argument toChristopher Faylor2014-03-202-3/+8
| | | | _ioctl.
* * fhandler.h (fhandler_dev_dsp): Remove variable names from declarations.Christopher Faylor2014-03-193-14/+25
| | | | | | | | | (fhandler_dev_dsp::close_audio_in): Make __reg1. (fhandler_dev_dsp::close_audio_out): Make __reg2. * fhandler_dev_dsp.cc (fhandler_dev_dsp::close_audio_in): Make __reg1. (fhandler_dev_dsp::close_audio_out): Make __reg2. (fhandler_dev_dsp::close): Don't abruptly terminate sound just because we are exiting.