summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * bsd_helper.h: Throughout, convert "struct thread" to "class thread".Corinna Vinschen2015-01-198-48/+66
| | | | | | | | | | | | | | | | | | | * bsd_mutex.cc (_msleep): Fetch signal_arrived handle from thread's ipcblk. * process.h (class process): Drop _signal_arrived and align methods. (process_cache::process): Drop signal_arrived parameter. * process.cc (process::process): Ditto. Drop related code. (process::~process): Drop closing signal_arrived handle. (process_cache::process): Drop signal_arrived parameter in call to process::process. (thread::dup_signal_arrived): New method duplicating thread's signal_arrived handle. (thread::close_signal_arrived): New method closing thread's signal_arrived handle. * msg.cc (client_request_msg::serve): Drop signal_arrived parameter from call to process_cache::process. Use thread constructor to initialize td. * sem.cc (client_request_sem::serve): Ditto. * shm.cc (client_request_shm::serve): Ditto.
* * cygserver_ipc.h (ipc_retval): Add default constructor.Corinna Vinschen2015-01-192-2/+23
| | | | | | (class thread): struct->class. Add prototypes for new private methods dup_signal_arrived and close_signal_arrived. Implement constructor and destructor.
* * rl78/crt0.S: Initialize .saddr. Avoid using SEL.DJ Delorie2015-01-167-61/+86
| | | | | | | | | | | | | * rl78/rl78-sim.ld: Add .saddr/.frodata section. * rl78/rl78.ld: Likewise. * rl78/rl78-sim.ld: Make room for virtual register banks. * rl78/rl78.ld: Likewise. * rl78/vregs.h: New. * rl78-sys.h: Use it. * rl78/swrite.S: New. * rl78/Makefile.in: Build it. * rl78/write.c: Use it.
* * gendef: Export _sigbe on 64 bit as well.Corinna Vinschen2015-01-165-9/+44
| | | | | | | | | | | | * malloc_wrapper.cc (free): In malloc_printf, call caller_return_address instead of __builtin_return_address. (malloc): Ditto. (realloc): Ditto. (calloc): Ditto. * miscfuncs.cc (__caller_return_address): New function. * miscfuncs.h (caller_return_address): New macro calling __caller_return_address. (__caller_return_address): Add prototype.
* merge from gccDJ Delorie2015-01-152-0/+122
|
* merge from gccDJ Delorie2015-01-142-2/+16
|
* 2015-01-14 Joel Sherrill <joel.sherrill@oarcorp.com>Jeff Johnston2015-01-142-0/+7
| | | | * libc/include/sys/unistd.h [__BSD_VISIBLE]: Add issetugid() prototype.
* 2015-01-14 Joel Sherrill <joel.sherrill@oarcorp.com>Jeff Johnston2015-01-142-6/+11
| | | | * doc/makedoc.c: Use uintptr_t to avoid int/pointer size warnings
* *** empty log message ***Corinna Vinschen2015-01-141-0/+3
|
* * ntsec.xml (ntsec-mapping-nsswitch-passwd): Document /path %H wildcard.Corinna Vinschen2015-01-142-5/+25
| | | | | (ntsec-mapping-nsswitch-home): Disable text explaining how the home directory is fetched from the homeDrive attribute.
* * uinfo.cc (fetch_windows_home): Disable fetching from homeDrive orCorinna Vinschen2015-01-142-1/+14
| | | | usri3_home_dir_drive. Add comment.
* * cygwinenv.xml (cygwinenv-removed-options): Accommodate list ofCorinna Vinschen2015-01-142-15/+5
| | | | always uppercased Windows variables to latest change.
* * environ.cc (renv_arr): Drop variables not usually in a WindowsCorinna Vinschen2015-01-142-22/+14
| | | | | environment and all variables being uppercase anyway. But keep TMP and TEMP for paranoia.
* * environ.cc (build_env): When merging the user's Windows environment,Corinna Vinschen2015-01-142-3/+25
| | | | | explicitely skip the variables needing conversion to avoid collisions. Extend comment to explain.
* * or1k/include/or1k-sprs.h: New auto-generated header file.Corinna Vinschen2015-01-142-5/+2426
|
* * configure.host: Add extra system for OpenRISC baremetalCorinna Vinschen2015-01-1410-0/+6749
| | | | | | | | | | | | | * libc/include/sys/config.h: Dynamic reentrancy for or1k sys targets * libc/sys/or1k/: New system for or1k baremetal * libc/sys/or1k/Makefile.am: New file * libc/sys/or1k/Makefile.in: New file * libc/sys/or1k/aclocal.m4: New file * libc/sys/or1k/configure.in: New file * libc/sys/or1k/configure: New file * libc/sys/or1k/getreent.S: New file * libc/sys/or1k/mlock.S: New file * libc/sys/or1k/or1k-asm.S: New file
* * uinfo.cc (pwdgrp::fetch_account_from_windows): Drop code fromCorinna Vinschen2015-01-132-16/+15
| | | | | | 2014-11-17, always prepending domain to NT SERVICE accounts when searching by name. Fix test expression to allow fully qualified names for NT SERVICE accounts. Extend comment to explain a bit.
* copyright fixCorinna Vinschen2015-01-131-1/+1
|
* * minires-os-if.c (cygwin_query): Change questions into answers.Corinna Vinschen2015-01-122-0/+11
|
* * testsuite/newlib.wctype/tiswctype.c (main): Use wide character typeCorinna Vinschen2015-01-122-12/+17
| | | | function.
* * cygheap.h (cygheap_pwdgrp::get_shell): Add sid to argument list.Corinna Vinschen2015-01-083-42/+84
| | | | | | | | | | | | | | | (cygheap_pwdgrp::get_gecos): Ditto. * uinfo.cc (fetch_windows_home): Accept cyg_ldap and PUSER_INFO_3 arguments, and fetch db home dir values right here. (fetch_from_path): Accept cyg_ldap, PUSER_INFO_3 pointers and sid arguments. Add '%H' format specifier to fetch Windows home dir in POSIX notation. (cygheap_pwdgrp::get_home): Accommodate changes to fetch_windows_home and fetch_from_path. (cygheap_pwdgrp::get_shell): Ditto. (cygheap_pwdgrp::get_gecos): Ditto. (pwdgrp::fetch_account_from_windows): Accommodate sid argument to cygheap_pwdgrp::get_shell and cygheap_pwdgrp::get_gecos.
* *** empty log message ***Corinna Vinschen2015-01-081-0/+9
|
* * include/cygwin/socket.h (struct cmsghdr): Redefine cmsg_len as typeCorinna Vinschen2015-01-082-2/+10
| | | | size_t. Add comment to explain why.
* * libc/time/strftime.c (__strftime): Utilize __TM_GMTOFF and __TM_ZONECorinna Vinschen2015-01-082-6/+40
| | | | | | | on systems where available. On Cygwin, call function to get values. Add comment to explain why. Drop TZ_LOCK/TZ_UNLOCK in 'z' case since it's not necessary. In 'Z' case, add a comment to document a potential codeset problem.
* * localtime.cc (__cygwin_gettzoffset): New function for access fromCorinna Vinschen2015-01-082-0/+31
| | | | | newlib. (__cygwin_gettzname): Ditto.
* * testsuite/newlib.wctype/twctrans.c (main): Use towlower and towupper.Corinna Vinschen2015-01-082-4/+8
|
* * localtime.cc (tzload): Fix loading latest timezone offsets intoCorinna Vinschen2015-01-073-2747/+2769
| | | | | | tzinfo from zoneinfo files. Add comment to explain what we do. (tzparse): Add more comments to explain in case of loading timezone offset from other sources.
* * libc/machine/aarch64/strcpy.S (strcpy): Further performanceRichard Earnshaw2015-01-066-125/+259
| | | | | | | | improvements. Adjust to allow building as stpcpy. * libc/machine/aarch64/stpcpy.S: New file. * libc/machine/aarch64/stpcpy-stub.c: New file. * libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Build stpcpy. * libc/machine/aarch64/Makefile.in: Regenerated.
* 2015-01-05 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>Jeff Johnston2015-01-055-11/+19
| | | | | | | | * lm32/Makefile.in (install): Respect DESTDIR. (install-scripts): Ditto. * mep/Makefile.in (install): Ditto. * mt/Makefile.in (install): Ditto. * rl78/Makefile.in (install): Ditto.
* 2014-12-26 Freddie Chopin <freddie_chopin@op.pl>Jeff Johnston2015-01-052-20/+6
| | | | * libc/include/sys/features.h: update newlib version and copyright year
* The moxie sub.l instruction is now just sub.Anthony Green2014-12-272-2/+6
|
* 2014-12-18 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2014-12-18107-2132/+1940
| | | | | | | | | | | | | | * NEWS: Update with 2.2.0 info. * README: Ditto. * acinclude.m4: Change version number to 2.2.0. * libc/libc.texinfo: Ditto. * libm/libm.texinfo: Ditto. * configure: Regenerated. * Makefile.in: Regenerated. * doc/configure: Ditto. * libc/*/configure: Ditto. * libm/*/configure: Ditto. * libc/sys/linux/shared.ld: Add VERS_2.2
* * ntsec.xml (ntsec-logonuser): Fix spelling of pw_passwd field.Yaakov Selkowitz2014-12-182-1/+5
|
* * new-features.xml (ov-new1.7.34): Document Solaris stdio_ext.hYaakov Selkowitz2014-12-183-0/+48
| | | | | | | functions and BSD/GNU unlocked stdio extensions. * posix.xml (std-bsd): Add BSD unlocked stdio extensions. (std-gnu): Add GNU unlocked stdio extensions. (std-solaris): Add stdio_ext.h functions.
* * common.din (__fbufsize, __flbf, __fpending, __freadable, __freading,Yaakov Selkowitz2014-12-184-1/+56
| | | | | | | | | | __fsetlocking, __fwritable, __fwriting, clearerr_unlocked, feof_unlocked, ferror_unlocked, fflush_unlocked, fgetc_unlocked, fgets_unlocked, fgetwc_unlocked, fgetws_unlocked, fileno_unlocked, fputc_unlocked, fputs_unlocked, fputwc_unlocked, fputws_unlocked, fread_unlocked, fwrite_unlocked, getwc_unlocked, getwchar_unlocked, putwc_unlocked, putwchar_unlocked): Export. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* Implement BSD/GNU unlocked stdio extensions.Yaakov Selkowitz2014-12-1842-77/+1865
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/include/stdio.h (clearerr_unlocked, feof_unlocked, ferror_unlocked, fflush_unlocked, fgetc_unlocked, fgets_unlocked, fileno_unlocked, fputc_unlocked, fputs_unlocked, fread_unlocked, fwrite_unlocked): Declare. * libc/include/wchar.h (fgetwc_unlocked, fgetws_unlocked, fputwc_unlocked, fputws_unlocked, getwc_unlocked, getwchar_unlocked, putwc_unlocked, putwchar_unlocked): Declare. * libc/stdio/Makefile.am (ELIX_4_SOURCES): Add clearerr_u.c, feof_u.c, ferror_u.c, fflush_u.c, fgetc_u.c, fgets_u.c, fgetwc_u.c, fgetws_u.c, fileno_u.c, fputc_u.c, fputs_u.c, fputwc_u.c, fputws_u.c, fread_u.c, fwrite_u.c, getwc_u.c, getwchar_u.c, putwc_u.c, putwchar_u.c. Add necessary dependencies. * libc/stdio/Makefile.in: Regenerate. * libc/stdio/clearerr.c: Document unlocked variant. * libc/stdio/clearerr_u.c: New file. * libc/stdio/feof.c: Document unlocked variant. * libc/stdio/feof_u.c: New file. * libc/stdio/ferror.c: Document unlocked variant. * libc/stdio/ferror_u.c: New file. * libc/stdio/fflush.c: Add __IMPL_UNLOCKED__ overrides. Document unlocked variants. * libc/stdio/fflush_u.c: New file. * libc/stdio/fgetc.c: Document unlocked variants. * libc/stdio/fgetc_u.c: New file. * libc/stdio/fgets.c: Add __IMPL_UNLOCKED__ overrides. Document unlocked variants. * libc/stdio/fgets_u.c: New file. * libc/stdio/fgetwc.c: Document unlocked variants. (__fgetwc): Make non-static. * libc/stdio/fgetwc_u.c: New file. * libc/stdio/fgetws.c: Add __IMPL_UNLOCKED__ overrides. Document unlocked variants. * libc/stdio/fgetws_u.c: New file. * libc/stdio/fileno.c: Document unlocked variant. * libc/stdio/fileno_u.c: New file. * libc/stdio/fputc.c: Document unlocked variants. * libc/stdio/fputc_u.c: New file. * libc/stdio/fputs.c: Add __IMPL_UNLOCKED__ overrides. Document unlocked variants. * libc/stdio/fputs_u.c: New file. * libc/stdio/fputwc.c: Document unlocked variants. (__fputwc): Make non-static. * libc/stdio/fputwc_u.c: New file. * libc/stdio/fputws.c: Add __IMPL_UNLOCKED__ overrides. Document unlocked variants. * libc/stdio/fputws_u.c: New file. * libc/stdio/fread.c: Add __IMPL_UNLOCKED__ overrides. Document unlocked variants. * libc/stdio/fread_u.c: New file. * libc/stdio/fwrite.c: Add __IMPL_UNLOCKED__ overrides. Document unlocked variants. * libc/stdio/fwrite_u.c: New file. * libc/stdio/getwc_u.c: New file. * libc/stdio/getwchar.c: Document unlocked variants. * libc/stdio/getwchar_u.c: New file. * libc/stdio/local.h: Define locking macros as empty ifdef __IMPL_UNLOCKED__. (__fgetwc, __fputwc): Declare. * libc/stdio/putwc_u.c: New file. * libc/stdio/putwchar.c: Document unlocked variants. * libc/stdio/putwchar_u.c: New file.
* * stdio.tex: Add menu entries for __fsetlocking and stdio_ext.Corinna Vinschen2014-12-183-1/+8
| | | | * stdio_ext.c: Add "stdio_ext" to synopsis.
* 2014-12-16 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2014-12-163-238/+139
| | | | | * config.sub: Merge from binutils. * config.guess: Ditto.
* * libc/stdlib/nano-mallocr.c (ALIGN_TO): Do not assume thatDJ Delorie2014-12-162-1/+6
| | | | integers are as big as pointers.
* * libc/machine/aarch64/strcpy.S: Improve handling of short strings.Richard Earnshaw2014-12-162-135/+211
|
* * libc/include/stdlib.h (__itoa): Declare prototype.Corinna Vinschen2014-12-166-22/+203
| | | | | | | | | | (__utoa): Ditto. (itoa): Ditto, non-strict-ANSI only. (utoa): Ditto. * libc/stdlib/Makefile.am: Add itoa.c and utoa.c. * libc/stdlib/Makefile.in: Regenerate. * libc/stdlib/itoa.c: New file. * libc/stdlib/utoa.c: New file.
* * path.cc (find_fast_cwd): Point to problem reporting web site ratherCorinna Vinschen2014-12-162-2/+7
| | | | than to mailing list.
* * path.cc (warn_msdos): Slightly reformat.Corinna Vinschen2014-12-162-9/+21
| | | | | (find_fast_cwd): Change warning message to urge an update before reporting the problem.
* 2014-12-15 Jonathan Roelofs <jonathan@codesourcery.com>Jeff Johnston2014-12-159-4/+288
| | | | | | | | | | | | * libc/include/math.h: Add log2l,logbl,nexttowardf, * nexttoward,nexttowardl * libm/common/Makefile.am: Reference new files * libm/common/Makefile.in: Reference new files * libm/common/log2l.c: New File * libm/common/logbl.c: Likewise * libm/common/nexttowardf.c: Likewise * libm/common/nexttoward.c: Likewise * libm/common/nexttowardl.c: Likewise
* *** empty log message ***Corinna Vinschen2014-12-151-0/+3
|
* * new-features.xml (ov-new1.7.34): Add setfacl -k option.Corinna Vinschen2014-12-153-1/+16
| | | | * utils.xml (setfacl): Ditto.
* * setfacl.c (action_t): Add DeleteDef value.Corinna Vinschen2014-12-152-7/+37
| | | | | | | | | | (delacl): Take new parameter to differe between DeleteAll and DeleteDef. Extend conditional to handle DefaultDef. Change comment accordingly. (setfacl): Call delacl in DefaultDef case as well. (usage): Add and describe -k option. Add -k to require options. (longopts): Add --remove-default option. (opts): Add -k option. (main): Handle -k option.
* 2014-12-15 Stefan Wallentowitz <stefan.wallentowitz@tum.de>Jeff Johnston2014-12-1516-1/+808
| | | | | | | | | | | | | | | | | | * or1k/Makefile.in: Build and install board libraries * or1k/board.h: New file * or1k/boards/README: New file * or1k/boards/atlys.S: New file * or1k/boards/de0_nano.S: New file * or1k/boards/ml501.S: New file * or1k/boards/ml509.S: New file * or1k/boards/optimsoc.S: New file * or1k/boards/or1ksim-uart.S: New file * or1k/boards/or1ksim.S: New file * or1k/boards/ordb1a3pe1500.S: New file * or1k/boards/ordb2a.S: New file * or1k/boards/orpsocrefdesign.S: New file * or1k/boards/tmpl.S: New file * or1k/boards/tmpl.c: New file
* 2014-12-15 Stefan Wallentowitz <stefan.wallentowitz@tum.de>Jeff Johnston2014-12-1521-1/+2583
| | | | | | | | | | | | | | | | | | | | | | | * or1k/Makefile.in: Add libor1k * or1k/README: New file * or1k/caches-asm.S: New file * or1k/exceptions-asm.S: New file * or1k/exceptions.c: New file * or1k/impure.c: New file * or1k/include/or1k-nop.h: New file * or1k/include/or1k-support.h: New file * or1k/interrupts-asm.S: New file * or1k/interrupts.c: New file * or1k/mmu-asm.S: New file * or1k/or1k-internals.h: New file * or1k/or1k_uart.c: New file * or1k/or1k_uart.h: New file * or1k/outbyte.S: New file * or1k/sbrk.c: New file * or1k/sync-asm.S: New file * or1k/syscalls.c: New file * or1k/timer.c: New file * or1k/util.c: New file
* 2014-12-15 Stefan Wallentowitz <stefan.wallentowitz@tum.de>Jeff Johnston2014-12-1510-1/+5187
| | | | | | | | | | | | * README: Add details about or1k. * configure.in: Add or1k/or1knd * configure: Regenerated. * or1k/aclocal.m4: New file. * or1k/configure: Ditto. * or1k/Makefile.in: New file * or1k/configure.in: New file * or1k/crt0.S: New file * or1k/include/or1k-asm.h: New file