Corinna Vinschen
204ba7e238
* cygwinenv.xml (cygwinenv-removed-options): Accommodate list of
...
always uppercased Windows variables to latest change.
2015-01-14 11:00:47 +00:00
Corinna Vinschen
d63eac1033
* environ.cc (renv_arr): Drop variables not usually in a Windows
...
environment and all variables being uppercase anyway. But keep
TMP and TEMP for paranoia.
2015-01-14 10:40:03 +00:00
Corinna Vinschen
63716e7d42
* environ.cc (build_env): When merging the user's Windows environment,
...
explicitely skip the variables needing conversion to avoid collisions.
Extend comment to explain.
2015-01-14 10:31:14 +00:00
Corinna Vinschen
f91272b8c2
* or1k/include/or1k-sprs.h: New auto-generated header file.
2015-01-14 09:56:02 +00:00
Corinna Vinschen
29193dd04c
* configure.host: Add extra system for OpenRISC baremetal
...
* 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
2015-01-14 09:25:16 +00:00
Corinna Vinschen
f5a9dd02c4
* uinfo.cc (pwdgrp::fetch_account_from_windows): Drop code from
...
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.
2015-01-13 09:06:53 +00:00
Corinna Vinschen
84f425add1
copyright fix
2015-01-13 08:52:26 +00:00
Corinna Vinschen
7d0b0134ee
* minires-os-if.c (cygwin_query): Change questions into answers.
2015-01-12 16:38:02 +00:00
Corinna Vinschen
8ddeb7008e
* testsuite/newlib.wctype/tiswctype.c (main): Use wide character type
...
function.
2015-01-12 10:50:26 +00:00
Corinna Vinschen
fae48dd783
* cygheap.h (cygheap_pwdgrp::get_shell): Add sid to argument list.
...
(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.
2015-01-08 17:08:47 +00:00
Corinna Vinschen
4a3f4e039c
*** empty log message ***
2015-01-08 13:39:53 +00:00
Corinna Vinschen
46eb312f13
* include/cygwin/socket.h (struct cmsghdr): Redefine cmsg_len as type
...
size_t. Add comment to explain why.
2015-01-08 13:12:50 +00:00
Corinna Vinschen
808fde520f
* libc/time/strftime.c (__strftime): Utilize __TM_GMTOFF and __TM_ZONE
...
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.
2015-01-08 09:51:34 +00:00
Corinna Vinschen
fc55214612
* localtime.cc (__cygwin_gettzoffset): New function for access from
...
newlib.
(__cygwin_gettzname): Ditto.
2015-01-08 09:37:16 +00:00
Corinna Vinschen
ee65ca81d7
* testsuite/newlib.wctype/twctrans.c (main): Use towlower and towupper.
2015-01-08 09:35:14 +00:00
Corinna Vinschen
80d9bfa9a8
* localtime.cc (tzload): Fix loading latest timezone offsets into
...
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.
2015-01-07 21:27:22 +00:00
Richard Earnshaw
6a35dbf342
* libc/machine/aarch64/strcpy.S (strcpy): Further performance
...
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-06 09:57:55 +00:00
Jeff Johnston
ba913653a6
2015-01-05 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
...
* lm32/Makefile.in (install): Respect DESTDIR.
(install-scripts): Ditto.
* mep/Makefile.in (install): Ditto.
* mt/Makefile.in (install): Ditto.
* rl78/Makefile.in (install): Ditto.
2015-01-05 17:36:34 +00:00
Jeff Johnston
f0e3a51e9f
2014-12-26 Freddie Chopin <freddie_chopin@op.pl>
...
* libc/include/sys/features.h: update newlib version and copyright year
2015-01-05 17:31:28 +00:00
Anthony Green
47c98af2ba
The moxie sub.l instruction is now just sub.
2014-12-27 12:18:56 +00:00
Jeff Johnston
0615b4bb5f
2014-12-18 Jeff Johnston <jjohnstn@redhat.com>
...
* 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
2014-12-18 20:30:11 +00:00
Yaakov Selkowitz
f94bbabd89
* ntsec.xml (ntsec-logonuser): Fix spelling of pw_passwd field.
2014-12-18 17:30:56 +00:00
Yaakov Selkowitz
b2149cb666
* new-features.xml (ov-new1.7.34): Document Solaris stdio_ext.h
...
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.
2014-12-18 16:55:27 +00:00
Yaakov Selkowitz
65d785561d
* common.din (__fbufsize, __flbf, __fpending, __freadable, __freading,
...
__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.
2014-12-18 16:54:11 +00:00
Yaakov Selkowitz
968738f9b1
Implement BSD/GNU unlocked stdio extensions.
...
* 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.
2014-12-18 14:55:21 +00:00
Corinna Vinschen
2a06c6dcc4
* stdio.tex: Add menu entries for __fsetlocking and stdio_ext.
...
* stdio_ext.c: Add "stdio_ext" to synopsis.
2014-12-18 10:08:09 +00:00
Jeff Johnston
706827dd10
2014-12-16 Jeff Johnston <jjohnstn@redhat.com>
...
* config.sub: Merge from binutils.
* config.guess: Ditto.
2014-12-16 20:47:40 +00:00
DJ Delorie
ae4a2bd820
* libc/stdlib/nano-mallocr.c (ALIGN_TO): Do not assume that
...
integers are as big as pointers.
2014-12-16 20:46:25 +00:00
Richard Earnshaw
52edca9f86
* libc/machine/aarch64/strcpy.S: Improve handling of short strings.
2014-12-16 15:48:58 +00:00
Corinna Vinschen
32c96ddd14
* libc/include/stdlib.h (__itoa): Declare prototype.
...
(__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.
2014-12-16 10:55:17 +00:00
Corinna Vinschen
21f22726c7
* path.cc (find_fast_cwd): Point to problem reporting web site rather
...
than to mailing list.
2014-12-16 09:24:40 +00:00
Corinna Vinschen
0793492d8f
* path.cc (warn_msdos): Slightly reformat.
...
(find_fast_cwd): Change warning message to urge an update before
reporting the problem.
2014-12-16 09:16:03 +00:00
Jeff Johnston
705cda717e
2014-12-15 Jonathan Roelofs <jonathan@codesourcery.com>
...
* 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
2014-12-15 20:50:23 +00:00
Corinna Vinschen
f97bf8a679
*** empty log message ***
2014-12-15 20:30:27 +00:00
Corinna Vinschen
b3d0030d3c
* new-features.xml (ov-new1.7.34): Add setfacl -k option.
...
* utils.xml (setfacl): Ditto.
2014-12-15 20:30:15 +00:00
Corinna Vinschen
e7ead873a8
* setfacl.c (action_t): Add DeleteDef value.
...
(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 20:29:43 +00:00
Jeff Johnston
ab42ec30e6
2014-12-15 Stefan Wallentowitz <stefan.wallentowitz@tum.de>
...
* 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 20:22:28 +00:00
Jeff Johnston
68a9101237
2014-12-15 Stefan Wallentowitz <stefan.wallentowitz@tum.de>
...
* 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 20:17:39 +00:00
Jeff Johnston
d1219c0e89
2014-12-15 Stefan Wallentowitz <stefan.wallentowitz@tum.de>
...
* 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
2014-12-15 20:09:28 +00:00
Yaakov Selkowitz
6485fc66f2
* libc/include/stdio.h (__SNLK): Define.
...
* libc/include/stdio_ext.h (FSETLOCKING_QUERY, FSETLOCKING_INTERNAL,
FSETLOCKING_BYCALLER): Define.
(__fsetlocking): Declare.
* libc/stdio/Makefile.am: Build fsetlocking.c.
* libc/stdio/Makefile.in: Regenerate.
* libc/stdio/fsetlocking.c: New file.
* libc/stdio/local.h (_newlib_flockfile_start): Make _flockfile
call dependent on __SNLK flag.
(_newlib_flockfile_exit, _newlib_flockfile_end): Ditto for
_funlockfile calls.
Define all locking macros as empty if __SINGLE_THREAD__.
* libc/stdio/stdio.tex: Include fsetlocking.def.
2014-12-15 18:22:56 +00:00
Corinna Vinschen
f5ce72dffc
* newlib/libc/include/machine/setjmp.h: Add FPU support.
...
* newlib/libc/machine/nds32/setjmp.S: Add FPU support.
2014-12-15 13:32:17 +00:00
Corinna Vinschen
d4ef8a6368
* libgloss/nds32/_exit.S: Finish with an infinite loop in _exit.
...
* libgloss/nds32/_getpid.S: Don't issue _getpid system call, it is
always successful.
* libgloss/nds32/_gettimeofday.S: No error for _gettimeofday is defined
in SYS_geterr handler.
* libgloss/nds32/_isatty.S: No error for _isatty is defined in
SYS_geterr handler.
* libgloss/nds32/_kill.S: Alway fail. errno = EINVAL.
* libgloss/nds32/_link.S: Alway fail. errno = EMLINK.
* libgloss/nds32/_times.S: Alway fail. errno = EACCES.
* libgloss/nds32/_unlink.S: fix copy and paste error.
* libgloss/nds32/crt0.S: Add pre_c_init, post_c_init, arg_init.
* libgloss/nds32/crt1.S: Add pre_c_init, post_c_init, arg_init.
* libgloss/nds32/syscall_extra.h: Re-format.
* libgloss/nds32/vh.h: Add more virtual hosting number.
2014-12-15 13:30:07 +00:00
Corinna Vinschen
0cbcde7bdb
* configure.host: Add libm nds32 machine directory.
...
* libm/machine/configure: Regenerated.
* libm/machine/configure.in: Add nds32 AC_CONFIG.
* libm/machine/nds32/Makefile.am: New file.
* libm/machine/nds32/Makefile.in: Generated.
* libm/machine/nds32/aclocal.m4: Generated.
* libm/machine/nds32/configure: Generated.
* libm/machine/nds32/configure.in: New file.
* libm/machine/nds32/w_sqrt.S: New file.
* libm/machine/nds32/wf_sqrt.S: New file.
2014-12-15 13:27:38 +00:00
Corinna Vinschen
601c50292b
* libc/include/stdlib.h: Include sys/cdefs.h to avoid undefined
...
__ASMNAME.
2014-12-15 12:58:19 +00:00
DJ Delorie
b536197a75
merge from gcc
2014-12-15 06:56:39 +00:00
Jeff Johnston
f58bc5991f
2014-12-12 Stefan Wallentowitz <stefan.wallentowitz@tum.de>
...
* configure.host: or1knd support, OpenRISC without delay slot
* libc/include/machine/setjmp.h: Add or1knd
* libc/machine/or1k/setjmp.S: Optional delay slot
2014-12-12 21:14:06 +00:00
Jeff Johnston
31cf15b180
2014-12-12 Stefan Wallentowitz <stefan.wallentowitz@tum.de>
...
* libc/machine/or1k/setjmp.S: Remove save/restore of r3-r8
2014-12-12 20:17:26 +00:00
Corinna Vinschen
c6332722d9
* libc/include/stdio.h: Fix type signature of __sfeof and __sferror
...
(and thus feof and ferror) for C++.
2014-12-11 17:42:19 +00:00
Yaakov Selkowitz
6f34876e5e
* libc/include/stdio_ext.h: Rename __fwriteable to __fwritable.
...
[!__GNUC__]: Declare real functions for the macros, and make
the macros conditional on !__cplusplus.
* libc/stdio/Makefile.am (ELIX_4_SOURCES): Add stdio_ext.c.
(CHEWOUT_FILES): Add stdio_ext.def.
* libc/stdio/Makefile.in: Regenerate.
* libc/stdio/stdio.tex: Include stdio_ext.def.
* libc/stdio/stdio_ext.c: New file.
2014-12-11 16:53:32 +00:00
Anthony Green
070d1cee7d
Rebuilt moxie/configure
2014-12-11 11:54:44 +00:00