summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Modernized user guide, API reference, and FAQ generation. OverallWarren Young2013-05-0149-1296/+3515
| | | | | | effect is to move away from DocBook SGML and DJ Delorie's doctool and toward pure DocBook XSL. (There remains just one use of doctool, and we have plans for replacing it, too.) See ChangeLog for details.
* * resource.cc (setrlimit): Use consistent commenting style. Return EINVAL whenChristopher Faylor2013-05-012-5/+15
| | | | rlim_cur > rlim_max.
* Throughout, (mainly in fhandler*) fix remaining gcc 4.7 mismatchYaakov Selkowitz2013-05-0133-74/+85
| | | | | | | | | warnings between regparm definitions and declarations. * smallprint.cc (__small_vswprintf): Conditionalize declaration and setting of l_opt for only x86_64. * spawn.cc (child_info_spawn::worker): Remove unused 'pid' variable. * thread.cc (verifyable_object_isvalid): Temporarily define as non-inline with gcc 4.7+, regardless of target.
* * gendef: Fix sigfe.s typo.Christopher Faylor2013-05-012-1/+5
|
* * spawn.cc (system_call_cleanup): Rename from pthread_cleanup. ExtendChristopher Faylor2013-04-302-26/+42
| | | | | | | | | | | functionality. (system_call_cleanup::system_call_cleanup): Set up signals like system() requires. Unblock previously-blocked signal handling. (system_call_cleanup::~system_call_cleanup): Restore signal handling after system(). (child_info_spawn::worker): Put signals on hold and use system_call_cleanup class to set and restore signals rather than doing it prior to to running the program. Remove the ill-conceived pthread_cleanup stuff.
* * exceptions.cc (cygwin_exception::dumpstack): Guard against wild pointerChristopher Faylor2013-04-302-22/+40
| | | | | | | | dereference. (CYG_EXC_CONTINUE_EXECUTION): Define based on standard Windows definition. (CYG_EXC_CONTINUE_SEARCH): Ditto. (exception::handle): Move andreas detection earlier. Make comment clearer. (signal_exit): Set core-dumped flag.
* Sigh. Another missing checkin.Christopher Faylor2013-04-301-0/+5
|
* missing checkinChristopher Faylor2013-04-301-114/+119
|
* * i686.din: New file.Christopher Faylor2013-04-309-2101/+785
| | | | | | | | | * x86_64.din: New file. * common.din: New file. * cygwin.din: Delete. * cygwin64.din: Delete. * gendef: Rework to take options rather than using positional parameters. Accept multiple files as input.
* 2013-04-30 Jan-Benedict Glaw <jbglaw@lug-owl.de>Jan-Benedict Glaw2013-04-304-2/+15
| | | | | | | | config/ * picflag.m4: Merge from GCC. * dfp.m4: Ditto. * bootstrap-asan.mk: Ditto. * ChangeLog: Ditto.
* * autoload.cc (CreateSymbolicLinkW): Rename from CreateSymbolicLink.Christopher Faylor2013-04-302-1/+5
|
* 2013-04-29 Sebastian Huber <sebastian.huber@embedded-brains.de>Jeff Johnston2013-04-2937-117/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/stdio/local.h (CHECK_INIT): Evaluate argument only once. (CHECK_STD_INIT): Likewise. * libc/stdio/fgetc.c (fgetc): Use local variable for _REENT. * libc/stdio/fgetwc.c (fwgetc): Likewise. * libc/stdio/fgetws.c (fgetws): Likewise. * libc/stdio/fputc.c (fputc): Likewise. * libc/stdio/fputwc.c (fputwc): Likewise. * libc/stdio/fputws.c (fputws): Likewise. * libc/stdio/getc.c (getc): Likewise. * libc/stdio/getchar.c (_getchar_r): Likewise. * libc/stdio/putc.c (putc): Likewise. * libc/stdio/putchar.c (putchar): Likewise. * libc/stdio/scanf.c (scanf): Likewise. * libc/stdio/setvbuf.c (setvbuf): Likewise. * libc/stdio/ungetwc.c (ungetwc): Likewise. * libc/stdio/vfscanf.c (VFSCANF): Likewise. * libc/stdio/vfwscanf.c (VFWSCANF): Likewise. * libc/stdio/viprintf.c (viprintf): Likewise. * libc/stdio/viscanf.c (viscanf): Likewise. * libc/stdio/vprintf.c (vprintf): Likewise. * libc/stdio/vscanf.c (vscanf): Likewise. * libc/stdio/vwprintf.c (vwprintf): Likewise. * libc/stdio/vwscanf.c (vwscanf): Likewise. * libc/stdio/wscanf.c (wscanf): Likewise. * libc/stdlib/ecvtbuf.c (fcvtbuf): Likewise. (fcvtbuf): Likewise. (ecvtbuf): Likewise. (ecvtbuf): Likewise. * libc/stdlib/mblen.c (mblen): Likewise. * libc/stdlib/mbrlen.c (mbrlen): Likewise. * libc/stdlib/mbrtowc.c (mbrtowc): Likewise. * libc/stdlib/mbtowc.c (mbtowc): Likewise. * libc/stdlib/rand.c (srand): Likewise. (rand): Likewise. * libc/stdlib/wcrtomb.c (wcrtomb): Likewise. * libc/stdlib/wctob.c (wctob): Likewise. * libc/stdlib/wctomb.c (wctomb): Likewise. * libc/string/strtok.c (strtok): Likewise. * libc/time/asctime.c (asctime): Likewise. * libc/time/gmtime.c (gmtime): Likewise. * libc/time/lcltime.c (lcltime): Likewise.
* 2013-04-29 Sebastian Huber <sebastian.huber@embedded-brains.de>Jeff Johnston2013-04-292-47/+5
| | | | * libc/include/sys/reent.h (_REENT_INIT_PTR): Reduce code size.
* 2013-04-29 Freddie Chopin <freddie_chopin@op.pl>Jeff Johnston2013-04-293-6/+12
| | | | | | * libc/libc.texinfo: Fix @ references and change ifinfo to be ifnottexinfo. * libm/libm.texinfo: Ditto.
* * 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.