summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * new-features.xml (ov-new1.7.19): Align mandatory locking text toCorinna Vinschen2013-06-042-3/+8
| | | | today's changes.
* * fhandler.cc (fhandler_base::lock): Move to flock.cc.Corinna Vinschen2013-06-046-22/+51
| | | | | | | | | | | | | | (fhandler_base::fixup_after_exec): Reset mandatory_locking. * fhandler.h (class fhandler_base): Add mandatory_locking status flag. Add mandatory_locking accessor methods. Accommodate change throughout. (fhandler_base::mand_lock): Declare. (class fhandler_disk_file): Drop in favor of new status flag. * (fhandler_disk_file::fcntl): Call need_fork_fixup if mandatory_locking flag gets set. * flock.cc (fhandler_base::lock): Define here. (flock): Handle mandatory_locking. (lockf): Ditto. (fhandler_base::mand_lock): Define.
* 2013-06-03 Joey Ye <joey.ye@arm.com>Richard Earnshaw2013-06-037-622/+1001
| | | | | | | | | | | | * libc/machine/arm/Makefile.am (MEMCPY_DEP): New define. ($(lpfx)memcpy.o, $(lpfx)memcpy.obj): Depend on MEMCPY_DEP. * libc/machine/arm/Makefile.in: Regenerated. * newlib/libc/machine/arm/memcpy-stub.c: Exclude armv7-m/armv7e-m. * newlib/libc/machine/arm/memcpy-armv7m.S: New. * newlib/libc/machine/arm/memcpy.S: Replace with wrapper code. Old code moved to ... * newlib/libc/machine/arm/memcpy-armv7a.S: ... here. Remove redundant architecture check.
* *** empty log message ***Corinna Vinschen2013-06-031-0/+3
|
* * sigproc.cc (exit_thread): Allow to exit the thread while runningCorinna Vinschen2013-06-032-1/+15
| | | | global dtors. Explain why.
* Fix typoCorinna Vinschen2013-06-021-1/+1
|
* * new-features.xml (ov-new1.7.19): Add mandatory locking.Corinna Vinschen2013-06-022-0/+9
|
* * autoload.cc (CancelSynchronousIo): Define.Corinna Vinschen2013-06-029-16/+289
| | | | | | | | | | | | | | | | | | | | | | | | * fcntl.cc (fcntl64): Drop handling of locking commands. * fhandler.h (class fhandler_disk_file): Add mandatory_locking. (fhandler_disk_file::fcntl): Declare. (fhandler_disk_file::mand_lock): Declare. * fhandler_disk_file.cc (fhandler_disk_file::fhandler_disk_file): Initialize mandatory_locking. (fhandler_disk_file::fcntl): New method. Handle F_LCK_MANDATORY and locking commands. (fhandler_disk_file::dup): Duplicate mandatory_locking. Fix a bug when duplicating prw_handle failed. (fhandler_disk_file::fixup_after_fork): Reset mandatory_locking. * flock.cc (fhandler_disk_file::lock): Add comment. (struct lock_parms): New struct to pass parameters to blocking_lock_thr thread function. (blocking_lock_thr): New thread function. (fhandler_disk_file::mand_lock): New methof implementing mandatory locking with Windows semantics. * ntdll.h (NtLockFile): Declare. (NtUnlockFile): Declare. * include/fcntl.h: Fix a comment. (F_LCK_MANDATORY): Define. Add lengthy comment to explain.
* * exceptions.cc (exception::handle): Resurrect accidentally lostCorinna Vinschen2013-06-022-1/+7
| | | | patch from 2009-07-22: Set si_addr according to POSIX for SIGSEGV.
* * gas/config/tc-avr.c: Change ISA for devices with USB support toDenis Chertykov2013-06-012-6/+12
| | | | | | | AVR_ISA_XMEGAU * include/opcode/avr.h: Rename AVR_ISA_XCH to AVR_ISA_RMW. Remove from AVR_ISA_XMEGA and add new AVR_ISA_XMEGAU
* * include/sys/socket.h: Move SHUT_xx definitoins from here...Corinna Vinschen2013-05-313-9/+14
| | | | * include/cygwin/socket.h: ...to here.
* *** empty log message ***Corinna Vinschen2013-05-311-0/+3
|
* * include/cygwin/if.h: Include cygwin/socket.h rather than sys/socket.hCorinna Vinschen2013-05-312-2/+7
| | | | to avoid circular dependency resulting in bogus compile time warnings.
* 2013-05-30 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2013-05-304-53/+11
| | | | | | * libc/machine/powerpc/times.c: Moved to libgloss/rs6000. * libc/machine/powerpc/Makefile.am: Remove times.c. * libc/machine/powerpc/Makefile.in: Regenerated.
* 2013-05-30 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2013-05-303-1/+47
| | | | | | * rs6000/Makefile.in: Add sim-times support. This file has been moved from newlib/libc/machine/powerpc and renamed. * rs6000/sim-times.c: New file.
* 2013-05-30 Paul Brook <paul@codesourcery.com>Catherine Moore2013-05-302-0/+5
| | | | | | | | | | | | | | | | | | | | | bfd/ * bfd-in2.h: Regenerate. * elf32-mips.c (elf_mips_eh_howto): New. (bfd_elf32_bfd_reloc_type_lookup ): Support BFD_RELOC_MIPS_EH. (bfd_elf32_bfd_reloc_name_lookup): Likewise. (mips_elf32_rtype_to_howto): Support R_MIPS_EH. * elf64-mips.c (elf_mips_eh_howto): New. (bfd_elf64_bfd_reloc_type_lookup): Support BFD_RELOC_MIPS_EH. (bfd_elf64_bfd_reloc_name_lookup): Likewise. (mips_elf64_rtype_to_howto): Support R_MIPS_EH. * libbfd.h: Regenerate. * reloc.c (BFD_RELOC_MIPS_EH): New. gas/ * config/tc-mips.c (md_apply_fix): Support BFD_RELOC_MIPS_EH. include/elf * mips.h (R_MIPS_EH): New.
* * configure.in (--enable-newlib-nano-malloc): New option.Corinna Vinschen2013-05-298-73/+799
| | | | | | | | | | * configure: Regenerated. * libc/configure.in (--enable-newlib-nano-malloc): New option. * libc/configure: Regenerated. * libc/stdlib/Makefile.am (NEWLIB_NANO_MALLOC): Use. * libc/stdlib/Makefile.in: Regenerated. * libc/stdlib/nano-mallocr.c: New file, implementing nano version malloc family functions.
* Correct the relocation names for R_AARCH64_TLSDESC_LD_PREL19 and ↵Yufeng Zhang2013-05-282-2/+9
| | | | R_AARCH64_TLSDESC_ADR_PAGE21.
* * fhandler_procsys.cc (fhandler_procsys::read): Just callCorinna Vinschen2013-05-283-15/+10
| | | | | fhandler_base::raw_read from here. Drop comment. (fhandler_procsys::write): Drop comment.
* * libc/macine/arm/strcpy.S: Explicitly set build attributes whenRichard Earnshaw2013-05-282-0/+12
| | | | building for thumb1 targets.
* *** empty log message ***Corinna Vinschen2013-05-271-0/+4
|
* * dll_init.cc (dll_list::topsort): Fix early-return condition toCorinna Vinschen2013-05-273-5/+13
| | | | | | | accommodate process with all runtime loaded DLLs already dlclosed at fork time. * gendef (_sigfe_maybe): Fix code handling early return if we don't have a tls, broken on 2013-05-21.
* *** empty log message ***Corinna Vinschen2013-05-251-1/+5
|
* * Makefile.in (DEFS): Unused, remove.Corinna Vinschen2013-05-242-3/+10
| | | | | (COMPILE.cc): Move -mno-use-libstdc-wrappers flag from here... ($(TEST_DLL_NAME)): ...to here since it's a link time flag.
* * pinfo.cc (pinfo::status_exit): Enhance comment.Corinna Vinschen2013-05-242-3/+7
|
* * environ.cc (win_env::add_cache): Set the Windows environment variableCorinna Vinschen2013-05-244-6/+26
| | | | | | using wide chars to make sure native chars don't get scrambled. * environ.h (build_env): Fix formatting in declaration. * pinfo.cc (pinfo::status_exit): Handle STATUS_NO_MEMORY. Explain why.
* * fork.cc (frok::parent): Always set CREATE_UNICODE_ENVIRONMENT flag.Corinna Vinschen2013-05-242-0/+10
| | | | Explain why.
* * fork.cc (frok::parent): Call CreateProcessW with command line setCorinna Vinschen2013-05-233-2/+18
| | | | to the parent command line. Change comment to explain why.
* * dcrt0.cc (child_info_fork::alloc_stack_hard_way): Fix datatype ofCorinna Vinschen2013-05-233-18/+27
| | | | | | | | | stacksize to SIZE_T. Cast to SIZE_T in pointer arithmetic. Slightly enhance output in case of a fatal error. * fork.cc (frok::parent): Always set ch.stackaddr to DeallocationStack value of current thread to help stack reservation in child_info_fork::alloc_stack_hard_way along. Simplify subsequent code storing stack values in ch. Print guardsize in hex, too.
* .Warren Young2013-05-231-3/+0
|
* Created xidepend mechanismWarren Young2013-05-234-1/+49
|
* * libc/ctype/isalnum.c: Correct domain of definition to SUSv4 wording.Corinna Vinschen2013-05-2310-14/+29
| | | | | | | | | | | * libc/ctype/isalpha.c: Ditto. * libc/ctype/isblank.c: Ditto. * libc/ctype/iscntrl.c: Ditto. * libc/ctype/isdigit.c: Ditto. * libc/ctype/islower.c: Ditto. * libc/ctype/isprint.c: Ditto. * libc/ctype/ispunct.c: Ditto. * libc/ctype/isxdigit.c: Ditto.
* * cygwinenv.xml (cygwinenv-implemented-options): Explain newCorinna Vinschen2013-05-235-45/+112
| | | | | | | | | | winsymliks:nativestrict option. Strip out description of symlink types and refer to new pathnames-symlinks section. * highlights.xml (ov-hi-files): Rip out most of symlink description and refer to new pathnames-symlinks section instead. * new-features.xml (ov-new1.7.19): Add CYGWIN=winsymlinks:nativestrict. * pathnames.xml (pathnames-symlinks): New section describing symbolic link handling.
* * environ.cc (set_winsymlinks): Handle "winsymlinks:nativestrict"Corinna Vinschen2013-05-235-10/+55
| | | | | | | | | | | | | | option. On pre-Vista warn the user if the "winsymlinks:native*" option is set. * globals.cc (enum winsym_t): Add WSYM_nativestrict. * path.cc (symlink_native): Don't create native symlink if target does not exist. Explain why. Improve comments. (symlink_worker): Change AFS symlink handling to WSYM_nativestrict. Handle WSYM_nativestrict throughout. Change condition for bail out to wsym_type == WSYM_nativestrict. Add comment. Fix formatting. * shared_info.h (CURR_USER_MAGIC): Change to reflect change in class user_info. (class user_info): Add member warned_nonativesyms.
* include/opcode/Richard Sandiford2013-05-222-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | 2013-05-22 Jürgen Urban <JuergenUrban@gmx.de> * mips.h (M_LQC2_AB, M_SQC2_AB): New macros. opcodes/ 2013-05-22 Jürgen Urban <JuergenUrban@gmx.de> * mips-opc.c (mips_builtin_opcodes): Add R5900 VU0 instructions. gas/ 2013-05-22 Jürgen Urban <JuergenUrban@gmx.de> * config/tc-mips.c (macro): Handle M_LQC2_AB and M_SQC2_AB. gas/testsuite/ 2013-05-22 Jürgen Urban <JuergenUrban@gmx.de> * gas/mips/r5900-full.s, gas/mips/r5900-full.d: Add tests for LQ and SQ macros. * gas/mips/r5900-vu0.s, gas/mips/r5900-vu0.d: New test. * gas/mips/mips.exp: Run it.
* * libc/include/sys/cdefs.h (_Static_assert): Accommodate gcc >= 4.6.Corinna Vinschen2013-05-222-1/+7
|
* Add EM_INTEL205 to EM_INTEL209H.J. Lu2013-05-222-0/+13
| | | | | | | | * common.h (EM_INTEL205): New. (EM_INTEL206): Likewise. (EM_INTEL207): Likewise. (EM_INTEL208): Likewise. (EM_INTEL209): Likewise.
* * spinlock.h (ULONG): Replace LONG operator with ULONG to accommodateCorinna Vinschen2013-05-223-2/+9
| | | | | | the fact that CURR_SHARED_MAGIC and USER_SHARED_MAGIC are unsigned values. * shared.cc (shared_info::initialize): Drop explicit cast here.
* * new-features.sgml (ov-new1.7.19): Add arc4random,Corinna Vinschen2013-05-212-1/+8
| | | | | arc4random_addrandom, arc4random_buf, arc4random_stir and arc4random_uniform.
* Add missing ChangeLog entry for former checkin.Corinna Vinschen2013-05-211-0/+12
|
* * Makefile.in (DLL_OFILES): Add arc4random.o.Corinna Vinschen2013-05-218-19/+388
| | | | | | | | | | | * common.din: Export arc4random, arc4random_addrandom, arc4random_buf, arc4random_stir and arc4random_uniform. * mktemp.cc (arc4random): Remove static replacement function. * posix.sgml (std-bsd): Add arc4random functions. * include/cygwin/stdlib.h: Declare arc4random functions. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. * libc/arc4random.cc: New file implementing arc4random functions taken from FreeBSD.
* * globals.cc (__isthreaded): New global variable. Explain what it'sCorinna Vinschen2013-05-213-0/+16
| | | | | used for. * miscfuncs.cc (thread_wrapper): Set __isthreaded to 1 here.
* * fhandler.h (class fhandler_dev_random): Change type of pseudo toCorinna Vinschen2013-05-212-1/+6
| | | | uint32_t to make sure it's 32 bit on all supported platforms.
* x86_64 only:Corinna Vinschen2013-05-212-31/+28
| | | | | | | * gendef (_sigfe_maybe): Drop pushing %r12, use %r10 instead since we don't call yield anymore. (_sigfe): Ditto. (_sigbe): Ditto.
* * new-features.sgml (ov-new1.7.19): Add __b64_ntop and __b64_pton.Corinna Vinschen2013-05-212-0/+8
|
* * libc/base64.c: New file.Corinna Vinschen2013-05-216-4/+333
| | | | | | | * Makefile.in (DLL_OFILES): Add base64.o. * common.din: Export __b64_ntop and __b64_pton. * posix.sgml (std-bsd): Add __b64_ntop and __b64_pton. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* * syscalls.cc (open): Only return ENOTDIR if file exists.Corinna Vinschen2013-05-212-1/+5
|
* Reinstantiate accidentally removed patch from 2009-05-16:Corinna Vinschen2013-05-212-2/+10
| | | | | | | * Makefile.in (cygpath.exe): Link against cygwin.a before linking against ntdll.dll to avoid linking symbols defined in both DLLs from ntdll. (ps.exe): Ditto.
* * libc/reent/reent.c (_wrapup_reent): Remove.Corinna Vinschen2013-05-162-33/+4
|
* * sigproc.cc (sig_hold): Delete.Christopher Faylor2013-05-162-51/+39
| | | | | | | (sigheld): Delete. (sig_send): Eliminate special-case __SIGHOLD handling. (wait_sig): Just flag when signals are on hold and add them to the queue rather than stalling the wait_sig loop. Clear the flag when __SIGNOHOLD is specified.