Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-05-25perror: fix POSIX compliance and work with recent newlib changeEric Blake
* cygtls.h (strerror_r_buf): New buffer. * errno.cc (strerror): Move guts... (_strerror_r): ...to new function demanded by newlib. (strerror_r): Don't clobber strerror buffer. (_user_strerror): Drop unused declaration. * tlsoffsets.h: Regenerate.
2011-05-25strerror: allow user hook to comply with POSIX rulesEric Blake
* libc/string/strerror.c (strerror): Split body into... (_strerror_r): ...new reentrant function. * libc/string/u_strerr.c (_user_strerror): Update signature. * libc/include/stdio.h (_strerror_r): New prototype. * libc/posix/collate.c (__collate_err): Adjust callers. * libc/stdio/perror.c (_perror_r): Likewise. * libc/string/strerror_r.c (strerror_r): Likewise. * libc/string/xpg_strerror_r.c (__xpg_strerror_r): Likewise.
2011-05-25 * init.cc (dll_entry): Reinstantiate wow64_test_stack_marker andCorinna Vinschen
previous stack tests.
2011-05-25 * legal.sgml: Drop an old paragraph. Reactivate copyright note forCorinna Vinschen
documentation.
2011-05-25 * posix.sgml (std-notes): Add missing <para>.Corinna Vinschen
2011-05-252011-05-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe
* include/stdlib.h (strtod): Declare as extern to resolve compilation issues. Thanks to cgf for the report.
2011-05-242011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel
* config/tc-s390.c (md_gather_operands): Fix check for floating register pair operands. 2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * opcode/s390.h: Replace S390_OPERAND_REG_EVEN with S390_OPERAND_REG_PAIR. 2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * s390-opc.c: Replace S390_OPERAND_REG_EVEN with S390_OPERAND_REG_PAIR. Fix INSTR_RRF_0UFEF instruction type. * s390-opc.txt: Fix cxr instruction type. 2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gas/s390/esa-g5.d: Fix fp register pair operands. * gas/s390/esa-g5.s: Likewise. * gas/s390/zarch-z196.d: Likewise. * gas/s390/zarch-z196.s: Likewise. * gas/s390/zarch-z9-109.d: Likewise. * gas/s390/zarch-z9-109.s: Likewise. * gas/s390/zarch-z9-ec.d: Likewise. * gas/s390/zarch-z9-ec.s: Likewise.
2011-05-24 * mount.cc (mount_info::conv_to_win32_path): Remove unused code.Corinna Vinschen
* mount.h (class mount_info): Remove sys_mount_table_counter member. * shared_info.h (class shared_info): Ditto. (CURR_SHARED_MAGIC): Update.
2011-05-242011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel
* config/tc-s390.c (md_gather_operands): Emit an error for odd numbered registers used as register pair operand. 2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * opcode/s390.h: Add S390_OPCODE_REG_EVEN flag. 2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * s390-opc.c: Add new instruction types marking register pair operands. * s390-opc.txt: Match instructions having register pair operands to the new instruction types. 2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gas/s390/esa-g5.d: Fix register pair operands. * gas/s390/esa-g5.s: Likewise. * gas/s390/esa-z9-109.d: Likewise. * gas/s390/esa-z9-109.s: Likewise. * gas/s390/zarch-z196.d: Likewise. * gas/s390/zarch-z196.s: Likewise. * gas/s390/zarch-z9-109.d: Likewise. * gas/s390/zarch-z9-109.s: Likewise. * gas/s390/zarch-z900.d: Likewise. * gas/s390/zarch-z900.s: Likewise. * gas/s390/zarch-z990.d: Likewise. * gas/s390/zarch-z990.s: Likewise.
2011-05-24 * pinfo.h (struct _pinfo): Reduce size of progname array slightly.Corinna Vinschen
Explain why.
2011-05-24* cygtls.h (strerror_buf): Resize to allow '-'.Eric Blake
2011-05-24strerror: match recent glibc changesEric Blake
* errno.cc (strerror): Print unknown errno as int. (__xpg_strerror_r): Likewise, and don't clobber strerror buffer.
2011-05-24Fix typo in ChangeLog of previous commitChris Sutcliffe
2011-05-242011-05-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe
* include/time.h (daytime, timezone, tzname): Rework guards to expose when compiles with __STRICT_ANSI__. Thanks to Felipe Contreras for the report.
2011-05-23 * fhandler_process.cc (thread_info::fill_if_match): Reformat.Corinna Vinschen
(format_process_maps): Ditto. Fetch pointer to procinfo structure from mapped process. Print info about global shared Cygwin regions.
2011-05-232011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe
* include/stdlib.h (strtod): Remove possible static declaration to resolve issue with gcc. Thanks to Tobias Burnus for the report.
2011-05-232011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe
* include/stdlib.h (_rotl, _lrotl, _rotr, _lrotr): Resolve conflict with gcc by wrapping the functions in brackets. Thanks to Kai Tietz for the report.
2011-05-232011-05-22 A.B., Khalid <abkhd@users.sourceforge.net>Chris Sutcliffe
* Makefile.in: Add support for msvcr100.dll. * msvcrt.def.in: Ditto.
2011-05-232011-05-22 Antoine LECA <antoinel@users.sourceforge.net>Chris Sutcliffe
* mingwex/mingw-fseek.c: The anonymous union feature for LARGE_INTEGER is not always available, go the long way and use the explicit named union members, which are also declared in winnt.h.
2011-05-232011-05-22 Antoine LECA <antoinel@users.sourceforge.net>Chris Sutcliffe
* mingwex/isblank.c: Fix typo in declaration.
2011-05-232011-05-22 Antoine LECA <antoinel@users.sourceforge.net>Chris Sutcliffe
* include/_mingw.h: Define GCC system_header only if PCC is not defined. * include/stdlib.h: Fix a long-standing typo which prevented correct use of the MB_CUR_MAX macro/variable when DECLSPEC is not supported and <stdlib.h> is included before <ctype.h>.
2011-05-232011-05-22 Chris Sutcliffe <ir0nh34d@users.sf.net>Chris Sutcliffe
* include/wingdi.h (GCP_RESULTSW): Correct defintion. Thanks to Albrecht Schlosser for the report and the fix.
2011-05-232011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe
* include/wchar.h: Include stdio.h to grab definition of FILENAME_MAX. Thanks to Jim Bell for the report and Greg Chicares for the fix.
2011-05-21 * fhandler_process.cc (struct dos_drive_mappings): Use malloc/freeCorinna Vinschen
rather than cmalloc/cfree. Check return value from malloc before using it. (struct heap_info): Ditto. (struct thread_info): Ditto. Rename from stack_info. Rename members and local variables accordingly. (thread_info::thread_info): Store stack and TEB addresses. (thread_info::fill_if_match): Print "teb" if a TEB address has been found. Special case for WOW64, explain why. (format_process_maps): Fetch PEB address. Print MEM_RESERVE regions with equal signs to distinguish them from PAGE_NOACCESS regions. Fix printing of 'p' and 's' to differ between MEM_PRIVATE and MEM_MAPPED pages, as on Linux. Print 'g' instead of 'p for PAGE_GUARD pages. Print PEB and SharedUserData area if recognized.
2011-05-20 * miscfuncs.cc (CygwinCreateThread): Fix condition for adding theCorinna Vinschen
guardsize to the stacksize. Fix accompanying comment.
2011-05-20 * miscfuncs.cc (CygwinCreateThread): Add accidentally missing comment.Corinna Vinschen
2011-05-20 * fhandler_process.cc (struct heap_info): Change type of base and endCorinna Vinschen
members to char *. Print "shared" rather than "share". (struct stack_info): New class to fetch process stack information. (format_process_maps): Initialize and check for stack information.
2011-05-20 * miscfuncs.cc (thread_wrapper): Remove statements added for debuggingCorinna Vinschen
purposes.
2011-05-20 * child_info.h (CURR_CHILD_INFO_MAGIC): Update.Corinna Vinschen
(class child_info_fork): Remove stacksize, add stackaddr and guardsize members. * dcrt0.cc (child_info_fork::alloc_stack_hard_way): Partial rewrite to regenerate the stack exactly as in the parent. (child_info_fork::alloc_stack): Set stackaddr to 0, rather than stacksize. (dll_crt0_1): Check for stackaddr before changing the stack addresses in the TEB. * fork.cc (frok::child): Check for stackaddr here. (frok::parent): Set ch.stackaddr and ch.guardsize if not called from the main thread. * init.cc (dll_entry): Replace pointer to NT_TIB with pointer to TEB. Fix incorrectly changed address test before removing _my_tls. Set StackLimit to NULL on Windows 2000. Explain why. * miscfuncs.cc (struct thread_wrapper_arg): Store stackbase rather than stacksize, store commitaddr, remove guardsize. Store all pointers as char * for easier address arithmetic. (thread_wrapper): Rewrite to remove OS stack before calling thread function. Add lots of comments to explain what we do. (CygwinCreateThread): Reserve our own stack in case we got no application stack. Add comments. * ntdll.h (struct _TEB): Extend defintion up to DeallocationStack member. * thread.cc (pthread_attr::pthread_attr): Use "(size_t) -1" rather then 0xffffffff. * wincap.h (wincaps::has_stack_size_param_is_a_reservation): New element. * wincap.cc: Implement above element throughout.
2011-05-20* thread.cc: Mark psiginfo and psignal as available in list ofYaakov Selkowitz
optional cancellation points.
2011-05-19* new-features.sgml (ov-new1.7.10): Document __fpurge.Yaakov Selkowitz
2011-05-19* cygwin.din (__fpurge): Export.Yaakov Selkowitz
* posix.sgml (std-solaris): Add __fpurge. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
2011-05-19* libc/include/stdio_ext.h: New header.Yaakov Selkowitz
* libc/stdio/fpurge.c [!__rtems__] (__fpurge): New function.
2011-05-19 * Makefile.am (install-data-local): Fix condition and rm call.Corinna Vinschen
* Makefile.in: Regenerate.
2011-05-19* posix.sgml (std-susv4): Remove chroot, futimes, hstrerror.Yaakov Selkowitz
(std-deprec): Add chroot. (std-bsd): Add futimes, hstrerror. (std-notimpl): Add clock_nanosleep, nexttoward, nexttowardf. Remove initstate, which is implemented and listed in std-susv4.
2011-05-18* new-features.sgml (ov-new1.7.10): Document error.h functions.Yaakov Selkowitz
2011-05-18* cygwin.din (error): Export.Yaakov Selkowitz
(error_at_line): Export. (error_message_count): Export. (error_one_per_line): Export. (error_print_progname): Export. * errno.cc (error_message_count): Define. (error_one_per_line): Define. (error_print_progname): Define. (_verror): New static function. (error): New function. (error_at_line): New function. * posix.sgml (std-gnu): Add error, error_at_line. * include/error.h: New header. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
2011-05-17* new-features.sgml (ov-new1.7.10): Document CPU-time clock support.Yaakov Selkowitz
Move pthread stack management APIs to separate listitem.
2011-05-17* cygwin.din (clock_getcpuclockid): Export.Yaakov Selkowitz
(pthread_getcpuclockid): Export. * hires.h (PID_TO_CLOCKID): New macro. (CLOCKID_TO_PID): New macro. (CLOCKID_IS_PROCESS): New macro. (THREADID_TO_CLOCKID): New macro. (CLOCKID_TO_THREADID): New macro. (CLOCKID_IS_THREAD): New macro. * ntdll.h (enum _THREAD_INFORMATION_CLASS): Add ThreadTimes. * posix.sgml (std-notimpl): Add clock_getcpuclockid and pthread_getcpuclockid from here... (std-susv4): ... to here. (std-notes): Remove limitations of clock_getres and clock_gettime. Note limitation of timer_create to CLOCK_REALTIME. * sysconf.cc (sca): Set _SC_CPUTIME to _POSIX_CPUTIME, and _SC_THREAD_CPUTIME to _POSIX_THREAD_CPUTIME. * thread.cc (pthread_getcpuclockid): New function. * timer.cc (timer_create): Set errno to ENOTSUP for CPU-time clocks. * times.cc (clock_gettime): Handle CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID. (clock_getres): Ditto. (clock_settime): Set errno to EPERM for CPU-time clocks. (clock_getcpuclockid): New function. * include/pthread.h (pthread_getcpuclockid): Declare. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
2011-05-17 * miscfuncs.cc (thread_wrapper): Remove unused _cygtls record.Corinna Vinschen
* mmap.cc (is_mmapped_region): Avoid crash if no mmaps exist.
2011-05-17 PR ld/12760Alan Modra
include/ * bfdlink.h (struct bfd_link_callbacks <notice>): Add "flags" and "string" param. bfd/ * coff-aux.c (coff_m68k_aux_link_add_one_symbol): Adjust "notice" call. * elflink.c (elf_link_add_object_symbols): Likewise. * linker.c (_bfd_generic_link_add_one_symbol): Likewise. ld/ * ldmain.c (notice): Add "flags" and "string" param. * plugin.c (plugin_notice): Likewise. Handle indirect, warning and constructor syms.
2011-05-17* libc/include/time.h (CLOCK_PROCESS_CPUTIME_ID): Rename fromYaakov Selkowitz
CLOCK_PROCESS_CPUTIME. (CLOCK_THREAD_CPUTIME_ID): Rename from CLOCK_THREAD_CPUTIME. * libc/include/sys/features.h [__CYGWIN__] (_POSIX_CPUTIME): Define. (_POSIX_THREAD_CPUTIME): Define.
2011-05-16 * globals.cc (__getlogin_username): Remove.Corinna Vinschen
* uinfo.cc (getlogin_r): Fetch username from cygheap. (getlogin): Add static buffer username and fetch username from getlogin_r.
2011-05-16 * cygtls.h (struct _local_storage): Remove unused members rarg andCorinna Vinschen
_localtime_buf. Remove username in favor of a global buffer. Reorder slightly to keep the net.cc stuff together. * globals.cc (__getlogin_username): New global char buffer. * tlsoffsets.h: Regenerate. * uinfo.cc (getlogin): Copy username into __getlogin_username.
2011-05-16 * libc/stdlib/strtod.c (_strtod_r): Fix nf/nd counts to not exceedCorinna Vinschen
DBL_DIG.
2011-05-16 * heap.cc (heap_init): Rewrite initial heap allocation to use addressesCorinna Vinschen
beyond 0x20000000. Explain why and how. * shared.cc (shared_info::heap_slop_size): Remove. * shared_info.h (class shared_info): Remove heap_slop_inited and heap_slop members. Remove heap_slop_size declaration. (CURR_SHARED_MAGIC): Update. * wincap.cc: Throughout, drop heapslop. * wincap.h (struct wincaps): Drop heapslop.
2011-05-16 * dcrt0.cc (child_info_fork::alloc_stack_hard_way): Check if theCorinna Vinschen
requested stack is application-provided within the user heap or an mmapped region. If so, just use it. Add comment to explain why. * miscfuncs.cc (thread_wrapper): If an application-provided stack has been given, implement cygtls area at the stackbase. Fix comment. * mmap.cc (is_mmapped_region): New function. * winsup.h (is_mmapped_region): Declare.
2011-05-16include/Alan Modra
* bfdlink.h (struct bfd_link_hash_entry): Remove u.undef.weak field. bfd/ * linker.c (_bfd_generic_link_add_one_symbol): Don't init u.undef.weak.
2011-05-15 * miscfuncs.cc (thread_wrapper): Add comments to assembler code.Corinna Vinschen
2011-05-15 * new-features.sgml (ov-new1.7.10): Document pthread_attr_getguardsize,Corinna Vinschen
pthread_attr_setstack, pthread_attr_setstackaddr and pthread_attr_setguardsize.