summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix ChangeLog entry.Corinna Vinschen2011-03-301-1/+0
|
* * hires.h: Fix copyright.Corinna Vinschen2011-03-303-174/+26
| | | | | | | | | | | | | | | * times.cc: Ditto. localtime, gmtime). (FACTOR): Add comment. (NSPERSEC): Ditto. (JITTER): New definition. Comment. (systime_ns): Avoid gratuitous copying of the value returned by GetSystemTimeAsFileTime. (corelocaltime, localtime, gmtime): Remove very old, unused code block. (cygwin_tzset): Remove. (hires_ms::timeGetTime_ns): Add missing semicolon in comment. (hires_ms::nsecs): Redefine check for difference between internal timer value and system time.
* * times.cc (hires_ms::resolution): Make sure resolution is never 0.Corinna Vinschen2011-03-302-0/+13
| | | | (clock_setres): Ditto.
* * regtool.cc (cmd_set): Avoid a compiler warning.Corinna Vinschen2011-03-302-5/+11
|
* *** empty log message ***Corinna Vinschen2011-03-290-0/+0
|
* * cygtls.h (struct _local_storage): Redefine process_ident as wchar_tCorinna Vinschen2011-03-293-18/+32
| | | | | | | | | | pointer. * syslog.cc (CYGWIN_LOG_NAME): Convert to wide char constant. (openlog): Convert incoming ident string to wide char. Fix formatting. (vsyslog): Print ident string as wide char string. Convert message string to wide char and call UNICODE Win32 Event functions to make sure to use correct codeset. * tlsoffset.h: Regenerate.
* * fhandler_socket.cc (get_inet_addr): Make externally available.Corinna Vinschen2011-03-294-23/+56
| | | | | | | | | | * autoload.cc (GetUdpTable): Define. * syslog.cc (connect_syslogd): Use get_inet_addr rather than _stat64 to check for local socket file. Create socket with type returned by get_inet_addr. If connect on UDP socket works, test if there's really a listening peer, otherwise fall back to Windows event log. (try_connect_syslogd): Use syslogd_inited flag to check if syslogd is available.
* * cygcheck.cc (handle_unique_object_name): Avoid a compiler warning.Corinna Vinschen2011-03-294-5/+18
| | | | | | | | (dump_sysinfo): Ditto. * loadlib.h (_load_sys_library): Mark as used, to avoid a compiler warning. * path.cc (oopt): Gurad with !FSTAB_ONLY to avoid a compiler warning. (read_flags): Ditto.
* * uinfo.cc (cygheap_user::env_domain): Use LookupAccountSidW andCorinna Vinschen2011-03-292-9/+15
| | | | | convert user and domain to multibyte strings to make sure to use correct codeset.
* * autoload.cc (UuidCreate): Remove.Corinna Vinschen2011-03-296-23/+42
| | | | | | | | | | (UuidCreateSequential): Remove. * passwd.cc (internal_getpwsid): Avoid a strict-aliasing compiler error with gcc 4.5.1. * fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Ditto. * ntdll.h (NtAllocateUuids): Declare. * syscalls.cc (gethostid): Use NtAllocateUuids function rather than UuidCreateSequential/UuidCreate to get rid of rpcrt4 dependency.
* * new-features.sgml (ov-new1.7.10): Document pthread spinlocks.Corinna Vinschen2011-03-292-0/+17
|
* * cygwin.din (pthread_spin_destroy): Export.Corinna Vinschen2011-03-299-13/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (pthread_spin_init): Export. (pthread_spin_lock): Export. (pthread_spin_trylock): Export. (pthread_spin_unlock): Export. * posix.sgml (std-susv4): Add pthread_spin_destroy, pthread_spin_init, pthread_spin_lock, pthread_spin_trylock, pthread_spin_unlock. (std-notimpl): Remove pthread_spin_[...]. * pthread.cc (pthread_spin_init): New function. * thread.cc (pthread_spinlock::is_good_object): New function. (pthread_mutex::pthread_mutex): Rearrange initializers to accommodate protected data in pthread_mutex. (pthread_spinlock::pthread_spinlock): New constructor. (pthread_spinlock::lock): New method. (pthread_spinlock::unlock): New method. (pthread_spinlock::init): New method. (pthread_spin_lock): New function. (pthread_spin_trylock): New function. (pthread_spin_unlock): New function. (pthread_spin_destroy): New function. * thread.h (PTHREAD_SPINLOCK_MAGIC): Define. (class pthread_mutex): Change access level of members shared with derived classes to protected. (pthread_mutex::set_shared): New protected method. (class pthread_spinlock): New class, derived class of pthread_mutex. * include/pthread.h (pthread_spin_destroy): Declare. (pthread_spin_init): Declare. (pthread_spin_lock): Declare. (pthread_spin_trylock): Declare. (pthread_spin_unlock): Declare. * include/cygwin/types.h (pthread_spinlock_t): New typedef. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* * net.cc (SIO_BASE_HANDLE): Define.Corinna Vinschen2011-03-292-36/+65
| | | | | (fdsock): If we got an LSP handle, try to create a copy of the base handle instead. Change comment to explain.
* * include/cygwin/version.h: Bump CYGWIN_VERSION_DLL_MINOR to 10.Corinna Vinschen2011-03-292-1/+5
|
* * autoload.cc (winmm): Remove time functions. Don't treatCorinna Vinschen2011-03-296-60/+164
| | | | | | | | | | | | | | | | | | | | | | | unloadable wave functions as fatal. * hires.h (hires_ms::timeGetTime_ns): New private method. (hires_ms::dmsecs): Call timeGetTime_ns here. * ntdll.h (struct _KSYSTEM_TIME): Define. (KUSER_SHARED_DATA): Redefine to allow access to InterruptTime. (SharedUserData): Define here. (NtQueryTimerResolution): Declare. (NtSetTimerResolution): Declare. * path.cc (SharedUserData): Move to ntdll.h. * times.cc (hires_ms::timeGetTime_ns): New private method. Use throughout instead of timeGetTime. Document entire functionality of timeGetTime in case we need it. (hires_ms::resolution): Try a call to NtQueryTimerResolution to fetch current period. Fall back to heuristic if that fails. Cast to DWORD in assignments to minperiod. (clock_setres): Align period to possible values per a call to NtQueryTimerResolution. Explain why. Replace calls to timeBeginPeriod and timeEndPeriod with underlying call to NtSetTimerResolution. Use status code from NtSetTimerResolution to compute errno. Convert period to ULONGLONG and store 100ns value to simplify code.
* * include/userenv.h: Add functions and definitions added with WindowsCorinna Vinschen2011-03-292-0/+36
| | | | 2000 and Vista.
* * include/sys/xattr.h: New file.Corinna Vinschen2011-03-292-0/+23
|
* * thread.cc (semaphore::init, destroy, close): Standards conformanceCorinna Vinschen2011-03-293-7/+35
| | | | | | fix. On a failure, return -1 and set errno. * thread.h (semaphore::terminate): Save errno since semaphore::close() may now modify it.
* * setfacl.c (strchrnul): Drop local implementation.Corinna Vinschen2011-03-282-11/+5
|
* * new-features.sgml (ov-new1.7.9): Add "new API" paragraph.Corinna Vinschen2011-03-282-0/+16
|
* * cygwin.din (strchrnul): Export.Corinna Vinschen2011-03-284-1/+10
| | | | | * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. * posix.sgml (std-gnu): Add strchrnul.
* Check in strchrnul.c file missing in previous checkinCorinna Vinschen2011-03-281-0/+49
|
* * libc/include/string.h (strchrnul): Declare.Corinna Vinschen2011-03-284-2/+19
| | | | | | * libc/string/strchrnul.c: New file. * libc/string/Makefile.am (ELIX_2_SOURCES): Add strchrnul.c. * libc/string/Makefile.in: Regenerate.
* * configure.ac (i[[3456789]]86-*-msdosdjgpp*): Don't disableJoseph Myers2011-03-283-16/+13
| | | | | | | | libffi on host. (x86_64-*-mingw*, i[[3456789]]86-*-mingw32*): Don't disable newlib on host. (c54x*-*-* | tic54x-*-*): Don't disable newlib on host. * configure: Regenerate.
* Add support for DragonFlyBSD target.Nick Clifton2011-03-283-4/+17
|
* * dll_init.cc (dll::init): Accommodate ill-behaved dlls who don't fill outChristopher Faylor2011-03-272-1/+9
| | | | p.envptr.
* fix typo in previous changelog entryMichael Frysinger2011-03-271-1/+1
|
* libgloss: bfin: fix asm constraints for raise/excpt helpersMichael Frysinger2011-03-272-2/+7
| | | | | The RAISE and EXPT insns take a constant, not a register. So make sure the asm constraints reflect this.
* libgloss: bfin: abort on install errorsMichael Frysinger2011-03-272-2/+7
|
* 2011-03-25 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe2011-03-262-1/+5
| | | | * Makefile.in: Increment CYGRELEASE to 2.
* 2011-03-25 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe2011-03-262-0/+8
| | | | * lib/Makefile.in: Include GDIPLUS_HEADERS in dist target.
* * mmap.cc (mmap64): Add a cheat to let a certain autoconf test succeedCorinna Vinschen2011-03-252-0/+49
| | | | on 64 bit systems. Explain why.
* 2011-03-24 Mark Wielaard <mjw@redhat.com>Tom Tromey2011-03-252-1/+4
| | | | * dwarf2.h (dwarf_form): Remove deprecated DW_FORM_sig8 define.
* * configure.ac (native_only): Remove.Joseph Myers2011-03-253-70/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | (i[[3456789]]86-*-msdosdjgpp*): Don't disable expect dejagnu send-pr uudecode guile gnuserv on host. (x86_64-*-mingw*): Don't disable expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool on host. (i[[3456789]]86-*-mingw32*): Don't disable expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool on host. (*-*-cygwin*, *-*-netbsd*): Remove host cases. (*-*-kaos*): Don't disable target-examples target-gperf on target. (alpha*-dec-osf*): Don't disable fileutils on target. (sh*-*-pe|mips*-*-pe|*arm-wince-pe): Don't disable target-examples texinfo send-pr expect dejagnu on target. (arm-*-elf* | arm*-*-eabi*, arm*-*-linux-gnueabi): Don't disable target-qthreads on target. (hppa*-hp-hpux11*, hppa*-*-*): Don't disable shellutils on target. (ia64*-*-elf*, ia64*-*-*vms*): Don't disable mmalloc on target. (i[[3456789]]86-w64-mingw*, i[[3456789]]86-*-mingw*, x86_64-*-mingw*): Don't disable expect on target. (*-*-cygwin*): Don't disable target-gperf on target. (powerpc*-*-winnt* | powerpc*-*-pe*): Don't disable make expect gnuserv on target. (powerpcle-*-solaris*): Don't disable make expect gnuserv on target. * configure: Regenerate.
* * configure.ac (target_tools): Remove target-groff.Joseph Myers2011-03-253-40/+31
| | | | | | | | | | | | | | | | (native_only): Remove target-groff. (hppa*64*-*-*): Don't disable byacc. (i[[3456789]]86-*-mingw32*): Remove commented-out noconfigdirs setting. (*-*-kaos*): Don't skip target-librx and target-groff. (*-*-netware*): Don't skip target-libmudflap. (*-*-tpf*): Don't skip target-libmudflap. (sh*-*-pe|mips*-*-pe|*arm-wince-pe): Don't condition configured directories on the host. (ia64*-*-*vms*): Don't skip tix. (sh-*-* | sh64-*-*): Don't condition skipped directories on the host. * configure: Regenerate.
* 2011-03-24 Paolo Bonzini <pbonzini@redhat.com>Paolo Bonzini2011-03-2411-44/+19
| | | | | | | | | | | | | | | | | * configure.ac: Remove references to mt-mep, mt-netware, mt-wince. * Makefile.def: Add all-utils soft dependencies. * Makefile.tpl: Remove GDB_NLM_DEPS. * configure: Regenerate. * Makefile.in: Regenerate. config: 2011-03-24 Paolo Bonzini <pbonzini@redhat.com> * mt-mep: Remove, obsolete. * mt-netware: Remove, obsolete. * mt-wince: Remove, obsolete. * mt-v810: Remove, unused.
* 2011-03-24 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2011-03-2411-190/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sync from GCC: 2011-03-24 Paolo Bonzini <bonzini@gnu.org> * configure.ac: Remove empty cases. * configure: Regenerate. 2011-03-24 Paolo Bonzini <bonzini@gnu.org> * Makefile.def: Add dependency from termcap to gdb. * Makefile.in: Regenerate. 2011-03-24 Paolo Bonzini <bonzini@gnu.org> * configure.ac: Remove all mentions of mh-sysv4 and mh-solaris. * configure: Regenerate. * Makefile.def: Remove all mentions of X11_FLAGS_TO_PASS. * Makefile.tpl: Likewise. * Makefile.in: Regenerate. 2011-03-24 Paolo Bonzini <bonzini@gnu.org> * configure.ac: Remove all mentions of tentative_cc. * configure: Regenerate. 2011-03-16 Jack Howarth <howarth@bromo.med.uc.edu> PR lto/48086 * configure.ac: Re-enable LTO on *-apple-darwin9. * configure: Regenerate. config: 2011-03-24 Paolo Bonzini <bonzini@gnu.org> Sync from GCC: 2011-03-24 Paolo Bonzini <bonzini@gnu.org> * mh-cygwin: Remove obsolete variables and dependencies. 2011-03-24 Paolo Bonzini <bonzini@gnu.org> * mh-sysv4: Remove. * mh-solaris: Remove. 2011-03-24 Paolo Bonzini <bonzini@gnu.org> * mh-sysv4: Remove AR_CFLAGS.
* 2011-03-24 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2011-03-242-6/+2
| | | | * mh-sysv4: Remove AR_CFLAGS.
* * configure.ac (i[[3456789]]86-*-vsta, i[[3456789]]86-*-go32*,Joseph Myers2011-03-2412-291/+28
| | | | | | | | | | | | | | | | | | i[[3456789]]86-*-beos*, powerpc-*-beos*, m68k-hp-hpux*, m68k-apollo-sysv*, m68k-apollo-bsd*, m88k-dg-dgux*, m88k-harris-cxux*, m88k-motorola-sysv*, mips*-dec-ultrix*, mips*-nec-sysv4*, mips*-sgi-irix4*, mips*-*-sysv4*, mips*-*-sysv*, i370-ibm-opened*, i[[3456789]]86-*-sysv5*, i[[3456789]]86-*-dgux*, i[[3456789]]86-ncr-sysv4.3*, i[[3456789]]86-ncr-sysv4*, i[[3456789]]86-*-sco3.2v5*, i[[3456789]]86-*-sco*, i[[3456789]]86-*-udk*, vax-*-ultrix2*, m68k-sun-sunos*, hppa*-*-hiux*, *-*-hiux*, rs6000-*-lynxos*, *-*-sysv4*, *-*-rhapsody*): Remove host cases. * configure: Regenerate. config: * mh-cxux, mh-decstation, mh-dgux386, mh-lynxrs6k, mh-ncr3000, mh-necv4, mh-sco, mh-sysv5: Remove.
* * xstormy16/crt0.s (_hwint): Fix .size directive.Nick Clifton2011-03-242-1/+3
|
* * frv/crt0.S (__frv_fix_usrptrs): Fix .size directive.Nick Clifton2011-03-242-2/+6
|
* * configure.ac (ppc*-*-pe): Remove host case.Joseph Myers2011-03-243-38/+17
| | | | | | | | (strongarm-*-coff | xscale-*-coff, strongarm-*-elf* | xscale-*-elf*, thumb-*-coff, thumb-*-elf, thumb-*-pe, ep9312-*-elf | ep9312-*-coff, parisc*64*-*-linux*, ppc*-*-pe): Remove target cases. * configure: Regenerate.
* * config.sub: Update to version 2011-03-23.Joseph Myers2011-03-242-11/+34
|
* * wincap.cc (wincap_2003): Set use_dont_resolve_hack to true.Christopher Faylor2011-03-232-1/+5
|
* 2010-03-23 Rafael Ávila de Espíndola <respindola@mozilla.com>Rafael Ávila de Espíndola2011-03-232-1/+13
| | | | | | * plugin-api.h (ld_plugin_get_view): New. (ld_plugin_tag): Add LDPT_GET_VIEW. (ld_plugin_tv): Add tv_get_view.
* * libc/machine/frv/setjmp.S: Fix typo in .size directive.Nick Clifton2011-03-232-1/+5
|
* * autoload.cc (dll_load): Change error message to make it clear if a newer DLLChristopher Faylor2011-03-232-1/+6
| | | | is being run.
* * configure.ac (arm-semi-aof, crx-*-*, parisc*-*-linux*,Joseph Myers2011-03-223-22/+11
| | | | | | i370-*-opened*, i[[3456789]]86-moss-msdos | i[[3456789]]86-*-moss* | i[[3456789]]86-*-uwin*, mcore-*-pe*): Remove empty cases. * configure: Regenerate.
* * config-ml.in: Don't handle arc-*-elf*.Joseph Myers2011-03-224-28/+15
| | | | | | | * configure.ac (arc-*-*, crx-*-*, i[[3456789]]86-*-pe, m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*, mcore-*-pe*): Don't handle GCC libraries. * configure: Regenerate.
* /bfd:Eric Weddington2011-03-223-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2011-03-22 Eric B. Weddington <eric.weddington@atmel.com> * archures.c: Add AVR XMEGA architecture information. * cpu-avr.c (arch_info_struct): Likewise. * elf32-avr.c (bfd_elf_avr_final_write_processing): Likewise. (elf32_avr_object_p): Likewise. /gas: 2011-03-22 Eric B. Weddington <eric.weddington@atmel.com> * config/tc-avr.c (struct avr_opcodes_s): Add opcode field. (AVR_INSN): Change definition to match. (avr_opcodes): Likewise, change to match. (mcu_types): Add XMEGA architecture names and new XMEGA device names. (md_show_usage): Add XMEGA architecture names. (avr_operand): Add 'E' constraint for DES instruction of XMEGA devices. Add support for SPM Z+ instruction. * doc/c-avr.texi: Add documentation for XMEGA architectures and devices. /include/opcode: 2011-03-22 Eric B. Weddington <eric.weddington@atmel.com> * avr.h (AVR_ISA_SPMX,AVR_ISA_DES,AVR_ISA_M256,AVR_ISA_XMEGA): New instruction set flags. (AVR_INSN): Add new instructions for SPM Z+, DES for XMEGA. /ld: 2011-03-22 Eric B. Weddington <eric.weddington@atmel.com> * Makefile.am (ALL_EMULATION_SOURCES): Add AVR XMEGA architectures. (eavrxmega?.c): Likewise. * configure.tgt (targ_extra_emuls): Likewise. * emulparams/avrxmega1.sh: New file. * emulparams/avrxmega2.sh: Likewise. * emulparams/avrxmega3.sh: Likewise. * emulparams/avrxmega4.sh: Likewise. * emulparams/avrxmega5.sh: Likewise. * emulparams/avrxmega6.sh: Likewise. * emulparams/avrxmega7.sh: Likewise. * emultempl/avrelf.em (avr_elf_${EMULATION_NAME}_before_allocation): Add avrxmega6, avrxmega7 to list of architectures for no stubs. /opcodes: 2011-03-22 Eric B. Weddington <eric.weddington@atmel.com> * avr-dis.c (avr_operand): Add opcode_str parameter. Check for post-increment to support LPM Z+ instruction. Add support for 'E' constraint for DES instruction. (print_insn_avr): Adjust calls to avr_operand. Rename variable.