aboutsummaryrefslogtreecommitdiff
path: root/newlib
AgeCommit message (Collapse)AuthorFilesLines
2004-12-132004-12-13 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-9/+19
* libc/stdio/fread.c (fread): For unbuffered I/O, attempt a low-level read if we don't get the full amount of bytes so EOF or error flags will be set.
2004-12-092004-12-09 Alex Mogilnikov <alx@intellectronika.ru>Jeff Johnston2-1/+6
* libc/time/tzset_r (_tzset_r): Properly skip over '/' when it is detected.
2004-12-082004-12-08 Alex Mogilnikov <alx@intellectronika.ru>Jeff Johnston2-3/+10
* libc/time/tzset_r (_tzset_r): Fix loop.
2004-12-082004-12-08 Alex Mogilnikov <alx@intellectronika.ru>Jeff Johnston2-3/+11
* libc/time/mktm_r (_mktm_r): Fix overflow calculation for m_day. (__tzcalc_limits): Fix reference to month array to be zero-based.
2004-12-072004-12-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-6/+8
* libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate, and usleep.
2004-12-032004-12-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-4/+11
* Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any libgcc dependencies. (libm_la_LDFLAGS): Ditto. * Makefile.in: Regenerated.
2004-12-032004-12-03 Shaun Jackman <sjackman@gmail.com>Jeff Johnston3-6/+19
* libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix our link to use readlink so as to preserve any relative link created by install-toollibLIBRARIES. * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
2004-12-022004-12-02 Shaun Jackman <sjackman@gmail.com>Jeff Johnston3-2/+13
* libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines time_t before including sys/stat.h, which uses it. * libc/sys/linux/sys/stat.h: Include <sys/types.h> and <linux/time.h> just prior to definition of __KERNEL__ so as to allow building on Debian Linux where otherwise, mktime would be redefined.
2004-11-262004-11-26 Paul Brook <paul@codesourcery.com>Jeff Johnston2-0/+13
* libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
2004-11-242004-11-24 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston1-1/+1
* libc/include/stdlib.h (putenv, _putenv_r): Change to remove const for value string parameter to match Single Unix and glibc. * libc/stdlib/putenv.c: Ditto. * libc/stdlib/putenv_r.c: Ditto.
2004-11-242004-11-24 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston4-4/+11
* libc/include/stdlib.h (putenv, _putenv_r): Change to remove const for value string parameter. * libc/stdlib/putenv.c: Ditto. * libc/stdlib/putenv_r.c: Ditto.
2004-11-242004-11-24 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-2/+7
* libc/stdio/Makefile.am: Fix missing vfscanf. * libc/stdio/Makefile.in: Regenerated.
2004-11-242004-11-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston23-420/+1445
* libc/include/stdio.h: Add new iprintf and iscanf variants. Also do some reordering. * libc/machine/powerpc/vfscanf.c: Remove __sccl function. * libc/stdio/Makefile.am: Add support for new iprintf and iscanf family functions. * libc/stdio/Makefile.in: Regenerated. * libc/stdio/fiprintf.c: Remove doc to siprintf.c. * libc/stdio/iprintf.c: Ditto. * libc/stdio/local.h (__svfiscanf_r): New prototype. * libc/stdio/siprintf.c: Add docs for various iprintf family functions. * libc/stdio/sniprintf.c: Move docs to siprintf.c. * libc/stdio/stdio.tex: Add new functions. * libc/stdio/vfscanf.c: Split out __sccl function to separate file and add special name defines so this file can be used to build vfiscanf.o. * libc/stdio/asiprintf.c: New file. * libc/stdio/fiscanf.c: Ditto. * libc/stdio/iscanf.c: Ditto. * libc/stdio/sccl.c: Ditto. * libc/stdio/siscanf.c: Ditto. * libc/stdio/vasiprintf.c: Ditto. * libc/stdio/viprintf.c: Ditto. * libc/stdio/viscanf.c: Ditto. * libc/stdio/vsiprintf.c: Ditto. * libc/stdio/vsiscanf.c: Ditto. * libc/stdio/vsniprintf.c: Ditto.
2004-11-202004-11-19 Shaun Jackman <sjackman@gmail.com>Jeff Johnston6-11/+168
* libc/include/stdio.h: Add sniprintf. * libc/stdio/Makefile.am: Add sniprintf.c. * libc/stdio/Makefile.in: Regenerated. * libc/stdio/sniprintf.c: New file. * libc/stdio/stdio.tex: Add sniprintf.
2004-11-17* libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear EOFChristopher Faylor2-0/+13
flag if successful.
2004-10-28tweak wordingChristopher Faylor1-1/+1
2004-10-28* libc/include/sys/signal.h: Move <signal.h> include to bottom of file so thatChristopher Faylor2-7/+12
all relevant definitions have been handled for use in the include.
2004-10-262004-10-26 Jason Tishler <jason@tishler.net>Jeff Johnston2-10/+11
* libc/stdio/fread.c (fread): Fix return value for unbuffered fread.
2004-10-25Fix date typo.Jeff Johnston1-1/+1
2004-10-252001-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Jeff Johnston3-0/+17
* libc/include/machine/setjmp.h: Add AVR support. * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
2004-10-082004-10-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+13
* libc/include/sys/signal.h: If <signal.h> didn't include this header file, include <signal.h> to account for applications that take advantage that the two header files are the same in glibc.
2004-10-052004-10-05 Tomer Levi <Tomer.Levi@nsc.com>Jeff Johnston14-0/+3239
* configure.host: Add support for crx. * libc/include/machine/ieeefp.h: Ditto. * libc/include/machine/setjmp.h: Ditto. * libc/machine/crx/Makefile.am: New file. * libc/machine/crx/configure.in: Ditto. * libc/machine/crx/setjmp.S: Ditto. * libc/machine/crx/getenv.c: Ditto. * libc/machine/crx/aclocal.m4: Generate. * libc/machine/crx/configure: Ditto. * libc/machine/crx/Makefile.in: Ditto. * libc/machine/crx/sys/asm.h: New file. * libc/machine/crx/sys/libh.h: Ditto. * libc/machine/crx/sys/syscall.h: Ditto.
2004-10-052004-10-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-0/+26
* Makefile.am (stmp-targ-include): Support sys header files from machine directories. * Makefile.in: Regenerated.
2004-10-042004-10-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-2/+12
* libc/stdio/vfscanf.c (__svfscanf_r): For int conversions, count skipped zero characters as part of the nread count for %n. * libc/machine/powerpc/vfscanf.c: Ditto.
2004-09-242004-09-24 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+5
* libc/stdio/local.h: Include <stdlib.h>.
2004-09-24 * libc/stdio/fread.c (fread): Include <malloc.h>.Corinna Vinschen2-0/+5
2004-09-222004-09-22 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-18/+81
* libc/stdio/fread.c (fread): For non-space-optimized case, add special code for unbuffered files to use user buffer and only require one low-level system read.
2004-09-21 * libc/machine/xscale/setjmp.S: New file, copied fromIan Lance Taylor4-3/+149
libc/machine/arm/setjmp.S. * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S. * libc/machine/xscale/Makefile.in: Regenerate.
2004-09-162004-09-16 Antony King <antony.king@st.com>Jeff Johnston9-23/+52
* libc/include/sys/lock.h: Replaced empty {} with (0) to conform with locking API. * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add check for__SSTR in _flags and if set, skip lock request. (_funlockfile)[!SINGLE_THREAD]: Ditto. * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is not NULL. * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing initialisation of _file to -1 in local FILE. * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto. * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto. * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto. * libc/stdio/vsscanf.c (_vsscanf_r): Ditto. * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to _flags in local FILE to prevent locking. * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
2004-09-162004-09-16 Antony King <antony.king@st.com>Jeff Johnston3-16/+13
* libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT and only walk the reentrancy parameter. (_fwalk_reent): Ditto. * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
2004-09-162004-09-16 Antony King <antony.king@st.com>Jeff Johnston2-1/+6
* libc/stdio64/freopen64.c: Remove casting of fp lock to _LOCK_RECURSIVE_T.
2004-09-162004-09-16 Antony King <antony.king@st.com>Jeff Johnston2-7/+24
* libc/time/tzlock.c: Add default stubs that use generic locking code.
2004-09-162004-09-16 Antony King <antony.king@st.com>Jeff Johnston7-35/+88
* libc/ctype/ctype.tex: Added missing documentation. * libc/stdio/stdio.tex Ditto. * libc/stdlib/stdlib.tex Ditto. * libc/string/strings.tex Ditto. * libc/time/time.tex: Ditto. * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
2004-09-152004-09-15 Corinna Vinschen <vinschen@redhat.com>Jeff Johnston3-1/+11
* libc/reent/impure.c (reent_data): Define as alias to impure_data when building for Cygwin. * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to _global_impure_ptr.
2004-09-152004-09-15 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston20-3437/+29
* configure.host: Reverting 2004-09-14 change as fix has occurred on Cygwin side. * configure.in: Ditto. * libc/configure.in: Ditto. * libc/sys/configure.in: Ditto. * configure: Ditto. * libc/configure: Ditto. * libc/sys/configure: Ditto. * libc/include/sys/reent.h: Ditto. * libc/stdlib/__atexit.c: Ditto. * libc/stdlib/__call_atexit.c: Ditto. * libc/stdlib/cxa_atexit.c: Ditto. * libc/stdlib/cxa_finalize.c: Ditto. * libc/sys/cygwin/Makefile.am: Removed again. * libc/sys/cygwin/Makefile.in: Ditto. * libc/sys/cygwin/aclocal.m4: Ditto. * libc/sys/cygwin/configure: Ditto. * libc/sys/cygwin/configure.in: Ditto. * libc/sys/cygwin/dummy.c: Ditto. * libc/sys/cygwin/sys/reent.h: Ditto.
2004-09-142004-09-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston20-7/+3463
* configure.host: Add Cygwin sys directory. * configure.in: Do not set CRT0 for cygwin. * libc/configure.in: Ditto. * libc/sys/configure.in: Ditto. * configure: Regenerated. * libc/configure: Ditto. * libc/sys/configure: Ditto. * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag. * libc/stdlib/__atexit.c: Keep cxa support protected by new __REENT_HAS_CXA_SUPPORT flag. * libc/stdlib/__call_atexit.c: Ditto. * libc/stdlib/cxa_atexit.c: Ditto. * libc/stdlib/cxa_finalize.c: Ditto. * libc/sys/cygwin/Makefile.am: New file. * libc/sys/cygwin/Makefile.in: Ditto. * libc/sys/cygwin/aclocal.m4: Ditto. * libc/sys/cygwin/configure: Ditto. * libc/sys/cygwin/configure.in: Ditto. * libc/sys/cygwin/dummy.c: Ditto. * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized version of reent.h.
2004-09-132004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>Jeff Johnston5-145/+1055
* libc/iconv/iconv.tex: Updated with new content. * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH instead of NLS_DEFAULT_NLSPATH. * libc/iconv/lib/iconvnls.h: Fix typo. * libc/include/sys/iconvnls.h: New file.
2004-09-092004-09-09 Paul Brook <paul@codesourcery.com>Jeff Johnston13-160/+302
* libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle and _is_cxa. (struct _atexit): Add _next when _REENT_SMALL. (struct _reent): Add _atexit0 when _REENT_SMALL. (_REENT_INIT_PTR): Adjust. * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and __call_exit.c. (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c. * libc/stdlib/Makefile.in: Regenerate. * libc/stdlib/__atexit.c: New file. * libc/stdlib/__call_atexit.c: New file. * libc/stdlib/atexit.h: Remove old definitions. Add new. * libc/stdlib/atexit.c (atexit): Use __register_exitproc. * libc/stdlib/cxa_atexit.c: New file. * libc/stdlib/cxa_finalize.c: New file. * libc/stdlib/exit.c (exit): Use __call_exitprocs. * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc. 2004-09-09 Jeff Johnston <jjohnstn@redhat.com> * libc/reent/reent.c [_REENT_SMALL]: Fix reference to _on_exit_args_ptr.
2004-08-232004-08-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+6
* libc/include/sys/unistd.h (getpass): Change prototype to use const instead of __const.
2004-08-162004-08-16 Nathan Sidwell <nathan@codesourcery.com>Jeff Johnston2-5/+10
* libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT #if.
2004-08-122004-08-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-2/+13
* libc/sys/linux/sys/types.h (u64): New typedef to allow building on linux systems with glibc 2.3.3 installed. * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and profile_fixup so newlib can build on fc3 system.
2004-07-30Introduce SH2a support.Alexandre Oliva4-6/+22
2004-03-16 Corinna Vinschen <vinschen@redhat.com> * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for __SH2A_SINGLE_ONLY__, too. * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too. 2004-02-24 Corinna Vinschen <vinschen@redhat.com> * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments. 2004-02-10 DJ Delorie <dj@redhat.com> * libc/sys/sh/crt0.S (start_l): Support sh2a.
2004-07-292004-07-29 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+5
* libc/time/strptime.c: Correct full-name of "March" typo.
2004-07-162004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>Jeff Johnston2-0/+5
* configure.host (h8300*-*-*): Default long long printing support.
2004-07-162004-07-16 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+11
* libc/stdio/fvwrite.c (_sfvwrite): For asprintf family calls, if realloc fails, free up buffer as it is no longer used.
2004-07-072004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>Jeff Johnston3-49/+853
* libc/iconv/iconv.tex: Updated to represent recent changes. * libc/iconv/lib/iconv.c: Documentation updated.
2004-07-07Define PREFER_SIZE_OVER_SPEED for xStormy16 targetNick Clifton2-0/+6
2004-07-062004-07-06 Chris Demetriou <cgd@broadcom.com>Jeff Johnston2-0/+9
* configure.host (mips*-*-elf*): Default long long printing support.
2004-07-052004-07-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston5-0/+19
* libc/Makefile.am (libc.dvi): Add target and specify same dependencies as libc.info. * libc/Makefile.in: Regenerated. * libm/Makefile.am (libm.dvi): Add target and specify same dependencies as libm.info. * libm/Makefile.in: Regenerated.
2004-06-292004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>Jeff Johnston133-2499/+4252
* acinclude.m4: Move --enable-newlib-iconv option back here. * configure.in: Remove --enable-newlib-iconv option. Don't tie iconv support to --enable-newlib-mb. * aclocal.m4: Regenerated. * configure: Ditto. * doc/aclocal.m4, doc/configure: Ditto. * iconvdata/aclocal.m4, iconvdata/configure: Ditto. * libm/*/aclocal.m4: Ditto. * libm/*/configure: Ditto. * libc/*/aclocal.m4: Ditto. * libc/*/configure: Ditto.