summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * globals.cc (exit_status): Add new ES_EXIT_STARTING enum.Christopher Faylor2010-03-284-2/+14
| | | | | | | * dcrt0.cc (cygwin_exit): Set exit_state to ES_EXIT_STARTING prior to calling real exit. * dll_init.cc (dll_list::detach): Remove dll from linked list and call destructors even if exiting. Don't call __cxa_finalize in exiting case.
* * setup2.sgml (setup-locale-charsetlist): Add EUC-CN and GB2312.Corinna Vinschen2010-03-272-0/+6
|
* * locale.cc (print_charmaps): Add EUC-CN and GB2312.Corinna Vinschen2010-03-272-0/+6
|
* * nlsfuncs.cc (__set_charset_from_locale): Set default charset forCorinna Vinschen2010-03-272-1/+6
| | | | locales defaulting to codepage 936 to GB2312.
* * libc/locale/locale.c (loadlocale): Optimize "EUC" charset check.Corinna Vinschen2010-03-273-9/+32
| | | | | | | Cygwin only: Allow GB2312 and EUC-CN as alternative codeset names for GBK. Add to documentation. * libc/locale/nl_langinfo.c (nl_langinfo): On Cygwin, translate EUCCN to GB2312.
* * textbinary.sgml: Add missing </para>.Corinna Vinschen2010-03-272-0/+5
|
* * textbinary.sgml: Remove tr example and just mention u2d and d2u instead.Christopher Faylor2010-03-272-35/+9
|
* bfd:Joseph Myers2010-03-2510-1/+3561
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (ALL_MACHINES): Add cpu-tic6x.lo. (ALL_MACHINES_CFILES): Add cpu-tic6x.c. (BFD32_BACKENDS): Add elf32-tic6x.lo. (BFD32_BACKENDS_CFILES): Add elf32-tic6x.c. * Makefile.in: Regenerate. * archures.c (bfd_arch_tic6x, bfd_tic6x_arch): New. (bfd_archures_list): Update. * config.bfd (tic6x-*-elf): New. * configure.in (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec): New. * configure: Regenerate. * cpu-tic6x.c, elf32-tic6x.c: New. * reloc.c (BFD_RELOC_C6000_PCR_S21, BFD_RELOC_C6000_PCR_S12, BFD_RELOC_C6000_PCR_S10, BFD_RELOC_C6000_PCR_S7, BFD_RELOC_C6000_ABS_S16, BFD_RELOC_C6000_ABS_L16, BFD_RELOC_C6000_ABS_H16, BFD_RELOC_C6000_SBR_U15_B, BFD_RELOC_C6000_SBR_U15_H, BFD_RELOC_C6000_SBR_U15_W, BFD_RELOC_C6000_SBR_S16, BFD_RELOC_C6000_SBR_L16_B, BFD_RELOC_C6000_SBR_L16_H, BFD_RELOC_C6000_SBR_L16_W, BFD_RELOC_C6000_SBR_H16_B, BFD_RELOC_C6000_SBR_H16_H, BFD_RELOC_C6000_SBR_H16_W, BFD_RELOC_C6000_SBR_GOT_U15_W, BFD_RELOC_C6000_SBR_GOT_L16_W, BFD_RELOC_C6000_SBR_GOT_H16_W, BFD_RELOC_C6000_DSBT_INDEX, BFD_RELOC_C6000_PREL31, BFD_RELOC_C6000_COPY, BFD_RELOC_C6000_ALIGN, BFD_RELOC_C6000_FPHEAD, BFD_RELOC_C6000_NOCMP): New. * targets.c (bfd_elf32_tic6x_be_vec, bfd_elf32_tic6x_le_vec): New. (_bfd_target_vector): Update. * bfd-in2.h, libbfd.h: Regenerate. binutils: * MAINTAINERS: Add self as TI C6X maintainer. * NEWS: Add news entry for TI C6X support. * readelf.c: Include elf/tic6x.h. (guess_is_rela): Handle EM_TI_C6000. (dump_relocations): Likewise. (get_tic6x_dynamic_type): New. (get_dynamic_type): Call it. (get_machine_flags): Handle EF_C6000_REL. (get_osabi_name): Handle machine-specific values only for relevant machines. Handle C6X values. (get_tic6x_segment_type): New. (get_segment_type): Call it. (get_tic6x_section_type_name): New. (get_section_type_name): Call it. (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle EM_TI_C6000. gas: * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c. (TARGET_CPU_HFILES): Add config/tc-tic6x.h. * Makefile.in: Regenerate. * NEWS: Add news entry for TI C6X support. * app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in operands if TC_KEEP_OPERAND_SPACES. * configure.tgt (tic6x-*-*): New. * config/tc-ia64.h (TC_PREDICATE_START_CHAR, TC_PREDICATE_END_CHAR): Define. * config/tc-tic6x.c, config/tc-tic6x.h: New. * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi. * doc/Makefile.in: Regenerate. * doc/all.texi (TIC6X): Define. * doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi. * doc/c-tic6x.texi: New. gas/testsuite: * gas/tic6x: New directory and testcases. include: * dis-asm.h (print_insn_tic6x): Declare. include/elf: * common.h (ELFOSABI_C6000_ELFABI, ELFOSABI_C6000_LINUX): Define. * tic6x.h: New. include/opcode: * tic6x-control-registers.h, tic6x-insn-formats.h, tic6x-opcode-table.h, tic6x.h: New. ld: * Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and eelf32_tic6x_le.o. (eelf32_tic6x_be.c, eelf32_tic6x_le.c): New. * NEWS: Add news entry for TI C6X support. * configure.tgt (tic6x-*-*): New. * emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New. ld/testsuite: * ld-elf/flags1.d, ld-elf/merge.d: XFAIL for tic6x-*-*. * ld-elf/sec-to-seg.exp: Set B_test_same_seg to 0 for tic6x-*-*. * ld-tic6x: New directory and testcases. opcodes: * Makefile.am (TARGET_LIBOPCODES_CFILES): Add tic6x-dis.c. * Makefile.in: Regenerate. * configure.in (bfd_tic6x_arch): New. * configure: Regenerate. * disassemble.c (ARCH_tic6x): Define if ARCH_all. (disassembler): Handle TI C6X. * tic6x-dis.c: New.
* * pathnames.sgml: Clarify wording of user-specific fstab files. Fix typo.Christopher Faylor2010-03-252-2/+7
|
* * regtool.cc (find_key): Fix allocation size of "value".Corinna Vinschen2010-03-242-2/+6
|
* * legal.sgml: Bump copyright date.Corinna Vinschen2010-03-242-1/+5
|
* * locale.cc (add_locale_alias_locales): Always use loc_num at functionCorinna Vinschen2010-03-232-1/+7
| | | | start to avoid confusing bsearch.
* * locale.cc: Revert accidental checkin of unfinished changes.Corinna Vinschen2010-03-232-98/+104
|
* * locale.cc (print_locale_with_codeset): Drop redundant name parameter.Corinna Vinschen2010-03-232-107/+112
| | | | | | Simplify creating locale string. Add "@" in case of a modifier. (print_locale): Drop name parameter in calls to print_locale_with_codeset.
* * configure.ac (tic6x-*-*): New case.Joseph Myers2010-03-233-0/+11
| | | | * configure: Regenerate.
* * symcat.h (CONCAT5, CONCAT6, XCONCAT5, XCONCAT6): Define.Joseph Myers2010-03-232-1/+11
|
* Merge from gcc:Joseph Myers2010-03-233-4/+12
| | | | | | | 2010-03-19 Jack Howarth <howarth@bromo.med.uc.edu> PR ada/42554 * configure.ac: Only pass -c to ranlib for darwin9 and earlier. * configure: Regenerate.
* * config.sub: Update to version 2010-03-22.Joseph Myers2010-03-233-22/+52
| | | | * config.guess: Update to version 2009-12-30.
* * fhandler_socket.cc (fhandler_socket::evaluate_events): Make eraseCorinna Vinschen2010-03-223-12/+31
| | | | | | | | | | | | | | | | | const in parameter list. (fhandler_socket::wait_for_events): Take a DWORD flags value instead of just a bool. Call evaluate_events with erase flag according to MSG_PEEK value in flags. Replace check for dontwait with check for MSG_DONTWAIT in flags. (fhandler_socket::connect): Call wait_for_events with 0 flags value. (fhandler_socket::accept4): Ditto. (fhandler_socket::recv_internal): Save flags in wait_flags. Drop dontwait variable. Call wait_for_events with wait_flags. (fhandler_socket::send_internal): Save MSG_DONTWAIT flag in wait_flags and call wait_for_events with wait_flags as argument. Drop dontwait variable. * fhandler.h (class fhandler_socket): Change second parameter in declaration of wait_for_events to const DWORD.
* * fhandler_disk_file.cc (fhandler_cygdrive::fstat): Add standard readCorinna Vinschen2010-03-192-1/+6
| | | | permissions again.
* * shared.cc (init_installation_root): Change to make sure that scope of theChristopher Faylor2010-03-182-1/+7
| | | | lock lasts the entire function.
* Move ChangeLog entries to proper place.H.J. Lu2010-03-182-9/+9
|
* * libc/include/sys/features.h: Allow for _XOPEN_SOURCE to have anCorinna Vinschen2010-03-172-3/+14
| | | | empty definition. Also add support for values of 500 or less.
* * faq-using.xml (faq.using.unicode): Remove old examples.Corinna Vinschen2010-03-172-25/+4
|
* * shared_info.h (user_info): Add dll_crt0_1 as a friend.Christopher Faylor2010-03-158-128/+218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (user_info::version): Make LONG to accommodate spinlock use. (user_info::create): New static function renamed from user_info_create. (user_info::initialize): New private function renamed from user_info_initialize. (SHARED_VERSION): Delete. (SHARED_VERSION_MAGIC): Ditto. (USER_VERSION_MAGIC): Ditto. (SHARED_INFO_CB): Ditto. (USER_VERSION): Ditto. (USER_VERSION_MAGIC): Ditto. (CURR_SHARED_MAGIC): Update. (CURR_USER_MAGIC): Ditto. (shared_info::version): Make LONG to accommodate spinlock use. (shared_info::create): New static function mirroring user_info::create. (dll_crt0_1): Accommodate change to user_info::initialize. * spinlock.h (spinlock::setto): New variable member. (spinlock::done): New function. (spinlock::spinlock): Generalize to allow arbitrary values and timeouts. Call done() when lock is not needed. * ntdll.h: Make multiple-inclusion safe. (NtQuerySystemTime): Declare. * shared.cc (installation_root_inited): Rename from shared_mem_inited. (init_installation_root): Make inline. Use a spinlock to ensure that this is initialized only once per session. (user_info::initialize): Rename from user_shared_initialize. Protect with spinlock on sversion and remove other spinlock-like things. Remove reference to user_shared since it is now implicit. Refer to spinlock version of multiple_cygwin_problem to ensure that any spinlock is released. (user_info::create): Rename from user_shared_create. Accommodate change from user_shared_initialize to user_info::initialize. (shared_info::create): New inline function. (shared_info::initialize): Protect with spinlock on sversion. Move heap_init back under specific control of shared_info spinlock. Remove reference to SHARED_INFO_CB and just use sizeof(*this). (memory_init): Move all locking into respective functions where it is needed. Accommodate name changes. Remove call to heap_init(). * syscalls.cc (seteuid32): Accommodate name change to user_info::create(). * mount.cc (mount_info::create_root_entry): Report on errors from add_item since they should be nonexistent. (mount_info::init): Don't initialize nmounts. It should already be zero. Give more verbose error when root_idx < 0. Implicitly use this pointer rather than explicitly referencing mount_table->. (mount_info::add_item): Minor whitespace fix.
* * sigproc.cc (no_signals_available): Get sense of the test right for previousChristopher Faylor2010-03-152-1/+6
| | | | botched change.
* * sigproc.cc (no_signals_available): Don't try to send a signal if still inChristopher Faylor2010-03-152-1/+6
| | | | cygwin startup code.
* Merge from gcc:Joseph Myers2010-03-143-10/+18
| | | | | | | 2010-01-11 Richard Guenther <rguenther@suse.de> PR lto/41569 * Makefile.def (all-lto-plugin): Depend on all-gcc. * Makefile.in: Regenerated.
* * spinlock.h: New file.Christopher Faylor2010-03-135-38/+80
| | | | | | | | | | (spinlock): New class. * shared.cc: Include spinlock.h. (memory_init): Use new spinlock methods rather than roll-your-own. Time out after ten seconds if shared_mem_inited is not initialized. * sync.h: Update copyright. Remove vanity attribution. * sigproc.cc (sigproc_terminate): Avoid attempts to kill the signal thread while we're still initializing or suffer a deadlock.
* Throughout change all calls of low_priority_sleep (0) to yield ().Christopher Faylor2010-03-1218-74/+48
| | | | | | | | | | * miscfuncs.cc (yield): Rename from low_priority_sleep. Remove all of the logic which called Sleep() and just use SwitchToThread. * miscfuncs.h (yield): Rename from low_priority_sleep. (SLEEP_0_STAY_LOW): Delete unused define. * shared.cc (memory_init): Move heap_init() call directly after shared memory initialization to more closely mimic long-standing program flow. * tty.cc (tty_list::terminate): Replace call to low_priority_sleep with Sleep.
* * effectively.sgml (using-shortcuts): Match chapter with reality.Corinna Vinschen2010-03-122-14/+19
|
* * faq-using.xml (faq.using.bloda): Add "Credant Guardian Shield".Corinna Vinschen2010-03-112-0/+5
|
* * shared.cc (memory_init): Fix comment. Fix indentation.Christopher Faylor2010-03-102-11/+16
|
* * shared_info.h (open_shared): Create function wrapper for common use case.Christopher Faylor2010-03-096-47/+85
| | | | | | | | | | | | | | | (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.
* 2010-03-09 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2010-03-092-25/+38
| | | | | | * libc/posix/telldir.c (dd_loccnt): Change start index to be 1 instead of 0. (_seekdir): A loc of 0 now means rewind dir.
* * shared.cc (inst_root_inited): Delete.Christopher Faylor2010-03-092-24/+25
| | | | | | | | * (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.
* 2010-03-08 Craig Howland <howland@LGSInnovations.com>Jeff Johnston2010-03-083-12/+29
| | | | | | | | | * 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.
* 2010-03-06 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2010-03-072-2/+6
| | | | * include/_mingw.h: Increment version to 3.18.
* 2010-03-02 Daniel Atallah <datallah@users.sourceforge.net>Chris Sutcliffe2010-03-073-0/+9
| | | | | * include/stdio.h: (_vscprintf, _vscwprintf) * include/tchar.h: (_vsctprintf)
* include:Rainer Orth2010-03-052-1/+12
| | | | | | | | | | | | | | | | | | | * 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.
* * setup2.sgml (setup-env): Add cross reference to using-cygwinenv.Corinna Vinschen2010-03-052-5/+14
| | | | | Change description for locale environment variables to comply with changes in 1.7.2.
* * libm/math/ef_sqrt.c: Delete unused variable sign.Corinna Vinschen2010-03-057-13/+22
| | | | | | | | | | | | * 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.
* PR libstdc++/32499Rainer Orth2010-03-043-7/+15
| | | | | | | * configure.ac (RANLIB): Default to true. (STRIP): Likewise. (RANLIB_FOR_TARGET): Remove superfluous : argument. * configure: Regenerate.
* * syscalls.cc (nt_path_has_executable_suffix): Change storage class ofCorinna Vinschen2010-03-042-7/+23
| | | | | | blessed_executable_suffixes to static. (rename): Revert meaning of old_explicit_suffix. Change the rules for appending a .exe suffix and (yikes!) document them.
* * cygwin.din: Export __xdr functions.Corinna Vinschen2010-03-044-1/+13
| | | | | | * include/cygwin/version.h: Bump version. * posix.sgml: Add a few more XDR functions to list of implemented Solaris functions.
* * new-features.sgml (ov-new1.7.2): Describe XDR support.Corinna Vinschen2010-03-032-0/+12
|
* Add XDR support.Corinna Vinschen2010-03-038-2/+161
| | | | | | | | | | | | * 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.
* 2010-03-02 Craig Howland <howland@LGSInnovations.com>Jeff Johnston2010-03-023-0/+22
| | | | | | | | * 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.
* * libc/xdr/README: Correct grammatical errors.Corinna Vinschen2010-03-026-21/+49
| | | | | | | | | * 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.
* * libc/xdr/Makefile.in: Regenerate.Corinna Vinschen2010-03-022-11/+27
|