summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * config.guess: Update from config repo.Jan-Benedict Glaw2013-04-293-20/+33
| | | | * config.sub: Ditto.
* * fcntl.cc (fcntl): Define as export alias for fcntl64 on x86_64.Corinna Vinschen2013-04-263-0/+9
|
* 2013-04-25 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2013-04-253-0/+19
| | | | | * libc/stdio/local.h (_STDIO_CLOSE_PER_REENT_STD_STREAMS): New define. * libc/stdio/findfp.c (_STDIO_CLOSE_PER_REENT_STD_STREAMS): Use define.
* * faq-programming.xml (faq.programming.64bitporting): Fix typo.Corinna Vinschen2013-04-252-1/+5
|
* * faq-programming.xml (faq.programming.64bitporting): Extend entry.Corinna Vinschen2013-04-252-9/+140
| | | | | (faq.programming.64bitporting-fail): New entry. (faq.programming.64bitporting-cygwin64): New entry.
* * faq-programming.xml (faq.programming.64bitporting): Mention theCorinna Vinschen2013-04-242-1/+11
| | | | -Wformat and -Wall gcc options.
* * faq-programming.xml (faq.programming.64bitporting): New FAQ entry.Corinna Vinschen2013-04-242-42/+165
| | | | | | | | (faq.programming.objective-c): Include gcc4. (faq.programming.make-execvp): Drop text discouraging usage of -j. (faq.programming.undeclared-functions): Drop entry. (faq.programming.x86-assembly): Ditto. (faq.programming.djgpp): Ditto.
* Fix date in latest ChangeLog entryCorinna Vinschen2013-04-241-1/+1
|
* * libc/stdlib/strtod.c: Manual update to latest algorithm from NetBSD.Corinna Vinschen2013-04-242-38/+122
|
* * cygwinenv.sgml (cygwinenv-implemented-options): Change descriptionCorinna Vinschen2013-04-243-5/+31
| | | | | | for winsymlink option to explain new implementation. * new-features.sgml (ov-new1.7.19): Add support for native symlinks and AFS.
* * autoload.cc (CreateSymbolicLink): Define.Corinna Vinschen2013-04-2411-93/+247
| | | | | | | | | | | | | | | | | | | | | | | | | * environ.cc (set_winsymlinks): Set allow_winsymlinks. (parse_thing): Change "winsymlinks" to set by function. * globals.cc (enum winsym_t): Define. (allow_winsymlinks): Define as winsym_t. (ro_u_afs): New R/O Unicode string. * mount.cc (fs_info::update): Fix comment. Handle AFS. (fs_names): Add "afs". * mount.h (enum fs_info_type): Add afs. (class fs_info): Implement afs. * path.cc (symlink): Drop third parameter in call to symlink_worker. (symlink_nfs): New function. (symlink_native): New function. (symlink_worker): Drop third argument. Handle native symlink type by calling symlink_native. Move code to handle NFS to symlink_nfs. Fix formatting. Slightly restructure code. * path.h (class path_conv): Add fs_is_afs method. (symlink_worker): Declare here. * security.h: Define privilege constants as unsigned int instead of as unsigned long. * syscalls.cc (mknod_worker): Set third parameter in symlink_worker call to WSYM_lnk. * winsup.h (symlink_worker): Drop declaration here.
* Forced checkinCorinna Vinschen2013-04-230-0/+0
|
* * Throughout, eliminate Windows 2000 from the documentation.Corinna Vinschen2013-04-236-24/+21
| | | | * overview.sgml (brief-history): Mention native AMD64 support.
* * Makefile.in (SGMLDIRS): Accommodate dropping utils_source andCorinna Vinschen2013-04-233-2/+26
| | | | | | cygwin_source from ../Makefile.common. * new-features.sgml (ov-new1.7.19): New section. Document dropped support for pre-XP SP3 and added support for 64 bit Cygwin.
* *** empty log message ***Corinna Vinschen2013-04-231-0/+10
|
* * cygwin64.din (_setjmp): Export.Corinna Vinschen2013-04-232-0/+7
| | | | (_longjmp): Export.
* * Merge in cygwin-64bit-branch.Corinna Vinschen2013-04-23253-5044/+10621
|
* Port newlib to x86_64-pc-cygwin.Corinna Vinschen2013-04-236-19/+55
| | | | | | | | | | | * libc/include/sys/features.h: Redefine compilation environment definitions for Cygwin to cover 64 bit Cygwin. * libc/ctype/ctype_.c (_ctype_): Fix definition for 64 bit Cygwin. * libc/include/machine/setjmp.h: Change definition of _JBLEN to allow different values for 32 bit and 64 bit Cygwin. * libc/include/reent.h (stat64): Define as stat under Cygwin, instead of as __stat64. Undef stat64 if not building Newlib. * libc/include/sys/stat.h (stat64): Define as stat under Cygwin.
* 2013-04-22 Jan-Benedict Glaw <jbglaw@lug-owl.de>Jan-Benedict Glaw2013-04-223-16/+11
| | | | | * Makefile.def: Sync with GCC. * Makefile.in: Regenerate.
* 2013-04-22 Jan-Benedict Glaw <jbglaw@lug-owl.de>Jan-Benedict Glaw2013-04-223-0/+9
| | | | | * configure.ac: Sync with GCC. * configure: Regenerated.
* * include/sys/queue.h: Delete in favor of more complete newlib file.Corinna Vinschen2013-04-222-512/+4
|
* Adapt to changes in newlib's sys/cdefs.h:Corinna Vinschen2013-04-224-7/+9
| | | | | | * include/sys/sysinfo.h (struct sysinfo): Rename __unused member to __f. * libc/fts.c (__FBSDID): Drop definition. * regex/regexec.c (__unused): Drop definition.
* * libc/include/sys/cdefs.h: Align with latest FreeBSD file header.Corinna Vinschen2013-04-223-48/+538
| | | | * libc/include/sys/features.h (__GNUC_PREREQ__): Define.
* * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 19.Corinna Vinschen2013-04-222-2/+6
|
* 2013-04-19 Steve Ellcey <sellcey@imgtec.com>Steve Ellcey2013-04-192-7/+9
| | | | | | | | | * mips/cfe_api.h (int64_t): Remove define. (uint64_t): Remove define. (intptr_t): Remove define. (uintptr_t): Remove define. (sys/types.h): Remove include. (_ansi.h): Remove include.
* [AArch64] Honour CFLAGS.Marcus Shawcroft2013-04-193-7/+16
| | | | | | | | | | 2013-04-19 Yufeng Zhang <yufeng.zhang@arm.com> * aarch64/Makefile.in (rdimon-crt0.o, rdimon-trap.o) (rdimon-_exit.o, rdimon-_kill.o, rdimon-syscalls.o) (rdimon-libcfunc.o): Add $(CFLAGS) to the compiler command line. * aarch64/cpu-init/Makefile.in (${CPU_INIT_OBJS}): Add $(CFLAGS) to the compiler command line.
* * newlib/libc/search/hash.c: Revert patch from 2012-08-08.Corinna Vinschen2013-04-192-3/+7
|
* * libc/sys/rtems/sys/queue.h: Delete file.Corinna Vinschen2013-04-164-571/+320
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/include/sys/cdefs.h (__containerof): New define. (__DEQUALIFY): Likewise. * libc/include/sys/queue.h (TRACEBUF_INITIALIZER): Likewise. (TRACEBUF): Likewise. (LIST_FOREACH_SAFE): Likewise. (LIST_PREV): Likewise. (LIST_SWAP): Likewise. (QMD_LIST_CHECK_HEAD): Likewise. (QMD_LIST_CHECK_NEXT): Likewise. (QMD_LIST_CHECK_PREV): Likewise. (QMD_SAVELINK): Likewise. (QMD_TAILQ_CHECK_HEAD): Likewise. (QMD_TAILQ_CHECK_NEXT): Likewise. (QMD_TAILQ_CHECK_PREV): Likewise. (QMD_TAILQ_CHECK_TAIL): Likewise. (QMD_TRACE_ELEM): Likewise. (QMD_TRACE_HEAD): Likewise. (SLIST_FOREACH_PREVPTR): Likewise. (SLIST_FOREACH_SAFE): Likewise. (SLIST_REMOVE_AFTER): Likewise. (SLIST_SWAP): Likewise. (STAILQ_FOREACH_SAFE): Likewise. (STAILQ_REMOVE_AFTER): Likewise. (STAILQ_SWAP): Likewise. (TAILQ_FOREACH_REVERSE_SAFE): Likewise. (TAILQ_FOREACH_SAFE): Likewise. (TAILQ_SWAP): Likewise. (TRASHIT): Likewise. (SLIST_REMOVE): Use SLIST_REMOVE_AFTER(). (STAILQ_LAST): Use __containerof(). (STAILQ_REMOVE): Use STAILQ_REMOVE_AFTER().
* * glob.cc: Include winsup.h before anything else.Corinna Vinschen2013-04-162-4/+8
|
* 2013-04-12 Will Newton <will.newton@linaro.org>Jeff Johnston2013-04-123-402/+611
| | | | | | | * libc/machine/arm/memcpy-stub.c: Use generic memcpy if unaligned access is not enabled. * libc/machine/arm/memcpy.S: Faster memcpy implementation for Cortex A15 cores using NEON and VFP if available.
* * acconfig.h (_WCHAR_ORIENT): UndefCorinna Vinschen2013-04-1211-133/+284
| | | | | | | | | | | | | | * newlib.hin (_WCHAR_ORIENT): Undef * configure.in (--enable-newlib-wchar-orient): New option. * configure: Regenerated. * libc/configure.in (--enable-newlib-wchar-orient): New option. * libc/configure: Regenerated. * libc/stdio/Makefile.am (NEWLIB_WIDE_ORIENT): Use. * libc/stdio/Makefile.in: Regenerated. * libc/stdio/local.h (ORIENT): Use _WCHAR_ORIENT to control the definition. Add alternative definition. * libc/stdio/vfprintf.c (__sfputs_r, __sprint_r): Use _WCHAR_ORIENT to control the wide char output.
* * path.cc (symlink_info::check): Drop PC_KEEP_HANDLE flag forCorinna Vinschen2013-04-122-14/+22
| | | | | unrecognized reparse points as well. Reorganize code and comments handling reparse points for better readability.
* * hires.h (hires_ns::nsecs): Declare with bool parameter.Corinna Vinschen2013-04-113-4/+11
| | | | | * times.cc (hires_ns::nsecs): Take bool parameter. If set to true, don't use prime value (== return system wide absolute value).
* Revert to original patchCorinna Vinschen2013-04-111-4/+4
|
* * libc/include/stdlib.h (strtof, strtoll, strtoull, strtold): AlsoCorinna Vinschen2013-04-112-4/+10
| | | | prototype if C++11 or later.
* 2013-04-10 Bin Cheng <bin.cheng@arm.com>Jeff Johnston2013-04-109-2/+70
| | | | | | | | | | | | * acconfig.h (_FSEEK_OPTIMIZATION): Undef * newlib.hin (_FSEEK_OPTIMIZATION): Undef * configure.in (--disable-newlib-fseek-optimization): New option. * configure: Regenerated. * libc/stdio/fflush.c (__sflush_r): Use _FSEEK_OPTIMIZATION to control fseek optimization. * libc/stdio/fseeko.c (_fseeko_r): Ditto. * libc/stdio/makebuf.c (__smakebuf_r): Ditto. * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
* fix YA typoChristopher Faylor2013-04-091-1/+1
|
* * cygtls.h (_cygtls::reset_signal_arrived): Actually reset the signal_arrivedChristopher Faylor2013-04-097-141/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | event. (_cygtls::handle_SIGCONT): Declare ew function. * cygwait.cc (is_cw_sig_handle): Delete. (is_cw_sig_cont): New convenience define. (cygwait): Clear signal if is_cw_sig_cont and we got a SIGCONT. * cygwait.h (cw_wait_mask): Add cw_sig_cont. * exceptions.cc (sig_handle_tty_stop): Tighten "incyg" region. Use cw_sig_cont param for cygwait. Don't zero signal here outside of lock. (sigpacket::setup_handler): Don't check for in_forkee since we will now never get here in that state. (_cygtls::handle_SIGCONT): Define new function. (sigpacket::process): Call handle_SIGCONT early to deal with SIGCONT. Nuke continue_now handling. Allow SIGKILL to kill a suspended process. Delete a couple of now-unneeded labels. (_cygtls::call_signal_handler): Reorganize setting of incyg within lock. * sigproc.cc (pending_signals): Simplify. (pending_signals::clear): New method. (_cygtls::remove_wq): Reorganize to always close wq.thread_ev if it exists to avoid handle leaks. (sig_clear): Simplify by just calling sigq.clear(). (sig_dispatch_pending): Always call sigq.pending even in signal thread to force another loop in wait_sig. (sig_send): Remove a "goto out" just before out: label. (pending_signals::add): Simplify. (pending_signals::del): Delete. (pending_signals::next): Delete. (wait_sig): Define variable q to be the start of the signal queue. Just iterate through sigq queue, deleting processed or zeroed signals. Only set clearwait when the current signal is SIGCHLD. * sigproc.h: Add a comment about an unused enum.
* fix typoChristopher Faylor2013-04-081-1/+1
|
* * fhandler_socket.cc (get_inet_addr): Handle abstract AF_LOCAL socket.Corinna Vinschen2013-04-082-4/+39
| | | | | (fhandler_socket::recv_internal): Create abstract socket name for AF_LOCAL datagram sockets. Explain why we do that.
* * libc/stdio/vfieeefp.h (ldieee): Fix typo.Matthew Gretton-Dann2013-04-082-1/+5
|
* * cygheap.cc (init_cygheap::find_tls): Add a comment.Christopher Faylor2013-04-074-6/+16
| | | | | | | | * dcrt0.cc (parent_sigmask): Delete. (dll_crt0_1): Use spawn_info->moreinfo->sigmask rather than saved parent signal mask. * thread.cc (pthread::thread_init_wrapper): Add comment stressing the importance of maintaining ordering of statements.
* Increase the accuracy of sparc instruction aliases.David S. Miller2013-04-062-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make current with UA2011 specification. Add an F_PREFERRED opcode flag that indicates a preferred alias when multiple aliases for the same opcode exists. For 'lzd': Add 'lzcnt' as primary instruction, and make 'lzd' an alias. Add 'ldtw', 'ldtwa', 'sttw', 'sttwa': The modern opcode for for 'ldd', 'ldda', 'std', and 'stda' on integer registers. Mark the latter now as aliases. For 'flush': Support "[address]" syntax as well as plain "address". Rework 'mov' aliases for 'wr': Eliminate bogus three operand moves, and encode the instructions properly for the "mov REG, %ASR" cases, specifically we should encode the register in rs2 not rs1 as per The SPARC V8 Architecture Manual. Add missing cbcond aliases: c{w,x}bz, c{w,x}blu, c{w,x}bnz, c{w,x}bgeu Add 'd' suffix VIS logical ops: The primary opcode for 'fzero' is now 'fzerod' (compare with 'fzeros'), for example. And thus 'fzero' is now an alias. Add modern opcodes for condition code setting edge instructions: They are now edgeN{,l}cc instead of plain edgeN{,l}. Add modern opcodes for VIS comparisons: All VIS comparisons now start with prefix "fp", retain the older variants as aliases. The signed variants for equal and not-equal have "u" aliases to show that these comparisons are equally suited for unsigned compares. Update existing test cases as needed, and add several new ones. include/opcode/ * sparc.h (F_PREFERRED): Define. (F_PREF_ALIAS): Define. opcodes/ * sparc-dis.c (compare_opcodes): When encountering multiple aliases of an opcode, prefer the one with F_PREFERRED set. * sparc-opc.c (sparc_opcodes): Add ldtw, ldtwa, sttw, sttwa, lzcnt, flush with '[address]' syntax, and missing cbcond pseudo ops. Make 64-bit VIS logical ops have "d" suffix in their names, mark existing mnenomics as aliases. Add "cc" suffix to edge instructions generating condition codes, mark existing mnenomics as aliases. Add "fp" prefix to VIS compare instructions, mark existing mnenomics as aliases. gas/testsuite/ * gas/sparc/cbcond.s: Add tests for new opcode aliases. * gas/sparc/cbcond.d: Updated. * gas/sparc/hpcvis3.s: Add tests for new opcode aliases. * gas/sparc/hpcvis3.d: Updated. * gas/sparc/v8-movwr-imm.d: Fix expected disassembly. * gas/sparc/edge.s: New test. * gas/sparc/edge.d: Expected disassembly. * gas/sparc/flush.s: New test. * gas/sparc/flush.d: Expected disassembly. * gas/sparc/ldd_std.s: New test. * gas/sparc/ldd_std.d: Expected disassembly. * gas/sparc/ldtw_sttw.s: New test. * gas/sparc/ldtw_sttw.d: Expected disassembly. * gas/sparc/sparc.exp: Run new tests.
* * mmap.cc (is_mmapped_region): Call LIST_UNLOCK on premature return.Corinna Vinschen2013-04-052-1/+8
|
* * fhandler_proc.cc (format_proc_loadavg): Raise too small buffer sizeCorinna Vinschen2013-04-032-1/+6
| | | | to avoid overwriting unrelated cygheap memory.
* merge from gccDJ Delorie2013-04-032-0/+13
|
* * elf32-v850.c (v850_elf_is_target_special_symbol): New function.Nick Clifton2013-04-032-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | (bfd_elf32_bfd_is_target_special_symbol): Define. * v850.h (V850_INVERSE_PCREL): Define. * v850-dis.c (print_value): With V850_INVERSE_PCREL compute the destination address by subtracting the operand from the current address. * v850-opc.c (insert_u16_loop): Disallow negative offsets. Store a positive value in the insn. (extract_u16_loop): Do not negate the returned value. (D16_LOOP): Add V850_INVERSE_PCREL flag. (ceilf.sw): Remove duplicate entry. (cvtf.hs): New entry. (cvtf.sh): Likewise. (fmaf.s): Likewise. (fmsf.s): Likewise. (fnmaf.s): Likewise. (fnmsf.s): Likewise. (maddf.s): Restrict to E3V5 architectures. (msubf.s): Likewise. (nmaddf.s): Likewise. (nmsubf.s): Likewise.
* * path.cc (class suffix_scan): Add member namelen.Corinna Vinschen2013-04-032-7/+40
| | | | | | | | | | (suffix_scan::name_len): New method. (suffix_scan::has): Store namelen since we have it already anyway. Add a bit of explanation and a FIXME to comment. (suffix_scan::next): Never attach extra .lnk suffix if resulting filename length exceeds NAME_LEN. (symlink_info::check): Bail out immediately with ENAMETOOLONG if filename length exceeds NAME_LEN.
* * libc/posix/scandir.c (DIRSIZ): Use offsetof instead of magicCorinna Vinschen2013-04-022-2/+8
| | | | number.
* .Christopher Faylor2013-04-011-0/+5
|