]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
14 years ago* shared_info.h (open_shared): Create function wrapper for common use case.
Christopher Faylor [Tue, 9 Mar 2010 21:26:55 +0000 (21:26 +0000)]
* shared_info.h (open_shared): Create function wrapper for common use case.
(open_shared): Change fifth argument to a pointer rather than a reference.
* fhandler_console.cc (fhandler_console::get_tty_stuff): Eliminate use of dummy
variable and call open_shared with constant.
* fhandler_process.cc (format_process_mounts): Ditto.
* pinfo.cc (pinfo::init): Pass pointer to shloc.
* shared.cc (shared_mem_inited): New variable.
(open_shared): Crate function wrapper for common use case.
(open_shared): Accommodate change to fifth argument to a pointer.
(shared_info::initialize): Remove spinlock test.  Simplify function.  Move
get_session_parent_dir call back here.
(memory_init): Protect global shared settings with shared_mem_inited spinlock.
Move get_session_parent_dir call to shared_info::initialize.

14 years ago2010-03-09 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 9 Mar 2010 20:38:18 +0000 (20:38 +0000)]
2010-03-09  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/posix/telldir.c (dd_loccnt): Change start index to be 1
        instead of 0.
        (_seekdir): A loc of 0 now means rewind dir.

14 years ago* shared.cc (inst_root_inited): Delete.
Christopher Faylor [Tue, 9 Mar 2010 16:07:15 +0000 (16:07 +0000)]
* shared.cc (inst_root_inited): Delete.
* (shared_info::initialize): Reorganize.  Move call to init_installation_root
here under spinlock control.  Move unneeded non-shared_info initialization out
of this function.
(memory_init): Remove call to init_installation_root.  Call heap_init and
get_session_parent_dir here.

14 years ago2010-03-08 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Mon, 8 Mar 2010 17:16:37 +0000 (17:16 +0000)]
2010-03-08  Craig Howland <howland@LGSInnovations.com>

        * libm/common/s_rint.c:  Fix error when integral part had 18 bits and
        fraction had bits set beyond first radix bit.  Also, make 2-part
        adjustment consistent with 1-part adjustment when adjusting fractional
        bits.
        * libm/common/sf_rint.c:  Make fractional-bit adjustment consistent
        with s_rint.c by setting 0b.01 instead of 0b.001.

14 years ago2010-03-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sun, 7 Mar 2010 03:10:38 +0000 (03:10 +0000)]
2010-03-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

        * include/_mingw.h: Increment version to 3.18.

14 years ago2010-03-02 Daniel Atallah <datallah@users.sourceforge.net>
Chris Sutcliffe [Sun, 7 Mar 2010 03:08:35 +0000 (03:08 +0000)]
2010-03-02  Daniel Atallah <datallah@users.sourceforge.net>

        * include/stdio.h: (_vscprintf, _vscwprintf)
        * include/tchar.h: (_vsctprintf)

14 years ago include:
Rainer Orth [Fri, 5 Mar 2010 21:04:59 +0000 (21:04 +0000)]
include:
* elf/common.h (VER_FLG_*): Document.
(VER_FLG_INFO): Define.

gold:
* dynobj.h (Verdef::Verdef): Add is_info arg, is_info member
function, is_info_ member.
* dynobj.cc (Verdef::write): Set VER_FLG_INFO if this->is_info_.
(Versions::Versions): Update caller.
(Versions::define_base_version): Likewise.
(Versions::add_def): Likewise.

elfcpp:
* elfcpp.h (VER_FLG_INFO): Define.

binutils:
* readelf.c (get_ver_flags): Handle VER_FLG_INFO.

14 years ago * setup2.sgml (setup-env): Add cross reference to using-cygwinenv.
Corinna Vinschen [Fri, 5 Mar 2010 15:44:03 +0000 (15:44 +0000)]
* setup2.sgml (setup-env): Add cross reference to using-cygwinenv.
Change description for locale environment variables to comply with
changes in 1.7.2.

14 years ago * libm/math/ef_sqrt.c: Delete unused variable sign.
Corinna Vinschen [Fri, 5 Mar 2010 08:55:16 +0000 (08:55 +0000)]
* libm/math/ef_sqrt.c: Delete unused variable sign.
* libc/stdlib/getenv.c: Delete "char *_findenv_r ();", as is not a
proper prototype, and is properly prototyped in stdlib.h, anyway.
* libc/stdlib/getenv_r.c: Ditto.
* libc/search/hash.c: Add _DEFUN to __hash_open() declaration; add
#define __DBINTERFACE_PRIVATE to activate prototypes from db_local.h.
* libc/search/db_local.h: Correct __hash_open() prototype.
* libc/sys/linux/cmath/math_private.h:  Eliminate compiler warnings:
Remove #define INFINITY (redefines from math.h); remove #define __isnanf
and #define __isinff isinff.

14 years ago PR libstdc++/32499
Rainer Orth [Thu, 4 Mar 2010 17:12:46 +0000 (17:12 +0000)]
PR libstdc++/32499
* configure.ac (RANLIB): Default to true.
(STRIP): Likewise.
(RANLIB_FOR_TARGET): Remove superfluous : argument.
* configure: Regenerate.

14 years ago * syscalls.cc (nt_path_has_executable_suffix): Change storage class of
Corinna Vinschen [Thu, 4 Mar 2010 16:20:37 +0000 (16:20 +0000)]
* syscalls.cc (nt_path_has_executable_suffix): Change storage class of
blessed_executable_suffixes to static.
(rename): Revert meaning of old_explicit_suffix.  Change the rules
for appending a .exe suffix and (yikes!) document them.

14 years ago * cygwin.din: Export __xdr functions.
Corinna Vinschen [Thu, 4 Mar 2010 09:37:52 +0000 (09:37 +0000)]
* cygwin.din: Export __xdr functions.
* include/cygwin/version.h: Bump version.
* posix.sgml: Add a few more XDR functions to list
of implemented Solaris functions.

14 years ago * new-features.sgml (ov-new1.7.2): Describe XDR support.
Corinna Vinschen [Wed, 3 Mar 2010 15:05:33 +0000 (15:05 +0000)]
* new-features.sgml (ov-new1.7.2): Describe XDR support.

14 years ago Add XDR support.
Corinna Vinschen [Wed, 3 Mar 2010 15:05:19 +0000 (15:05 +0000)]
Add XDR support.
* cygwin.din: Export xdr functions.
* include/cygwin/version.h: Bump version.
* cygxdr.cc: New.
* cygxdr.h: New.
* dcrt0.cc (dll_crt0_1): Print the (rare) xdr-related
error messages to stderr.
* Makefile.in: Add cygxdr.
* posix.sgml: Add new XDR functions to list of implemented Solaris
functions.

14 years ago2010-03-02 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Tue, 2 Mar 2010 19:28:39 +0000 (19:28 +0000)]
2010-03-02  Craig Howland <howland@LGSInnovations.com>

        * libc/include/sys/features.h:  Add POSIX.1-permitted definition of
        _POSIX_C_SOURCE if not already defined and _XOPEN_SOURCE has an
        appropriate value.  Specifically, check for POSIX.1-2008 & 2001 values.
        * libc/include/sys/config.h:  Add #include <sys/features.h> so that all
        includes get the new check added to it.

14 years ago * libc/xdr/README: Correct grammatical errors.
Corinna Vinschen [Tue, 2 Mar 2010 14:29:36 +0000 (14:29 +0000)]
* libc/xdr/README: Correct grammatical errors.
* libc/include/rpc/types.h: Add public types used
by RPC implementations.
* libc/include/rpc/xdr.h: Add defines used by RPC
implementations.
* libc/xdr/Makefile.am: Eliminate automake warning.
* libc/xdr/Makefile.in: Regenerate.

14 years ago * libc/xdr/Makefile.in: Regenerate.
Corinna Vinschen [Tue, 2 Mar 2010 12:21:52 +0000 (12:21 +0000)]
* libc/xdr/Makefile.in: Regenerate.

14 years ago Add eXtensible Data Record (XDR) support
Corinna Vinschen [Tue, 2 Mar 2010 12:05:18 +0000 (12:05 +0000)]
Add eXtensible Data Record (XDR) support
* configure.host: Build libc/xdr only on cygwin.
* Makefile.am: Install xdr headers.
* libc/configure.in: Support new libc/xdr subdirectory.
* libc/Makefile.am: Support new libc/xdr subdirectory.
* libc/include/rpc/types.h: New.
* libc/include/rpc/xdr.h: New.
* libc/xdr/README: New.
* libc/xdr/Makefile.am: New.
* libc/xdr/dummy.c: New.
* libc/xdr/xdr.c: New.
* libc/xdr/xdr_array.c: New.
* libc/xdr/xdr_float.c: New.
* libc/xdr/xdr_float_vax.c: New.
* libc/xdr/xdr_mem.c: New.
* libc/xdr/xdr_private.c: New.
* libc/xdr/xdr_private.h: New.
* libc/xdr/xdr_rec.c: New.
* libc/xdr/xdr_reference.c: New.
* libc/xdr/xdr_sizeof.c: New.
* libc/xdr/xdr_stdio.c: New.

Regenerate using ac-2.63 and am-1.11.1
* libc/xdr/Makefile.in: New.
* Makefile.in: Regenerate.
* libc/configure: Regenerate.
* libc/Makefile.in: Regenerate.
* libc/argz/Makefile.in: Regenerate.
* libc/ctype/Makefile.in: Regenerate.
* libc/errno/Makefile.in: Regenerate.
* libc/iconv/ccs/binary/Makefile.in: Regenerate.
* libc/iconv/ccs/Makefile.in: Regenerate.
* libc/iconv/ces/Makefile.in: Regenerate.
* libc/iconv/lib/Makefile.in: Regenerate.
* libc/iconv/Makefile.in: Regenerate.
* libc/locale/Makefile.in: Regenerate.
* libc/misc/Makefile.in: Regenerate.
* libc/posix/Makefile.in: Regenerate.
* libc/reent/Makefile.in: Regenerate.
* libc/search/Makefile.in: Regenerate.
* libc/signal/Makefile.in: Regenerate.
* libc/stdio/Makefile.in: Regenerate.
* libc/stdio64/Makefile.in: Regenerate.
* libc/stdlib/Makefile.in: Regenerate.
* libc/string/Makefile.in: Regenerate.
* libc/syscalls/Makefile.in: Regenerate.
* libc/time/Makefile.in: Regenerate.
* libc/unix/Makefile.in: Regenerate.

14 years ago* cygtls.h: Replace /*gentls_offsets*/ at end.
Christopher Faylor [Tue, 2 Mar 2010 00:49:15 +0000 (00:49 +0000)]
* cygtls.h: Replace /*gentls_offsets*/ at end.

14 years ago* exception.h: Fix copyright.
Christopher Faylor [Mon, 1 Mar 2010 06:39:47 +0000 (06:39 +0000)]
* exception.h: Fix copyright.

14 years agoFix/delete inaccurate comments.
Christopher Faylor [Mon, 1 Mar 2010 06:38:58 +0000 (06:38 +0000)]
Fix/delete inaccurate comments.

14 years agoUpdate some copyrights.
Christopher Faylor [Sun, 28 Feb 2010 15:54:25 +0000 (15:54 +0000)]
Update some copyrights.
* cygtls.cc (_cygtls::call): Invoke new exception protection here.
(_cygtls::init_thread): Remove conditionalized exception handler setup.
(exception_list): Delete declaration.
(_cygtls::init_exception_handler): Delete obsolete function.
* cygtls.h: Remove (now) unneeded include.
(_cygtls): Make this a real C++ class.
(_cygtls::handle_exceptions): Remove.
(_cygtls::init_exception_handler): Remove.
(_cygtls::call2): Make private.
(myfault::faulted): Remove unneeded parentheses.
* dcrt0.cc (dll_crt0_1): Remove exception handler setup.
* dlfcn.cc (dlopen): Ditto.
(dlclose): Ditto.
* dll_init.cc (dll_dllcrt0_1): Ditto.
(dll_list::detach): Use new exception handler protection.
* exceptions.cc (dump_exception): Rename to prevent confusion with new class.
(exception::handle): Rename from _cygtls::handle_exceptions.  Accommodate new
exception class.  Accommodate rename to dump_exception.
* tlsoffsets.h: Regenerate.

14 years ago* cygtls.h (_cygtls::init_exception_handler): Eliminate argument.
Christopher Faylor [Fri, 26 Feb 2010 21:36:31 +0000 (21:36 +0000)]
* cygtls.h (_cygtls::init_exception_handler): Eliminate argument.
(_cygtls::andreas): Convert to a pointer.
(san): Convert to a real class with methods.  Use a linked list to keep track
of previous handlers on the "stack".
(myfault): Rewrite to use new san class rather than calling directly into
_cygtls.
* cygtls.cc (_cygtls::init_exception_handler): Just assume that we're always
using the standard exception handler.
(_cygtls::init_thread): Reflect loss of argument to init_exception_handler.
* dcrt0.cc (dll_crt0_1): Ditto.
* dfcn.cc (dlopen): Ditto.
(dlclose): Reset the exception handler after FreeLibrary.
* dll_init.cc (dll_list::detach): Make sure that the exception handler is
initialized before calling destructors.
* exceptions.cc (_cygtls::handle_exceptions): Accommodate new andreas pointer.
* thread.cc (verifyable_object_isvalid): Pass objectptr to faulted for explicit
NULL pointer checking.
* tlsoffsets.h: Regenerate.

14 years ago* mkimport: cd away from temp directory or Windows will have problems removing
Christopher Faylor [Fri, 26 Feb 2010 19:37:43 +0000 (19:37 +0000)]
* mkimport: cd away from temp directory or Windows will have problems removing
the directory.

14 years ago * new-features.sgml (ov-new1.7.2): Add strptime changes.
Corinna Vinschen [Fri, 26 Feb 2010 17:54:24 +0000 (17:54 +0000)]
* new-features.sgml (ov-new1.7.2): Add strptime changes.

14 years ago * libc/strptime.cc: Implement support for era, alt_digits and POSIX
Corinna Vinschen [Fri, 26 Feb 2010 17:53:52 +0000 (17:53 +0000)]
* libc/strptime.cc: Implement support for era, alt_digits and POSIX
padding and width modifiers.
(era_info_t): New type.
(free_era_info): New static function to free era_info_t storage.
(get_era_info): New static function to create era_info_t storage
from LC_TIME era information.
(alt_digits_t): New type.
(get_alt_digits): New static function to create alt_digits_t storage
from LC_TIME alt_digits information.
(free_alt_digits): New static function to free alt_digits_t storage.
(find_alt_digits): New static function to scan input for alternative
digits and return them, if any.  Return NULL otherwise.
(__strptime): New static function taking all code from strptime.
Implement handling for E, O, +, 0, and width modifiers per POSIX-1.2008.
(strptime): Convert into wrapper function to provide era_info and
alt_digits pointers and call __strptime.
(conv_num): Take additional alt_digits_t parameter and if it's not
NULL, call find_alt_digits to convert.

14 years ago * strsig.cc: Fix formatting and copyright.
Corinna Vinschen [Fri, 26 Feb 2010 16:00:17 +0000 (16:00 +0000)]
* strsig.cc: Fix formatting and copyright.

14 years ago2010-02-26 Pierre Humblet <Pierre.Humblet@ieee.org>
Pierre Humblet [Fri, 26 Feb 2010 14:51:59 +0000 (14:51 +0000)]
2010-02-26  Pierre Humblet <Pierre.Humblet@ieee.org>

        * security.cc (check_access): Use user.imp_token if appropriate.
        Set errno and return if DuplicateTokenEx fails .

14 years ago * utils.sgml (kill): Add SIGIO, SIGCLD, and SIGPWR.
Yaakov Selkowitz [Fri, 26 Feb 2010 10:47:05 +0000 (10:47 +0000)]
* utils.sgml (kill): Add SIGIO, SIGCLD, and SIGPWR.

14 years ago * new-features.sgml (ov-new1.7.2): Add strftime/wcsftime changes.
Corinna Vinschen [Fri, 26 Feb 2010 10:28:39 +0000 (10:28 +0000)]
* new-features.sgml (ov-new1.7.2): Add strftime/wcsftime changes.

14 years ago * libm/common/s_ilogb.c: Fix typo in comments that causes doc
Corinna Vinschen [Fri, 26 Feb 2010 09:44:25 +0000 (09:44 +0000)]
* libm/common/s_ilogb.c:  Fix typo in comments that causes doc
generation to fail.

14 years ago * libc/time/strftime.c: Add support for era and alt_digits data from
Corinna Vinschen [Fri, 26 Feb 2010 09:41:44 +0000 (09:41 +0000)]
* libc/time/strftime.c: Add support for era and alt_digits data from
LC_TIME locale category.  Conditionalize using _WANT_C99_TIME_FORMATS
flag.
(STRTOUL): Define differently for building strftime or wcsftime.
(STRCPY): Ditto.
(STRCHR): Ditto.
(STRLEN): Ditto.
(CHECK_LENGTH): Define to simplify code.
(era_info_t): New type to store era info.
(get_era_info): New function to fetch era info matching incoming
struct tm.
(free_era_info): New function to free era info.
(alt_digits_t): New type to store alternative digits.
(get_alt_digits): New function to convert alt_digits string into
alt_digits_t structure.
(free_alt_digits): New function to free alt_digits info.
(conv_to_alt_digits): New function to convert unsigned value into
alternative digits.
(strftime): Conditionalize on _WANT_C99_TIME_FORMATS.  If
_WANT_C99_TIME_FORMATS is defined, define as just a wrapper function
providing era_info and alt_digits pointers and call ...
(__strftime): Rename from strftime and make static if
_WANT_C99_TIME_FORMATS is defined.  Add parameters for era_info and
alt_digits pointers.  Handle conversion modifiers according to
POSIX-1.2008.  Redefine %F and %Y according to POSIX.  Add default case
to allow to bail out on invalid conversion specifiers.
* libc/include/sys/config.h: Move Cygwin build flags to Cygwin's
config.h.

* libc/include/stdio.h: Remove __CYGWIN_USE_BIG_TYPES__ condition.

14 years ago Add missing ChangeLog checkin.
Corinna Vinschen [Fri, 26 Feb 2010 09:37:12 +0000 (09:37 +0000)]
Add missing ChangeLog checkin.

14 years ago Remove all traces of __CYGWIN_USE_BIG_TYPES__.
Corinna Vinschen [Fri, 26 Feb 2010 09:36:21 +0000 (09:36 +0000)]
Remove all traces of __CYGWIN_USE_BIG_TYPES__.

* include/cygwin/config.h: Move Cygwin-specific build flags from
newlib's sys/config.h here.  Add a comment.

14 years ago * new-features.sgml (ov-new1.7.2): Add SIGPWR support.
Yaakov Selkowitz [Fri, 26 Feb 2010 09:34:38 +0000 (09:34 +0000)]
* new-features.sgml (ov-new1.7.2): Add SIGPWR support.

14 years ago * include/cygwin/signal.h: Define SIGPWR as synonym for SIGLOST.
Yaakov Selkowitz [Fri, 26 Feb 2010 05:43:50 +0000 (05:43 +0000)]
* include/cygwin/signal.h: Define SIGPWR as synonym for SIGLOST.
* strsig.cc: Ditto.
* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR.

14 years ago * lc_era.h (lc_era_t): Fix apparent glibc bug in ja_JP era definition.
Corinna Vinschen [Thu, 25 Feb 2010 16:55:02 +0000 (16:55 +0000)]
* lc_era.h (lc_era_t): Fix apparent glibc bug in ja_JP era definition.

14 years ago * utils.sgml (locale): Change description of -a and -av to match
Corinna Vinschen [Thu, 25 Feb 2010 16:42:59 +0000 (16:42 +0000)]
* utils.sgml (locale): Change description of -a and -av to match
latest changes.

14 years ago * new-features.sgml (ov-new1.7.2): Move stty erase support into
Corinna Vinschen [Thu, 25 Feb 2010 16:27:39 +0000 (16:27 +0000)]
* new-features.sgml (ov-new1.7.2): Move stty erase support into
correct category.  Change "console window" to "Windows console".

14 years ago * libc/locale/locale.c (loadlocale): Fix typo in comment.
Corinna Vinschen [Thu, 25 Feb 2010 16:16:16 +0000 (16:16 +0000)]
* libc/locale/locale.c (loadlocale): Fix typo in comment.

14 years ago * libc/locale/locale.c: Throughout, extensively comment on the
Corinna Vinschen [Thu, 25 Feb 2010 16:10:42 +0000 (16:10 +0000)]
* libc/locale/locale.c:  Throughout, extensively comment on the
reason for using __CYGWIN__.
(lconv): Remove _CONST entirely.
(loadlocale): Guard calls to function loading locale-specific
category data with __HAVE_LOCALE_INFO__ rather than __CYGWIN__.
* libc/sys/config.h (__HAVE_LOCALE_INFO__): Define for Cygwin.

14 years ago * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
Nick Clifton [Thu, 25 Feb 2010 11:15:48 +0000 (11:15 +0000)]
    * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
        mips_fix_loongson2f_jump): New variables.
        (md_longopts): Add New options -mfix-loongson2f-nop/jump,
        -mno-fix-loongson2f-nop/jump.
        (md_parse_option): Initialize variables via above options.
        (options): New enums for the above options.
        (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
        (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
        New functions.
        (append_insn): call fix_loongson2f().
        (mips_handle_align): Replace the implicit nops.
        * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
        for the new mips_handle_align().
        * doc/c-mips.texi: Document the new options.

        * gas/mips/loongson-2f-2.s: New test of -mfix-loongson2f-nop.
        * gas/mips/loongson-2f-2.d: Likewise.
        * gas/mips/loongson-2f-3.s: New test of -mfix-loongson2f-jump.
        * gas/mips/loongson-2f-3.d: Likewise.
        * gas/mips/mips.exp: Run the new tests.

        * opcode/mips.h (LOONGSON2F_NOP_INSN): New macro.

14 years ago2010-02-24 Charles Wilson <...>
Jeff Johnston [Wed, 24 Feb 2010 21:00:08 +0000 (21:00 +0000)]
2010-02-24  Charles Wilson  <...>

        Work around issues with new libtool files in ..
        * configure.in: Unconditionally call _LT_PROG_ECHO_BACKSLASH.
        * iconvdata/configure.in: Ditto.
        * libc/configure.in: Ditto.
        * libc/machine/configure.in: Ditto.
        * libc/machine/i386/configure.in: Ditto.
        * libc/sys/configure.in: Ditto.
        * libc/sys/linux/configure.in: Ditto.
        * libc/sys/linux/linuxthreads/configure.in: Ditto.
        * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
        * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
        * libc/sys/linux/machine/configure.in: Ditto.
        * libc/sys/linux/machine/i386/configure.in: Ditto.
        * libm/configure.in: Ditto.
        * libm/machine/configure.in: Ditto.
        * libm/machine/i386/configure.in: Ditto.
        * libc/machine/sh/configure.in: Ditto.  Also, call
        AC_NO_EXECUTABLES before NEWLIB_CONFIGURE.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * Makefile.in: Ditto.
        * doc/aclocal.m4: Ditto.
        * doc/Makefile.in: Ditto.
        * libc/*/aclocal.m4: Ditto.
        * libc/*/Makefile.in: Ditto.
        * libc/*/configure: Ditto.
        * libm/*/aclocal.m4: Ditto.
        * libm/*/Makefile.in: Ditto.
        * libm/*/configure: Ditto.

14 years ago2010-02-24 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 24 Feb 2010 19:58:17 +0000 (19:58 +0000)]
2010-02-24  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/__call_exit.c: Add include of sys/lock.h.

14 years ago * sec_auth.cc (get_full_privileged_inheritable_token): Fix dumb typo
Corinna Vinschen [Wed, 24 Feb 2010 17:30:18 +0000 (17:30 +0000)]
* sec_auth.cc (get_full_privileged_inheritable_token): Fix dumb typo
when checking linked token for being a primary token.

14 years ago* dlfcn.cc (dlopen): Make sure exception handler is really loaded after dynamic
Christopher Faylor [Wed, 24 Feb 2010 08:03:44 +0000 (08:03 +0000)]
* dlfcn.cc (dlopen): Make sure exception handler is really loaded after dynamic
load.

14 years ago* cygtls.cc (_cygtls::init_exception_handler): Force installation of our
Christopher Faylor [Wed, 24 Feb 2010 00:03:42 +0000 (00:03 +0000)]
* cygtls.cc (_cygtls::init_exception_handler): Force installation of our
exception handler to always be at the beginning.

14 years ago2010-02-23 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 23 Feb 2010 23:13:20 +0000 (23:13 +0000)]
2010-02-23  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/types.h: Fix __XMK__ sectioning and remove
        redundant code section for __XMK__.

14 years ago * locale.cc (printlocale): Remove.
Corinna Vinschen [Tue, 23 Feb 2010 14:07:08 +0000 (14:07 +0000)]
* locale.cc (printlocale): Remove.
(loc_t): New type to keep locale information for printing.
(print_codeset): New function to print codeset as on Linux.
(print_locale_with_codeset): New function to print single locale.
Print verbose style as the Linux locale(1) tool.
(print_locale): New function to print single locale plus its UTF-8
variation, if available.
(compare_locales): New helper function for bsearch and qsort on loc_t.
(add_locale): New function to store locale in loc_t array.
(add_locale_alias_locales): New function to store locales from
locale.alias file in loc_t.
(print_all_locales): Call add_locale instead of printlocale.
Call add_locale_alias_locales, sort locales alphabetically and print
them.

14 years agoPR 11297: Add support for 8-bit relocations to the AVR toolchain.
Nick Clifton [Tue, 23 Feb 2010 11:38:36 +0000 (11:38 +0000)]
PR 11297: Add support for 8-bit relocations to the AVR toolchain.

14 years ago* thread.cc (pthread_mutex::unlock): Don't attempt to unlock if there is an
Christopher Faylor [Tue, 23 Feb 2010 07:12:38 +0000 (07:12 +0000)]
* thread.cc (pthread_mutex::unlock): Don't attempt to unlock if there is an
error.

14 years ago* strace.cc (mnemonic_table): Add "special" mask option.
Christopher Faylor [Mon, 22 Feb 2010 20:39:18 +0000 (20:39 +0000)]
* strace.cc (mnemonic_table): Add "special" mask option.
(usage): Document it.
* utils.sgml: Ditto.

14 years ago* include/sys/strace.h: Define _STRACE_SPECIAL.
Christopher Faylor [Mon, 22 Feb 2010 20:36:04 +0000 (20:36 +0000)]
* include/sys/strace.h: Define _STRACE_SPECIAL.
(strace_printf_wrap): Fix NOSTRACE definitions.
(strace_printf_wrap1): Fix NOSTRACE definitions.
(special_printf): Define.
* thread.cc: Perform minor syntax fix in a comment.  Rename
"is_good_initialzer*" to "is_initializer*" throughout.  Use pthread_printf
rather than debug_printf throughout.  Add extra pthread_printf debugging
throughout.
(pthread_mutex::_new_mutex): New constant value.
(pthread_mutex::_unlocked_mutex): Ditto.
(pthread_mutex::_destroyed_mutex): Ditto.
(pthread_mutex::no_owner): Define new function.
(pthread_mutex::can_be_unlocked): Detect no_owner situation.  Handle
PTHREAD_MUTEX_NORMAL as a special case.
(pthread::create_cancel_event): Use C++ boolean values.
(pthread::precreate): Use method to set mutex type.
(pthread_cond::pthread_cond): Ditto.
(pthread_rwlock::pthread_rwlock): Ditto.
(pthread_mutex::pthread_mutex): Set owner to _new_mutex initially.
(pthread_mutex::~pthread_mutex): Reset various elements to make it clearer if
they are incorrectly reused.
(pthread_mutex::lock): Add clarifying comment.
(pthread_mutex::unlock): Attempt to handle various mutex types correctly.  In
particular, reinstate ability to have one thread unlock another thread's mutex
if type == PTHREAD_MUTEX_NORMAL.
(semaphore::_fixup_after_fork): Avoid redundancy.
(pthread_mutex::_fixup_after_fork): Ditto.  Fix debugging statement.
(__pthread_cond_dowait): Accommodate changes to remove previously inexplicable
use can_be_unblocked() as a static function.
* thread.h: Rename "is_good_initialzer*" to "is_initializer*" throughout.
(pthread_mutex): Reorganize.  Make many things private.
(pthread_mutex::no_owner): Define new method.
(pthread_mutex::_new_mutex): Define new constant.
(pthread_mutex::_unlocked_mutex): Ditto.
(pthread_mutex::_destroyed_mutex): Ditto.

14 years ago * cygpath.cc (do_pathconv): Fix erroneously printing native NT path
Corinna Vinschen [Mon, 22 Feb 2010 17:40:46 +0000 (17:40 +0000)]
* cygpath.cc (do_pathconv): Fix erroneously printing native NT path
prefix introduced by previous patch.

14 years ago * lc_era.h: Redefine lc_era_t to keep
Corinna Vinschen [Mon, 22 Feb 2010 11:01:46 +0000 (11:01 +0000)]
* lc_era.h: Redefine lc_era_t to keep
default date and time formats as well to workaround YA Windows
shortcoming.  Refresh with latest data.
* lc_msg.h: Refresh with latest data.
* nlsfuncs.cc (__eval_datetimefmt): Revert latest change.
(__set_lc_time_from_win): Rename res to era.  Prefer default date and
time formats from era array if available.
(__set_lc_messages_from_win): Rename res to msg.

14 years ago * locale.cc (lc_time_names): Add "date_fmt" entry.
Corinna Vinschen [Mon, 22 Feb 2010 10:56:00 +0000 (10:56 +0000)]
* locale.cc (lc_time_names): Add "date_fmt" entry.

14 years ago * libc/include/langinfo.h (_NL_TIME_DATE_FMT): Define new nl_item
Corinna Vinschen [Mon, 22 Feb 2010 10:53:04 +0000 (10:53 +0000)]
* libc/include/langinfo.h (_NL_TIME_DATE_FMT): Define new nl_item
value for LC_TIME entry date_fmt.
(_DATE_FMT): Define "official" GNU name same as _NL_TIME_DATE_FMT.
* libc/locale/nl_langinfo.c (nl_langinfo): Add case for _DATE_FMT.

14 years ago * lc_era.h (lc_era): Fix "ja_JP" era_t_fmt entry to use traditional
Corinna Vinschen [Sat, 20 Feb 2010 22:10:26 +0000 (22:10 +0000)]
* lc_era.h (lc_era): Fix "ja_JP" era_t_fmt entry to use traditional
format.
* nlsfuncs.cc (dt_flags): Remove DT_ERACAL since crippled era data
in Windows makes it useless.
(__eval_datetimefmt): Check if locale's default calender has
non-gregorian start year.  Use era year also in default date entries,
if so.

14 years ago * path.cc (warn_msdos): Enforce extended hex printing of multibyte
Corinna Vinschen [Sat, 20 Feb 2010 09:17:07 +0000 (09:17 +0000)]
* path.cc (warn_msdos): Enforce extended hex printing of multibyte
pathnames.

14 years agoUpdate copyright
Christopher Faylor [Fri, 19 Feb 2010 20:01:49 +0000 (20:01 +0000)]
Update copyright

14 years agoutils/ChangeLog:
Christopher Faylor [Fri, 19 Feb 2010 17:55:27 +0000 (17:55 +0000)]
utils/ChangeLog:
* strace.cc (mnemonic_table): Add pthread mask option.
(usage): Document strace pthread mask option.
* utils.sgml: Ditto.

cygwin/ChangeLog:
* include/sys/strace.h: Remove old code.  Add support for ptrace
tracing.

14 years ago * lc_era.h: New file.
Corinna Vinschen [Fri, 19 Feb 2010 17:30:19 +0000 (17:30 +0000)]
* lc_era.h: New file.
* nlsfuncs.cc: Include lc_era.h.
(locale_cmp): convert arguments to char** to be usable for both types,
lc_msg_t and lc_era_t.
(__set_lc_time_from_win): Handle era-related data

14 years ago * locale.cc (print_lc_mstrings): New function to print
Corinna Vinschen [Fri, 19 Feb 2010 17:27:05 +0000 (17:27 +0000)]
* locale.cc (print_lc_mstrings): New function to print
semicolon-separated strings.
(enum type_t): New type is_sepstrings_linf.
(lc_time_names): Change type of era and alt_digits entry to
is_sepstrings_linf.
(print_lc): Add case for is_sepstrings_linf and call print_lc_mstrings
in that case.

14 years ago * fhandler_disk_file.cc (fhandler_disk_file::opendir): Try to open
Corinna Vinschen [Fri, 19 Feb 2010 13:28:49 +0000 (13:28 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Try to open
directory with stat()-friendly access mask first.  Explain why.

14 years ago * fhandler_disk_file.cc (fhandler_base::fstat_helper): Set st_rdev
Corinna Vinschen [Fri, 19 Feb 2010 12:37:37 +0000 (12:37 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_helper):  Set st_rdev
to same value as st_dev.  Avoid useless debug output in executable
check.  Add filename to debug output.
(fhandler_disk_file::facl): Simplify code calling fstat methods to
just call fstat to avoid errors with the cygdrive directory.

14 years ago * libc/ctype/iswalpha.c (iswalpha): Update to Unicode 5.2.
Corinna Vinschen [Thu, 18 Feb 2010 20:37:19 +0000 (20:37 +0000)]
* libc/ctype/iswalpha.c (iswalpha): Update to Unicode 5.2.
* libc/ctype/iswprint.c (iswprint): Ditto.
* libc/ctype/iswpunct.c (iswpunct): Drop standalone implementation.
Define in terms of other wctype functions instead.
* libc/ctype/towlower.c (towlower): Update to Unicode 5.2.  Add comment
to explain how to fetch the data from the Unicode database.
* libc/ctype/towupper.c (towupper): Ditto.
* libc/ctype/utf8alpha.h: Ditto.
* libc/ctype/utf8print.h: Ditto.
* libc/ctype/utf8punct.h: Remove.
* libc/ctype/iswcntrl.c (iswcntrl): Add comment to explain how to
fetch the data from the Unicode database.

14 years ago * nlsfuncs.cc (eval_datetimefmt): Rename force to flags.
Corinna Vinschen [Thu, 18 Feb 2010 18:07:14 +0000 (18:07 +0000)]
* nlsfuncs.cc (eval_datetimefmt): Rename force to flags.
(enum dt_flags): Define.
(__eval_datetimefmt): Change force to flags and change type to
dt_flags.  Accommodate throughout.
(__set_lc_time_from_win): Accommodate above change.  Set era-related
values to empty strings for now.

14 years ago * libc/locale/timelocal.h (struct lc_time_T): Add missing ERA-related
Corinna Vinschen [Thu, 18 Feb 2010 17:35:15 +0000 (17:35 +0000)]
* libc/locale/timelocal.h (struct lc_time_T): Add missing ERA-related
members.
* libc/locale/timelocal.c (_C_time_local): Set new members to empty
strings.
* libc/locale/nl_langinfo.c (nl_langinfo): Return values from
__get_current_time_locale() for ERA related requests.

14 years ago* fhandler.cc (fhandler_base::setup_overlapped): Revert to starting with handle
Christopher Faylor [Thu, 18 Feb 2010 15:07:38 +0000 (15:07 +0000)]
* fhandler.cc (fhandler_base::setup_overlapped): Revert to starting with handle
in signalled state as it seems to fix some hangs.

14 years ago2010-02-17 LRN <lrn1986@gmail.com>
Chris Sutcliffe [Thu, 18 Feb 2010 13:01:56 +0000 (13:01 +0000)]
2010-02-17  LRN  <lrn1986@gmail.com>

        * include/shlguid.h (IID_IFolderView): Define.
        * include/shlobj.h (IFolderView interface): Define.
        * lib/shell32.c (IID_IFolderView): Export.

14 years ago * bfd/elf32-arm.c (elf32_arm_merge_eabi_attributes): Add support for
Matthew Gretton-Dann [Thu, 18 Feb 2010 10:56:27 +0000 (10:56 +0000)]
* bfd/elf32-arm.c (elf32_arm_merge_eabi_attributes): Add support for
merging Tag_DIV_use, Tag_MPextension_use, and
Tag_MPextension_use_legacy tags.
* binutils/readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add
description of newly permitted attribute values.
(arm_attr_tag_Virtualization_use): Likewise.
(arm_attr_tag_DIV_use): Add description of new attribute.
(arm_attr_tag_MPextension_use_legacy): Likewise.
* gas/config/tc-arm.c (arm_convert_symbolic_attribute):
Add Tag_DIV_use.
* gas/doc/c-arm.texi: Likewise.
* gas/testsuite/gas/arm/attr-order.d: Fix test for new names for
attribute values.
* include/elf/arm.h (Tag_MPextension_use): Renumber.
(Tag_DIV_use): Add.
(Tag_MPextension_use_legacy): Likewise.
* ld/testsuite/ld-arm/attr-merge-3.attr: Fix test for new attribute
values.
* ld/testsuite/ld-arm/attr-merge-3b.s: Likewise.
* ld/testsuite/ld-arm/attr-merge-unknown-1.d: Fix test now that 42
is a recognised attribute ID.
* ld/testsuite/ld-arm/attr-merge-unknown-1.s: Likewise.
* ld/testsuite/ld-arm/attr-merge-6.attr: New test.
* ld/testsuite/ld-arm/attr-merge-6a.s: Likewise.
* ld/testsuite/ld-arm/attr-merge-6b.s: Likewise.
* ld/testsuite/ld-arm/attr-merge-7.attr: Likewise.
* ld/testsuite/ld-arm/attr-merge-7a.s: Likewise.
* ld/testsuite/ld-arm/attr-merge-7b.s: Likewise.
* ld/testsuite/ld-arm/arm-elf.exp: Run the new tests.

14 years ago * new-features.sgml (ov-new1.7.2): Accommodate name change of getlocale
Corinna Vinschen [Wed, 17 Feb 2010 15:02:17 +0000 (15:02 +0000)]
* new-features.sgml (ov-new1.7.2): Accommodate name change of getlocale
to locale.
* setup2.sgml (setup-locale-how): Ditto.

14 years ago * Makefile.in (CYGWIN_BINS): Rename getlocale to locale.
Corinna Vinschen [Wed, 17 Feb 2010 15:01:56 +0000 (15:01 +0000)]
* Makefile.in (CYGWIN_BINS): Rename getlocale to locale.
* getlocale.c: Rename to ...
* locale.cc: Revamp to add full functionality of POSIX locale(1) tool,
as far as Cygwin supports it.
* utils.sgml (getlocale): Move and rename to ...
(locale): Accommodate new functionality.

14 years ago * Makefile.tpl: Use "-exec rm {}" rather than "-delete" to delete
Nick Clifton [Wed, 17 Feb 2010 11:02:54 +0000 (11:02 +0000)]
    * Makefile.tpl: Use "-exec rm {}" rather than "-delete" to delete
        the config.cache files found by the find command.

14 years ago2010-02-17 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 17 Feb 2010 10:12:48 +0000 (10:12 +0000)]
2010-02-17  Tristan Gingold  <gingold@adacore.com>

* dmt.h, dst.h, eeom.h, egps.h, egsd.h, egst.h, egsy.h: New Files.
* eiaf.h, eicp.h, eiha.h, eihd.h, eihi.h, eihs.h, eihvn.h: Ditto.
* eisd.h, emh.h, eobjrec.h, esdf.h, esrf.h, etir.h, shl.h: Ditto.

14 years ago PR 11238
Nick Clifton [Wed, 17 Feb 2010 10:05:51 +0000 (10:05 +0000)]
    PR 11238
        * Makefile.tpl (local-distclean): Also remove config.cache files in
        sub-directories as there may not be Makefiles present in the
        sub-directories.
        * Makefile.in: Regenerate.
        * configure.ac: Revert previous delta.
        * configure: Regenerate.

14 years ago * libc/ctype/iswblank.c (iswblank): Remove Unicode characters
Corinna Vinschen [Wed, 17 Feb 2010 09:14:35 +0000 (09:14 +0000)]
* libc/ctype/iswblank.c (iswblank): Remove Unicode characters
U+00A0 and U+200B.  Add Unicode character U+180E.  Add comment
to explain how to generate from Unicode data file.
* libc/ctype/iswspace.c (iswspace): Ditto.

14 years ago2010-02-14 Roumen Petrov <rumen@users.sourceforge.net>
Chris Sutcliffe [Wed, 17 Feb 2010 02:41:06 +0000 (02:41 +0000)]
2010-02-14  Roumen Petrov  <rumen@users.sourceforge.net>

        Issue [2134161]: time64 functions and types for msvcrt >= 8.0
        (initial implementation)

        * new type: __time32_t

        * new structures: _finddata32_t, _finddata32i64_t, _finddata64i32_t,
        __stat32, _stat32i64, _stat64i32, __timeb32, __utimbuf32,
        __wfinddata32_t, _wfinddata32i64_t, _wfinddata64i32_t

        * new functions: _ctime32, _difftime32, _difftime64, _findfirst32
        _findfirst32i64, _findfirst64i32, _findnext32, _findnext32i64,
        _findnext64i32, _fstat32, _fstat32i64, _fstat64i32, _ftime32,
        _futime32, _gmtime32, _localtime32, _mkgmtime32, _mkgmtime64,
        _mktime32, _stat32, _stat32i64, _stat64i32, _time32, _utime32,
        _wctime32, _wfindfirst32, _wfindfirst32i64, _wfindfirst64i32,
        _wfindnext32, _wfindnext32i64, _wfindnext64i32, _wstat32,
        _wstat32i64, _wstat64i32,_wutime32

        * new define _USE_32BIT_TIME_T set 32 or 64 aliases for: time_t,
        ctime, difftime, _findfirst, _findfirsti64, _findnext, _findnexti64,
        _fstat, _fstati64, _ftime, _futime, gmtime, localtime, mktime,
        _stat, _stati64, time, _utime, _wctime, _wfindfirst, _wfindfirsti64,
        _wfindnext, _wfindnexti64, _wstat, _wstati64, _wutime

14 years ago * libc/stdio/vfwprintf.c (_VFWPRINTF_R): Apply previous patch here
Corinna Vinschen [Mon, 15 Feb 2010 16:29:15 +0000 (16:29 +0000)]
* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Apply previous patch here
as well.

14 years ago * libc/stdio/vfprintf.c (_VFPRINTF_R): Drop printing a redundant
Corinna Vinschen [Mon, 15 Feb 2010 16:10:28 +0000 (16:10 +0000)]
* libc/stdio/vfprintf.c (_VFPRINTF_R): Drop printing a redundant
decimal point in case the float argument is an integral value.

14 years ago * new-features.sgml (ov-new1.7.2): Add native DOS path and UNC path
Corinna Vinschen [Mon, 15 Feb 2010 13:35:53 +0000 (13:35 +0000)]
* new-features.sgml (ov-new1.7.2): Add native DOS path and UNC path
change.
* pathnames.sgml (pathnames-intro): Make the Win32 path text a note
and xref to new pathnames-win32 section.
(cygdrive): Add description how the cygdrive mount flags apply to
UNC paths starting with slashes.
(pathnames-win32): New section describing native path handling.

14 years ago * path.cc (path_conv::check): Treat native DOS paths as "noacl".
Corinna Vinschen [Mon, 15 Feb 2010 13:29:02 +0000 (13:29 +0000)]
* path.cc (path_conv::check): Treat native DOS paths as "noacl".

14 years ago * mount.cc (mount_info::conv_to_win32_path): Set UNC path flags to
Corinna Vinschen [Mon, 15 Feb 2010 12:42:31 +0000 (12:42 +0000)]
* mount.cc (mount_info::conv_to_win32_path): Set UNC path flags to
cygdrive prefix path flags.

14 years ago PR 11238
Nick Clifton [Mon, 15 Feb 2010 10:53:35 +0000 (10:53 +0000)]
    PR 11238
        * configure.ac: Delete config.cache files in sub-directories when
        deleting Makefiles.
        * configure: Regenerate.

14 years agoSync from gcc mainline.
Nick Clifton [Mon, 15 Feb 2010 10:37:55 +0000 (10:37 +0000)]
Sync from gcc mainline.

14 years ago* fhandler.cc (fhandler_base::setup_overlapped): Don't set signalled state to
Christopher Faylor [Mon, 15 Feb 2010 01:45:05 +0000 (01:45 +0000)]
* fhandler.cc (fhandler_base::setup_overlapped): Don't set signalled state to
true initially.
(fhandler_base::has_ongoing_io): Delete ill-advised function.
(fhandler_base::read_overlapped): Rely on caller having checked nonblocking
state.  Don't attempt to (incorrectly) check it here.
(fhandler_base::write_overlapped): Remove call to has_ongoing_io.
* select.cc (peek_pipe): Ditto.
* fhandler.h (fhandler_base::has_ongoing_io): Delete declaration.

14 years ago* regex/regcomp.c (xwcrtomb): Fix one explicable and one inexcplicable C
Christopher Faylor [Sun, 14 Feb 2010 21:28:44 +0000 (21:28 +0000)]
* regex/regcomp.c (xwcrtomb): Fix one explicable and one inexcplicable C
warning.

14 years ago * regex/regcomp.c (xwcrtomb): Don't convert Unicode chars outside the
Corinna Vinschen [Sat, 13 Feb 2010 12:26:06 +0000 (12:26 +0000)]
* regex/regcomp.c (xwcrtomb): Don't convert Unicode chars outside the
base plane always to UTF-8.  Call wcsnrtombs instead to allow arbitrary
multibyte charsets.

14 years ago * cygpath.cc (do_pathconv): Fix potential crash.
Corinna Vinschen [Sat, 13 Feb 2010 11:41:53 +0000 (11:41 +0000)]
* cygpath.cc (do_pathconv): Fix potential crash.

14 years ago*** empty log message ***
Daniel Gutson [Fri, 12 Feb 2010 20:18:46 +0000 (20:18 +0000)]
*** empty log message ***

14 years ago * regex/regcomp.c (wgetnext): Use size_t as type for n2 since that's
Corinna Vinschen [Fri, 12 Feb 2010 20:17:22 +0000 (20:17 +0000)]
* regex/regcomp.c (wgetnext): Use size_t as type for n2 since that's
what's returned by mbrtowc.
* regex/regexec.c (xmbrtowc): Ditto.

14 years ago gas/
Daniel Gutson [Fri, 12 Feb 2010 20:15:12 +0000 (20:15 +0000)]
gas/
* config/tc-arm.c (asm_opcode): operands type
change.
(BAD_PC_ADDRESSING): New macro message.
(BAD_PC_WRITEBACK): Likewise.
(MIX_ARM_THUMB_OPERANDS): New macro.
(operand_parse_code): Added enum values.
(parse_operands): Added thumb/arm distinction,
plus new enum values handling.
(encode_arm_addr_mode_2): Validations enhanced.
(encode_arm_addr_mode_3): Likewise.
(do_rm_rd_rn): Likewise.
(encode_thumb32_addr_mode): Likewise.
(do_t_ldrex): Likewise.
(do_t_ldst): Likewise.
(do_t_strex): Likewise.
(md_assemble): Call parse_operands with
a new parameter.
(OPS_1): New macro.
(OPS_2): Likewise.
(OPS_3): Likewise.
(OPS_4): Likewise.
(OPS_5): Likewise.
(OPS_6): Likewise.
(insns): Updated insns operands.

gas/testsuite/
* gas/arm/sp-pc-validations-bad.d: New testcase.
* gas/arm/sp-pc-validations-bad.l: New file.
* gas/arm/sp-pc-validations-bad.s: New file.
* gas/arm/sp-pc-validations-bad-t.d: New testcase.
* gas/arm/sp-pc-validations-bad-t.l: New file.
* gas/arm/sp-pc-validations-bad-t.s: New file.
* gas/arm/sp-pc-usage-t.d: Removed invalid insns.
* gas/arm/sp-pc-usage-t.s: Likewise.
* gas/arm/unpredictable.d: Likewise.
* gas/arm/unpredictable.s: Likewise.
* gas/arm/thumb2_bcond.d: Added test.
* gas/arm/thumb2_bcond.s: Likewise.

14 years ago* pthread.cc (pthread_mutex_init): Explicitly fill out third arg to
Christopher Faylor [Fri, 12 Feb 2010 20:07:13 +0000 (20:07 +0000)]
* pthread.cc (pthread_mutex_init): Explicitly fill out third arg to
pthread_mutex::init.
* thread.cc: Remov some obsolete comments.
(verifyable_object_isvalid): Reflect change to use thread_magic_t for magic
numbers.
(pthread_mutex::pthread_mutex): Set magic number to invalid initially until
we've verified that everything is valid.
(pthread_mutex::unlock): Fix a comment.
(verifyable_object::verifyable_object): Delete here.
(~verifyable_object::~verifyable_object): Ditto.
(pthread_mutex::init): Don't run is_good_initializer for non-static objects.
* thread.h (thread_magic_t): New typedef.
(verifyable_object::verifyable_object): Use thread_magic_t;
(verifyable_object::magic): Ditto.
(pthread_mutex::is_good_initializer_or_bad_object): Remove unneeded variable
names.
(pthread_mutex::can_be_unlocked): Ditto.
(pthread_mutex::init): Ditto.  Remove default for third argument.

14 years agofix typo
Christopher Faylor [Fri, 12 Feb 2010 18:38:59 +0000 (18:38 +0000)]
fix typo

14 years ago * regex/regcomp.c (xwcrtomb): New function to convert wide chars
Corinna Vinschen [Fri, 12 Feb 2010 17:46:39 +0000 (17:46 +0000)]
* regex/regcomp.c (xwcrtomb): New function to convert wide chars
outside of the base plane to UTF-8.  Call throughout instead of
wcrtomb.
(wgetnext): Handle surrogate pairs on UTF-16 systems.
* regex/regexec.c (xmbrtowc): Ditto.

14 years ago * sec_auth.cc (get_user_local_groups): Retrieve name of well known
Corinna Vinschen [Fri, 12 Feb 2010 17:40:42 +0000 (17:40 +0000)]
* sec_auth.cc (get_user_local_groups): Retrieve name of well known
builtin group from system.  Explain why.
* sec_helper.cc (well_known_builtin_sid): New SID for BUILTIN group.
* security.h (well_known_builtin_sid): Declare.

14 years ago2010-02-11 Pierre Humblet <Pierre.Humblet@ieee.org>
Pierre Humblet [Fri, 12 Feb 2010 01:04:52 +0000 (01:04 +0000)]
2010-02-11  Pierre Humblet <Pierre.Humblet@ieee.org>

        * registry.c (get_registry_hive_path): Add space in string.

14 years ago * regex/engine.c (step): Drop Cygwin-specific definition.
Corinna Vinschen [Thu, 11 Feb 2010 21:19:19 +0000 (21:19 +0000)]
* regex/engine.c (step): Drop Cygwin-specific definition.
(NONCHAR): Better cast here to make the test work.  Move comment
from step here.
(matcher): Disable skipping initial string in multibyte case.
* regex/regcomp.c (p_bracket): Don't simplify singleton in the invert
case.
(p_b_term): Handle early end of pattern after dash in bracket
expression.
(singleton): Don't ignore the wides just because there's already a
singleton in the single byte chars.  Fix condition for a singleton
wide accordingly.
(findmust): Check for LC_CTYPE charset, rather than LC_COLLATE charset.
* regex2.h (CHIN): Fix condition in the icase & invert case.
(ISWORD): Fix wrong cast to unsigned char.

14 years ago2010-02-11 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Thu, 11 Feb 2010 21:03:51 +0000 (21:03 +0000)]
2010-02-11  Craig Howland <howland@LGSInnovations.com>

        * libc/include/machine/ieeefp.h:  isfinite macro modified to run faster
        by only calling fpclassify once instead of possibly twice.

14 years ago2010-02-11 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Thu, 11 Feb 2010 21:00:33 +0000 (21:00 +0000)]
2010-02-11  Craig Howland <howland@LGSInnovations.com>

        * libm/common/s_ilogb.c:  Adjust documentation to reflect new returns
        (see next items) and that ilogb() and ilogbf() are C99/POSIX.
        * libm/common/s_ilogb.c (ilogb):  Use C99/POSIX FP_ILOGB0 and
        FP_ILOGBNAN returns for 0 and NAN arguments, respectively, instead of
        the prior -INT_MAX and INT_MAX.  The FP_ILOGBx defines in math.h
        presently match the prior hard-codes, so no functional change is
        actually introduced.  (Not at this time, nor planned, but the values
        are permitted to be different, so subsequent edits of math.h could
        possibly cause a functional change.)
        * libm/common/sf_ilogb.c (ilogbf):  Ditto.

This page took 0.07338 seconds and 5 git commands to generate.