summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * libc/locale/lmessages.c (__messages_load_locale): Take additionalCorinna Vinschen2010-02-097-7/+60
| | | | | | | | | | | | | | | parameters for wide char to multibyte conversion. Call __set_lc_messages_from_win on Cygwin. * libc/locale/lmessages.h: Make C++-safe. (__messages_load_locale): Change declaration. * libc/locale/lmonetary.c (__monetary_load_locale): Use _monetary_locale_buf as buffer pointer. * libc/locale/lnumeric.c (__numeric_load_locale): Use _numeric_locale_buf as buffer pointer. * libc/locale/timelocal.c (__time_load_locale): Use time_locale_buf as buffer pointer. * libc/locale/locale.c (loadlocale): Enable loading LC_MESSAGES data on Cygwin.
* Now *really* check in what should have been checked in 12 hours ago.Corinna Vinschen2010-02-081-2/+10
|
* include/David S. Miller2010-02-082-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elf/sparc.h (R_SPARC_JMP_IREL, R_SPARC_IRELATIVE): Define. bfd/ * reloc.c (BFD_RELOC_SPARC_JMP_IREL): New. (BFD_RELOC_SPARC_IRELATIVE): Likewise. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Add loc_hash_table and loc_hash_memory. (_bfd_sparc_elf_link_hash_table_free): Declare. * elf32-sparc.c (elf32_sparc_add_symbol_hook): New. (elf_backend_add_symbol_hook, elf_backend_post_process_headers, bfd_elf32_bfd_link_hash_table_free): Define. * elf64-sparc.c (elf64_sparc_add_symbol_hook): Set has_ifunc_symbols if STT_GNU_IFUNC. (bfd_elf64_bfd_link_hash_table_free): Define. (elf_backend_post_process_headers): Define always. * elfxx-sparc.c (sparc_jmp_irel_howto, sparc_irelative_howto): New. (sparc_reloc_map): Add entries for new IFUNC relocs. (_bfd_sparc_elf_reloc_type_lookup): Handle new IFUNC relocs. (_bfd_sparc_elf_info_to_howto_ptr): Likewise. (elf_sparc_local_htab_hash, elf_sparc_local_htab_eq, elf_sparc_get_local_sym_hash): New. (_bfd_sparc_elf_create_dynamic_sections): Move PLT ops initialization from here... (_bfd_sparc_elf_link_hash_table_create): ... to here. Allocate local hash table. (_bfd_sparc_elf_link_hash_table_free): New. (create_ifunc_sections): New. (_bfd_sparc_elf_check_relocs): Unconditionally assign htab->elf.dynobj and call create_ifunc_sections(). For local STT_GNU_IFUNC symbols cons up a fake local hash table entry for it. Unconditionally add a PLT refcount for STT_GNU_IFUNC symbols when h->def_regular. Count dyn relocs for ifunc. (_bfd_sparc_elf_adjust_dynamic_symbol): Handle ifunc. (allocate_dynrelocs): Unconditionally emit a PLT entry when STT_GNU_IFUNC and h->def_regular. Count GOT dyn relocs for ifunc. (allocate_local_dynrelocs): New function. (_bfd_sparc_elf_size_dynamic_sections): Invoke it over the local hash table. Emit dynamic relocs to irelplt when not shared. Treat iplt like splt. (_bfd_sparc_elf_relocate_section): Handle ifunc relocations by hand. (_bfd_sparc_elf_finish_dynamic_symbol): Adjust for non-dynamic ifunc plt in iplt/irelplt. ld/testsuite/ * ld-ifunc/ifunc.exp: Run for sparc.
* 2010-02-08 Conny Marco Menebrocker <c-m-m@gmx.de>Jeff Johnston2010-02-084-1/+20
| | | | | | * xc16x/xc16x.mt: New file. * xc16x/configure.in: Add target_makefile_frag reference. * xc16x/configure: Regenerated.
* 2010-02-08 Josef Wolf <jw@raven.inka.de>Jeff Johnston2010-02-082-1/+6
| | | | | * libc/machine/m68k/memcpy.S: MISALIGEND_OK should not be set for __mcpu32__.
* This patch got lost in the previous checkin, accidentally:Corinna Vinschen2010-02-081-1/+1
| | | | * nlsfuncs.cc (lc_mbstowcs): Fix call to f_mbtowc.
* * external.cc (cygwin_internal): Add CW_INT_SETLOCALE case toCorinna Vinschen2010-02-084-4/+23
| | | | | | | | | | allow to call internal_setlocale(). * nlsfuncs.cc (internal_setlocale): Make externally available. * include/cygwin/version.h: Bump API minor number. * include/sys/cygwin.h (cygwin_getinfo_types): Add CW_INT_SETLOCALE. * nlsfuncs.cc (lc_mbstowcs): Fix call to f_mbtowc. (__set_locale_from_locale_alias): Ignore "@cjknarrow" modifier.
* missed from last commitAlan Modra2010-02-081-0/+4
|
* include/Alan Modra2010-02-081-2/+5
| | | | | | | | | | | | | | | | | | | * opcode/ppc.h (PPC_OPCODE_TITAN): Define. bfd/ * archures.c (bfd_mach_ppc_titan): Define. * bfd-in2.h: Regenerate. * cpu-powerpc.c (bfd_powerpc_archs): Add titan entry. opcodes/ * ppc-dis.c (ppc_opts): Add titan entry. * ppc-opc.c (TITAN, MULHW): Define. (powerpc_opcodes): Support AppliedMicro Titan core (APM83xxx). gas/ * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs. (ppc_mach): Handle titan. * doc/c-ppc.texi: Mention -mtitan. gas/testsuite/ * gas/ppc/titan.d, * gas/ppc/titan.s: New test. * gas/ppc/ppc.exp: Run it.
* * new-features.sgml (ov-new1.7-misc): Fix typo.Yaakov Selkowitz2010-02-072-1/+5
|
* * nlsfuncs.cc (__get_lcid_from_locale): Handle "@cyrillic" modifierCorinna Vinschen2010-02-072-3/+22
| | | | | for uz_UZ locale here. (__set_charset_from_locale): Accommodate above change.
* Move entry for elf/s390.h to elf/ChangeLog.H.J. Lu2010-02-072-4/+4
|
* * libc/locale/locale.c: Add Cygwin's /usr/share/locale/locale.aliasCorinna Vinschen2010-02-072-26/+55
| | | | | | | | | support to documentation. (__set_locale_from_locale_alias): Declare when build for Cygwin. (loadlocale): On Cygwin, if locale can't be recognized, call __set_locale_from_locale_alias to check for locale alias. Define FAIL macro to replace `return NULL' statements. Replace throughout.
* * new-features.sgml (ov-new1.7.2): Add support for locales fromCorinna Vinschen2010-02-073-0/+27
| | | | | /usr/share/locale/locale.alias. * setup2.sgml (setup-locale-ov): Ditto.
* * nlsfuncs.cc (__set_locale_from_locale_alias): New function to readCorinna Vinschen2010-02-072-0/+68
| | | | locale aliases from /usr/share/locale/locale.alias.
* * libc/locale/locale.c: Fix typo in documentation. Remove uselessCorinna Vinschen2010-02-072-42/+12
| | | | | _MB_CAPABLE guards within other _MB_CAPABLE guards. Add comment to remaining #endif's.
* * nlsfuncs.cc (__get_lcid_from_locale): Handle no_NO as nb_NO, ratherCorinna Vinschen2010-02-062-5/+10
| | | | than nn_NO.
* * setup2.sgml (setup-locale-ov): Align description of working modifiersCorinna Vinschen2010-02-062-19/+38
| | | | to latest changes.
* * nlsfuncs.cc (has_modifier): MOve up in file to use inCorinna Vinschen2010-02-062-27/+61
| | | | | | | | | | __get_lcid_from_locale as well. (__get_lcid_from_locale): Handle no_NO locale as alias for nn_NO. Default all sr_XY locales to Cyrillic script. Change lcid to Latin script if "@latin" modifier has been specified. (__set_charset_from_locale): Handle Serbian in codepage 1251 case as well. Also check for sr_BA lcid. Restrict "@euro" modifier to locales otherwise defaulting to ISO-8859-1.
* * new-features.sgml (ov-new1.7.2): Add support for new charsets.Corinna Vinschen2010-02-063-5/+19
| | | | | | | Change text for modifier support. (setup-locale-charsetlist): Add new GEORGIAN-PS and PT154 charsets to list of supported charsets. Reorder list for non-ISO, non-CP charsets alphabetically.
* * nlsfuncs.cc (__set_charset_from_locale): Set default charset forCorinna Vinschen2010-02-062-1/+10
| | | | "ka_GE" locale to GEORGIAN-PS, for "kk_KZ" to PT154.
* * libc/ctype/ctype_cp.h (_CTYPE_GEORGIAN_PS_128_254): Define.Corinna Vinschen2010-02-065-35/+216
| | | | | | | | | | | | | | | | | (_CTYPE_GEORGIAN_PS_255): Define. (_CTYPE_PT154_128_254): Define. (_CTYPE_PT154_255): Define. (__ctype_cp): Add array members for above ctype definitions. * libc/locale/locale.c (loadlocale): Make TIS-620 charset name available for all targets. Add guards for setting the conversion function pointers. Add support for GEORGIAN-PS and PT154 charsets. Change documentation to reflect current behaviour more closely. * libc/locale/nl_langinfo.c (nl_langinfo): On Cygwin, translate "CP101" to "GEORGIAN-PS" and "CP102" to "PT154". * libc/stdlib/sb_charsets.c (__cp_conv): Add conversion arrays for GEORGIAN-PS and PT154. (__cp_index): Map invalid Windows codepage number 101 to GEORGIAN-PS conversion array, 102 to PT154 conversion array.
* * path.cc (symlink_info::check_nfs_symlink): Reopen file withCorinna Vinschen2010-02-062-0/+13
| | | | | FILE_READ_EA access since, surprisingly, you need it to read EAs even on NFS.
* * sec_auth.cc (get_full_privileged_inheritable_token): New functionCorinna Vinschen2010-02-062-52/+74
| | | | | | | | | | | to fetch token with full privileges from logon token in Vista and later, and to make token inheritable. Add lengthy comments to explain the function's job. (cygwin_logon_user): Drop calling SetHandleInformation. Enable TCB privilege and call get_full_privileged_inheritable_token. (lsaauth): Don't fetch linked token and don't make handle inheritable here, just call get_full_privileged_inheritable_token instead. (lsaprivkeyauth): Ditto.
* * libc/posix/telldir.c: Remove bogus nested prototype of lseek().Corinna Vinschen2010-02-062-1/+4
|
* * setup2.sgml (setup-locale-ov): Add description for "uz_UZ@cyrillic"Corinna Vinschen2010-02-052-3/+20
| | | | | and "tt_RU@iqtelif" modifiers. Slightly rephrase locale specifier description in terms of the modifier string.
* * nlsfuncs.cc (__set_charset_from_locale): Set default locale forCorinna Vinschen2010-02-052-2/+8
| | | | "uz_UZ" locale to ISO-8859-1, with the "@cyrillic" modifier to UTF-8.
* * libc/locale/locale.c (loadlocale): Handle ISO-8859 and KOI8 charsetsCorinna Vinschen2010-02-052-13/+36
| | | | so that the dashes are optional. Align documentation.
* * dll_init.cc (per_module::run_dtors): Use consistent method for runningChristopher Faylor2010-02-052-2/+7
| | | | destructors.
* * new-features.sgml (ov-new1.7.2): Add grouping for printf/wprintf.Corinna Vinschen2010-02-052-0/+11
|
* * libc/stdio/vfprintf.c: Include locale.h also if _WANT_IO_C99_FORMATSCorinna Vinschen2010-02-053-76/+330
| | | | | | | | is defined. Raise conversion buffer size to make sure it has enough room for numbers plus grouping character. Define GROUPING flag. (_VFPRINTF_R): Add PRINTANDPAD macro. Handle grouping flag character. Handle grouping for decimal integer and float values. * libc/stdio/vfwprintf.c: Ditto.
* * regcomp.c (p_ere): Workaround incorrect compiler warning.Christopher Faylor2010-02-043-3/+9
| | | | | * regerror.c (regatoi): Return non-const string or compiler complains in certain inexplicable situations.
* * libc/stdlib/__atexit.c (__atexit_lock): Define a global lock for atexitChristopher Faylor2010-02-043-5/+25
| | | | | | functions. (__register_exitproc): Use __atexit_lock rather than a local static lock. * libc/stdlib/__call_atexit.c: Ditto.
* * regex/engine.c (step): Declare and define with `int ch' rather thanCorinna Vinschen2010-02-042-6/+17
| | | | | `wint_t ch' parameter. Explain why. (NONCHAR): Remove related Cygwin patch here, including wrong comment.
* * new-features.sgml (ov-new1.7.2): Add multibyte-awareness of regcompCorinna Vinschen2010-02-042-1/+6
| | | | and regexec.
* Replace regex files with multibyte-aware version from FreeBSD.Corinna Vinschen2010-02-0423-2107/+2829
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in (install-headers): Remove extra command to install regex.h. (uninstall-headers): Remove extra command to uninstall regex.h. * nlsfuncs.cc (collate_lcid): Make externally available to allow access to collation internals from regex functions. (collate_charset): Ditto. * wchar.h: Add __cplusplus guards to make C-clean. * include/regex.h: New file, replacing regex/regex.h. Remove UCB advertising clause. * regex/COPYRIGHT: Accommodate BSD license. Remove UCB advertising clause. * regex/cclass.h: Remove. * regex/cname.h: New file from FreeBSD. * regex/engine.c: Ditto. (NONCHAR): Tweak for Cygwin. * regex/engine.ih: Remove. * regex/mkh: Remove. * regex/regcomp.c: New file from FreeBSD. Tweak slightly for Cygwin. Import required collate internals from nlsfunc.cc. (p_ere_exp): Add GNU-specific \< and \> handling for word boundaries. (p_simp_re): Ditto. (__collate_range_cmp): Define. (p_b_term): Use Cygwin-specific collate internals. (findmust): Ditto. * regex/regcomp.ih: Remove. * regex/regerror.c: New file from FreeBSD. Fix a few compiler warnings. * regex/regerror.ih: Remove. * regex/regex.7: New file from FreeBSD. Remove UCB advertising clause. * regex/regex.h: Remove. Replaced by include/regex.h. * regex/regexec.c: New file from FreeBSD. Fix a few compiler warnings. * regex/regfree.c: New file from FreeBSD. * regex/tests: Remove. * regex/utils.h: New file from FreeBSD.
* merge from gccDJ Delorie2010-02-031-0/+5
|
* * sigproc.cc (get_proc_lock): Fix error message typo.Christopher Faylor2010-02-032-1/+5
|
* * fhandler_disk_file.cc (fhandler_base::fstat_helper): WorkaroundCorinna Vinschen2010-02-033-7/+36
| | | | | | | another bug in NWFS. Add comment to explain why. Improve debug output in case the NT calls to test for binary fail. * path.h (path_conv::fs_is_cifs): New method. (path_conv::fs_is_nwfs): New method.
* Add NT_386_XSTATE.H.J. Lu2010-02-022-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | bfd/ 2010-02-02 H.J. Lu <hongjiu.lu@intel.com> * elf-bfd.h (elfcore_write_xstatereg): New. * elf.c (elfcore_grok_xstatereg): New. (elfcore_write_xstatereg): Likewise. (elfcore_grok_note): Handle NT_X86_XSTATE. (elfcore_write_register_note): Handle .reg-xstate section. binutils/ 2010-02-02 H.J. Lu <hongjiu.lu@intel.com> * readelf.c (get_note_type): Handle NT_X86_XSTATE. include/elf/ 2010-02-02 H.J. Lu <hongjiu.lu@intel.com> * common.h (NT_386_XSTATE): New.
* * include/paths.h (_PATH_MNTTAB): Define.Corinna Vinschen2010-02-023-3/+19
| | | | | | (_PATH_MOUNTED): Define. * include/mntent.h: Include paths.h. Define MNTTAB and MOUNTED as their paths.h equivalents. Add comment.
* * dcrt0.cc (atexit_lock): Delete.Christopher Faylor2010-02-025-60/+58
| | | | | | | | | | | | | | | (cygwin_exit): Remove atexit lock. (cygwin_atexit): Ditto. Rename parameter to match newlib. Call __cxa_atexit when invoked by a registered DLL. * dll_init.cc (remove_dll_atexit): Delete. (dll_list::find): New function. (dll_list::detach): Use dll_list::find to find dll associated with return address. Use __cxa_finalize to run atexit functions associated with the dll. (cygwin_detach_dll): Don't assume that HANDLE == void *. * dll_init.h (dll_list::find): Declare. (__cxa_atexit): Ditto. (__cxa_finalize): Ditto. * init.cc (dll_entry): Clarify comment.
* * how-startup-shutdown-works.txt: Add new document.Dave Korn2010-02-022-0/+169
|
* * faq-programming.xml: Update for Cygwin docbook-utils package.Yaakov Selkowitz2010-02-022-1/+2
|
* * README: Update for Cygwin docbook-utils package.Yaakov Selkowitz2010-02-022-4/+7
|
* * configure.ac: Add "recommended" version checks for GMP/MPC.Kaveh Ghazi2010-01-313-20/+94
| | | | | Update recommended GMP/MPFR/MPC versions. * configure: Regenerate.
* 2010-01-29 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2010-01-294-2/+21
| | | | | | * libc/search/Makefile.am: Create .def files for bsearch and qsort. * libc/search/Makefile.in: Regenerated. * libc/stdlib/stdlib.tex: Add bsearch and qsort.
* * sec_auth.cc (lsaauth): Use CYG_LSA_MAGIC as checksum start value toCorinna Vinschen2010-01-292-2/+6
| | | | decouple from Cygwin release.
* * cyglsa.c: Include lmcons.h instead of lm.h to make newer WinDDK happy.Corinna Vinschen2010-01-294-5/+13
| | | | | | | (LsaApLogonUserEx): Use CYG_LSA_MAGIC as checksum start value to decouple from Cygwin release. * make-64bit-version-with-visual-c.bat: Avoid compiler warning. * cyglsa64.dll: New build.
* * libc/strfmon.c (__setup_vars): Test for an empty string rather thanCorinna Vinschen2010-01-292-2/+7
| | | | for a NULL pointer.