summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* * exception.h (exception::handle_while_being_debugged): Declare.Corinna Vinschen2014-03-193-1/+17
| | | | | (exception::exception): Install unhandled exception filter. * exceptions.cc (exception::handle_while_being_debugged): New method.
* Fix ChangeLogCorinna Vinschen2014-03-191-6/+6
|
* * fhandler_dsp.cc (fhandler_dev_dsp::fixup_after_fork): Actually callCorinna Vinschen2014-03-192-1/+12
| | | | | _fixup_after_fork rather than looping forever. (fhandler_dev_dsp::fixup_after_exec): Ditto.
* * fhandler_dsp.cc (fhandler_dev_dsp::fixup_after_fork): Actually callChristopher Faylor2014-03-182-2/+8
| | | | | _fixup_after_fork rather than looping forever. (fhandler_dev_dsp::fixup_after_exec): Ditto.
* Partially revert patch from 2014-03-04.Corinna Vinschen2014-03-183-17/+17
| | | | | | | * exception.h (exception::handler_installed): Declare. (exception::exception): Install vectored exception handler on x86_64. (exception::~exception): Remove for x86_64. * exceptions.cc (exception::handler_installed): Define.
* * sigproc.h (no_thread_exit_protect): New class.Christopher Faylor2014-03-175-7/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | * sigproc.cc (thread_exit): Use no_thread_exit_protect to determine if we need to coordinate ThreadExit/ExitProcess. * fhandler_dsp.cc (fhandler_dev_dsp::Audio_out::stop): Use no_thread_exit_protect to kludge around waiting for waveOutClose as it waits for a thread that never exits. (fhandler_dev_dsp::Audio_in::stop): Ditto for waveInClose. * fhandler.h (fhandler_dev_dsp::base): New method. (fhandler_dev_dsp::_read): Ditto. (fhandler_dev_dsp::_write): Ditto. (fhandler_dev_dsp::_ioctl): Ditto. (fhandler_dev_dsp::_fixup_after_fork): Ditto. (fhandler_dev_dsp::_fixup_after_exec): Ditto. * fhandler_dsp.cc (fhandler_dev_dsp::read): Call real function via base() pointer. (fhandler_dev_dsp::write): Ditto. (fhandler_dev_dsp::ioctl): Ditto. (fhandler_dev_dsp::fixup_after_fork): Ditto. (fhandler_dev_dsp::fixup_after_exec): Ditto. (fhandler_dev_dsp::_read): Rename by adding an leading underscore. (fhandler_dev_dsp::_write): Ditto. (fhandler_dev_dsp::_ioctl): Ditto. (fhandler_dev_dsp::_fixup_after_fork): Ditto. (fhandler_dev_dsp::_fixup_after_exec): Ditto.
* * Makefile.in (OBJS): Add pwdgrp.o.Corinna Vinschen2014-03-124-2/+174
| | | | | | * client.cc (client_request::handle_request): Handle CYGSERVER_REQUEST_PWDGRP message. * pwdgrp.cc: New file implementing CYGSERVER_REQUEST_PWDGRP.
* * cygheap.h (enum cygheap_pwdgrp::cache_t): Remove.Corinna Vinschen2014-03-1213-378/+593
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (cygheap_pwdgrp::caching): Convert to bool. (cygheap_pwdgrp::pwd_cache): Add cygserver member. (cygheap_pwdgrp::grp_cache): Ditto. (cygheap_pwdgrp::nss_db_caching): Drop. (cygheap_pwdgrp::nss_db_full_caching): Drop. (cygheap_pwdgrp::nss_cygserver_caching): New method. (cygheap_pwdgrp::nss_disable_cygserver_caching): New method. * cygserver.h (client_request::request_code_t): Add CYGSERVER_REQUEST_PWDGRP. * cygserver_pwdgrp.h: New file. * cygtls.h (struct _local_storage): Remove pwbuf and grbuf members. * grp.cc (pwdgrp::prep_tls_grbuf): Drop. (internal_getgrsid): Handle cygserver caching and rearrange to check the caches first. (internal_getgrnam): Ditto. (internal_getgrgid): Ditto. (gr_ent::enumerate_caches): Handle cygserver cache. * passwd.cc (pwdgrp::prep_tls_pwbuf): Drop. (internal_getpwsid): Handle cygserver caching and rearrange to check the caches first. (internal_getpwnam): Ditto. (internal_getpwuid): Ditto. (pw_ent::enumerate_caches): Handle cygserver cache. * pwdgrp.h (pwdgrp::add_account_from_cygserver): New method declaration. (pwdgrp::fetch_account_from_cygserver): New method declaration. (pwdgrp::prep_tls_pwbuf): Drop declaration. (pwdgrp::prep_tls_grbuf): Drop declaration. (pwdgrp::add_user_from_cygserver): New inline methods. (pwdgrp::add_group_from_cygserver): New inline methods. * tlsoffsets.h: Regenerate. * tlsoffsets64.h: Regenerate. * uinfo.cc (internal_getlogin): Call internal_getgroups if cygserver caching is not available. (cygheap_pwdgrp::init): Initialize pwd_cache.cygserver and grp_cache.cygserver. Set caching to true. (cygheap_pwdgrp::nss_init_line): Drop db_cache handling entirely. (pwdgrp::add_account_from_windows): Drop no caching handling. (client_request_pwdgrp::client_request_pwdgrp): New method. (pwdgrp::fetch_account_from_cygserver): New method. (pwdgrp::add_account_from_cygserver): New method. * fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix formatting. * include/sys/cygwin.h: Ditto.
* * Throughout, fix format specifiers in debug statements to accommodateCorinna Vinschen2014-03-128-94/+85
| | | | x86_64.
* * uinfo.cc (pwdgrp::fetch_account_from_windows): Avoid crash onCorinna Vinschen2014-03-122-1/+7
| | | | non-domain member machines if an unknown SID comes in.
* * include/cygwin/socket.h (IPV6_JOIN_GROUP): Revert.Corinna Vinschen2014-03-122-0/+7
| | | | (IPV6_LEAVE_GROUP): Ditto.
* Fix ChangeLog entry date.Corinna Vinschen2014-03-111-1/+1
|
* * fhandler.h (dev_console::b): Redefine as CONSOLE_SCREEN_BUFFER_INFO for useChristopher Faylor2014-03-103-3/+9
| | | | | | with older OS. * fhandler_console.cc (dev_console::fillin): Ditto for GetConsoleScreenBufferInfo.
* * fhandler_console.cc (dev_console::save_restore): Save entire line of currentChristopher Faylor2014-03-102-1/+7
| | | | cursor position.
* * fhandler_console.cc (fhandler_console::save_restore): Save only until lastChristopher Faylor2014-03-102-18/+23
| | | | | | | written row and, because of this, don't bother trying to restore the screen buffer size. Set cursor position after refilling buffer. (fhandler_console::write): Use absolute paths when saving/restoring cursor position or suffer odd problems after a saved screen is restored.
* * fhandler.h (fhandler_console::dwBufferSize): Delete.Christopher Faylor2014-03-093-365/+391
| | | | | | | | | | | | | | | | | | | | (fhandler_console::dwCursorPosition): Ditto. (fhandler_console::wAttributes): Ditto. (fhandler_console::b): New field encompassing previously disparate screen buffer info. (fhandler_console::save_bufsize): Rename from savebufsiz (fhandler_console::save_buf): Rename sfrom savebuf. (fhandler_console::save_cursor): New field. (fhandler_console::save_restore): New function. (fhandler_console::con): Rename from dev_state. (fhandler_console::focus_aware): Accommodate name change. * fhandler_console.cc: Use 'b' field of dev_console throughout instead of disparate names. Accommodate dev_state -> con rename. (dev_state:save_restore): New function. Attempt to save the entire screen buffer rather than just the visible part. Clear the buffer when saving, like Linux. (fhandler_console::char_command): Use con.save_restore() for Save/restore screen sequence.