summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * lc_era.h (lc_era_t): Fix apparent glibc bug in ja_JP era definition.Corinna Vinschen2010-02-252-1/+5
|
* * utils.sgml (locale): Change description of -a and -av to matchCorinna Vinschen2010-02-252-15/+53
| | | | latest changes.
* * new-features.sgml (ov-new1.7.2): Move stty erase support intoCorinna Vinschen2010-02-252-5/+10
| | | | correct category. Change "console window" to "Windows console".
* * libc/locale/locale.c (loadlocale): Fix typo in comment.Corinna Vinschen2010-02-252-2/+6
|
* * libc/locale/locale.c: Throughout, extensively comment on theCorinna Vinschen2010-02-253-8/+42
| | | | | | | | 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.
* * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,Nick Clifton2010-02-252-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* 2010-02-24 Charles Wilson <...>Jeff Johnston2010-02-24225-7547/+9688
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 2010-02-24 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2010-02-242-0/+5
| | | | * libc/stdlib/__call_exit.c: Add include of sys/lock.h.
* * sec_auth.cc (get_full_privileged_inheritable_token): Fix dumb typoCorinna Vinschen2010-02-242-2/+7
| | | | when checking linked token for being a primary token.
* * dlfcn.cc (dlopen): Make sure exception handler is really loaded after dynamicChristopher Faylor2010-02-242-0/+8
| | | | load.
* * cygtls.cc (_cygtls::init_exception_handler): Force installation of ourChristopher Faylor2010-02-242-8/+30
| | | | exception handler to always be at the beginning.
* 2010-02-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2010-02-232-57/+7
| | | | | * libc/include/sys/types.h: Fix __XMK__ sectioning and remove redundant code section for __XMK__.
* * locale.cc (printlocale): Remove.Corinna Vinschen2010-02-232-17/+182
| | | | | | | | | | | | | | | | (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.
* PR 11297: Add support for 8-bit relocations to the AVR toolchain.Nick Clifton2010-02-232-8/+14
|
* * thread.cc (pthread_mutex::unlock): Don't attempt to unlock if there is anChristopher Faylor2010-02-232-5/+10
| | | | error.
* * strace.cc (mnemonic_table): Add "special" mask option.Christopher Faylor2010-02-223-38/+49
| | | | | (usage): Document it. * utils.sgml: Ditto.
* * include/sys/strace.h: Define _STRACE_SPECIAL.Christopher Faylor2010-02-224-107/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* * cygpath.cc (do_pathconv): Fix erroneously printing native NT pathCorinna Vinschen2010-02-222-1/+8
| | | | prefix introduced by previous patch.
* * lc_era.h: Redefine lc_era_t to keepCorinna Vinschen2010-02-224-83/+137
| | | | | | | | | | 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.
* * locale.cc (lc_time_names): Add "date_fmt" entry.Corinna Vinschen2010-02-222-0/+5
|
* * libc/include/langinfo.h (_NL_TIME_DATE_FMT): Define new nl_itemCorinna Vinschen2010-02-223-0/+13
| | | | | | 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.
* * lc_era.h (lc_era): Fix "ja_JP" era_t_fmt entry to use traditionalCorinna Vinschen2010-02-203-4/+23
| | | | | | | | | 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.
* * path.cc (warn_msdos): Enforce extended hex printing of multibyteCorinna Vinschen2010-02-202-2/+7
| | | | pathnames.
* Update copyrightChristopher Faylor2010-02-192-2/+2
|
* utils/ChangeLog:Christopher Faylor2010-02-195-30/+20
| | | | | | | | | | * 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.
* * lc_era.h: New file.Corinna Vinschen2010-02-193-23/+122
| | | | | | | * 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
* * locale.cc (print_lc_mstrings): New function to printCorinna Vinschen2010-02-192-2/+46
| | | | | | | | | 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.
* * fhandler_disk_file.cc (fhandler_disk_file::opendir): Try to openCorinna Vinschen2010-02-192-11/+38
| | | | directory with stat()-friendly access mask first. Explain why.
* * fhandler_disk_file.cc (fhandler_base::fstat_helper): Set st_rdevCorinna Vinschen2010-02-192-15/+21
| | | | | | | 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.
* * libc/ctype/iswalpha.c (iswalpha): Update to Unicode 5.2.Corinna Vinschen2010-02-1810-841/+1118
| | | | | | | | | | | | | | * 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.
* * nlsfuncs.cc (eval_datetimefmt): Rename force to flags.Corinna Vinschen2010-02-182-16/+51
| | | | | | | | (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.
* * libc/locale/timelocal.h (struct lc_time_T): Add missing ERA-relatedCorinna Vinschen2010-02-184-11/+46
| | | | | | | | 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.
* * fhandler.cc (fhandler_base::setup_overlapped): Revert to starting with handleChristopher Faylor2010-02-182-1/+6
| | | | in signalled state as it seems to fix some hangs.
* 2010-02-17 LRN <lrn1986@gmail.com>Chris Sutcliffe2010-02-184-0/+37
| | | | | | * include/shlguid.h (IID_IFolderView): Define. * include/shlobj.h (IFolderView interface): Define. * lib/shell32.c (IID_IFolderView): Export.
* * bfd/elf32-arm.c (elf32_arm_merge_eabi_attributes): Add support forMatthew Gretton-Dann2010-02-182-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * new-features.sgml (ov-new1.7.2): Accommodate name change of getlocaleCorinna Vinschen2010-02-173-4/+11
| | | | | to locale. * setup2.sgml (setup-locale-how): Ditto.
* * Makefile.in (CYGWIN_BINS): Rename getlocale to locale.Corinna Vinschen2010-02-175-292/+719
| | | | | | | | * 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.
* * Makefile.tpl: Use "-exec rm {}" rather than "-delete" to deleteNick Clifton2010-02-172-1/+4
| | | | the config.cache files found by the find command.
* 2010-02-17 Tristan Gingold <gingold@adacore.com>Tristan Gingold2010-02-1722-0/+1409
| | | | | | * 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.
* PR 11238Nick Clifton2010-02-175-34/+12
| | | | | | | | | * 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.
* * libc/ctype/iswblank.c (iswblank): Remove Unicode charactersCorinna Vinschen2010-02-173-4/+17
| | | | | | 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.
* 2010-02-14 Roumen Petrov <rumen@users.sourceforge.net>Chris Sutcliffe2010-02-1713-11/+674
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* * libc/stdio/vfwprintf.c (_VFWPRINTF_R): Apply previous patch hereCorinna Vinschen2010-02-152-1/+6
| | | | as well.
* * libc/stdio/vfprintf.c (_VFPRINTF_R): Drop printing a redundantCorinna Vinschen2010-02-152-1/+6
| | | | decimal point in case the float argument is an integral value.
* * new-features.sgml (ov-new1.7.2): Add native DOS path and UNC pathCorinna Vinschen2010-02-153-5/+84
| | | | | | | | | 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.
* * path.cc (path_conv::check): Treat native DOS paths as "noacl".Corinna Vinschen2010-02-152-5/+11
|
* * mount.cc (mount_info::conv_to_win32_path): Set UNC path flags toCorinna Vinschen2010-02-152-0/+14
| | | | cygdrive prefix path flags.
* PR 11238Nick Clifton2010-02-153-0/+41
| | | | | | * configure.ac: Delete config.cache files in sub-directories when deleting Makefiles. * configure: Regenerate.
* Sync from gcc mainline.Nick Clifton2010-02-155-42/+124
|
* * fhandler.cc (fhandler_base::setup_overlapped): Don't set signalled state toChristopher Faylor2010-02-154-26/+12
| | | | | | | | | | 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.