summaryrefslogtreecommitdiffstats
path: root/newlib/libc
Commit message (Collapse)AuthorAgeFilesLines
* * libc/include/sys/unistd.h: Add setregid and setreuid declarationsCorinna Vinschen2003-01-241-0/+4
| | | | for Cygwin.
* 2003-01-21 Anita Kulkarni <anitak@kpit.com>Jeff Johnston2003-01-211-1/+1
| | | | * libc/time/difftime.c : Typecast the result to double.
* * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.Christopher Faylor2003-01-201-1/+2
|
* Define __IEEE_BIG_ENDIAN, __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.Nick Clifton2003-01-181-0/+6
|
* 2003-01-16 Joel Sherrill <joel@OARcorp.com>Jeff Johnston2003-01-165-45/+42
| | | | | | | | | | | * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h: Update to be in sync with what constants are defined in each file in the shared versions in libc/include. * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to autoconf can link programs. * libc/include/machine/types.h: Explicitly specify signed on intXX_t types to ensure they are signed.
* * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU extensions.Christopher Faylor2003-01-151-2/+5
|
* 2003-01-07 Charles Wilson <cwilson@ece.gatech.edu>Jeff Johnston2003-01-072-10/+10
| | | | | * libc/stdio/sprintf.c: fix typo * libc/stdio/vfprintf.c: fix typo
* 2003-01-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-01-072-12/+28
| | | | | | | * configure.host: Support long double I/O for x86-linux. * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer large enough to hold formatted result. * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
* 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>Jeff Johnston2003-01-072-2/+4
| | | | | * Makefile.am: Add vasprintf. * Makefile.in: Regenerated.
* 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>Jeff Johnston2003-01-061-1/+1
| | | | | * asprintf.c (_asprintf_r): insure both declarations are the same.
* * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather thanChristopher Faylor2002-12-281-0/+4
| | | | defining getopt directly.
* 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-12-21116-115/+119
| | | | | | | | | | | | | | | | | * NEWS: Update with 1.11.0 info. * README: Ditto. * acinclude.m4: Change version number to 1.11.0. * aclocal.m4: Regenerated. * configure: Ditto. * doc/aclocal.m4: Ditto. * doc/configure: Ditto. * libc/*/aclocal.m4: Ditto. * libc/*/configure: Ditto. * libc/libc.texinfo: Ditto. * libm/*/aclocal.m4: Ditto. * libm/*/configure: Ditto. * libm/libm.texinfo: Ditto. * libc/sys/linux/shared.ld: Add VERS_1.11.
* 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-12-2023-23/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/machine/i386/f_atan2.S: Change copyright from Cygnus Solutions to Red Hat Inc. * libc/machine/i386/f_atan2f.S: Ditto. * libc/machine/i386/f_exp.c: Ditto. * libc/machine/i386/f_expf.c: Ditto. * libc/machine/i386/f_frexp.S: Ditto. * libc/machine/i386/f_frexpf.S: Ditto. * libc/machine/i386/f_ldexp.S: Ditto. * libc/machine/i386/f_ldexpf.S: Ditto. * libc/machine/i386/f_log.S: Ditto. * libc/machine/i386/f_log10.S: Ditto. * libc/machine/i386/f_log10f.S: Ditto. * libc/machine/i386/f_logf.S: Ditto. * libc/machine/i386/f_pow.c: Ditto. * libc/machine/i386/f_powf.c: Ditto. * libc/machine/i386/f_tan.S: Ditto. * libc/machine/i386/f_tanf.S: Ditto. * libc/machine/i386/memchr.S: Ditto. * libc/machine/i386/memcmp.S: Ditto. * libc/machine/i386/memcpy.S: Ditto. * libc/machine/i386/memmove.S: Ditto. * libc/machine/i386/memset.S: Ditto. * libc/machine/i386/strchr.S: Ditto. * libc/machine/i386/strlen.S: Ditto. * libm/machine/i386/f_atan2.S: Ditto. * libm/machine/i386/f_atan2f.S: Ditto. * libm/machine/i386/f_exp.c: Ditto. * libm/machine/i386/f_expf.c: Ditto. * libm/machine/i386/f_frexp.S: Ditto. * libm/machine/i386/f_frexpf.S: Ditto. * libm/machine/i386/f_ldexp.S: Ditto. * libm/machine/i386/f_ldexpf.S: Ditto. * libm/machine/i386/f_log.S: Ditto. * libm/machine/i386/f_log10.S: Ditto. * libm/machine/i386/f_log10f.S: Ditto. * libm/machine/i386/f_logf.S: Ditto. * libm/machine/i386/f_pow.c: Ditto. * libm/machine/i386/f_powf.c: Ditto. * libm/machine/i386/f_tan.S: Ditto. * libm/machine/i386/f_tanf.S: Ditto.
* 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-12-202-26/+53
| | | | | | * libc/stdlib/environ.c: Update license to Red Hat. * libc/machine/hppa/setjmp.S: Ditto. * libm/test/Makefile.in: Ditto.
* 2002-12-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-12-20122-8273/+0
| | | | | * configure.host: Remove references to go32. * libc/sys/go32/*: Removed.
* 2002-12-16 Kazu Hirata <kazu@cs.umass.edu>Jeff Johnston2002-12-161-2/+11
| | | | | | | * libc/include/sys/config.h: Change setting of INT_MAX and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__, __H8300S__. Also consolidate flag settings for these platforms.
* 2002-12-10 Joel Sherrill <joel@OARcorp.com>Jeff Johnston2002-12-101-2/+2
| | | | | * libc/include/machine/setjmp.h: Make sure _JBLEN is defined for i386-rtems targets.
* 2002-12-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-12-064-10/+14
| | | | | | | | | | | | | | * libc/include/stdlib.h (strtof): New prototype (from C99). (strtodf): Changed from prototype to macro which redefines to strtof. * libc/stdlib/atof.c: Change documentation to refer to strtof instead of strtodf. * libc/stdlib/atoff.c (atoff): Change to call strtof instead of strtodf. * libc/stdlib/strtod.c (strtodf): Renamed to strtof. (strtof): New function. * libm/test/convert.c (test_strtodf): Renamed to test_strtof which calls strtof.
* * libc/string/memset.c (memset): Fix comment.Christopher Faylor2002-11-271-4/+2
|
* * libc/string/memset.c (memset): Move initialization of 'd' earlier inChristopher Faylor2002-11-261-1/+1
| | | | function.
* * libc/string/memset.c (memset): Minor optimization: Use new 'd' variable,Christopher Faylor2002-11-251-1/+1
| | | | introduced below, everywhere.
* * libc/string/memset.c (memset): Make it safe even ifKazu Hirata2002-11-251-4/+6
| | | | sizeof (int) = 2.
* 2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>Jeff Johnston2002-11-221-1/+1
| | | | | * libc/sys/h8300hms/read.c: Add support for normal mode architecture.
* 2002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>Jeff Johnston2002-11-201-21/+12
| | | | | | * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common code for __H8300H__ and __H8300S__. Also return 32-bit return code when -mint32 is used.
* Fix bugs in previous deltaNick Clifton2002-11-181-8/+6
|
* Add NULL to end of argv array.Nick Clifton2002-11-181-0/+7
|
* * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.Christopher Faylor2002-11-135-0/+10
| | | | | | | | * libc/stdlib/mlock.c: Ditto. * libc/stdlib/msize.c: Ditto. * libc/stdlib/msize.c: Ditto. * libc/stdlib/mtrim.c: Ditto. * libc/stdlib/valloc.c: Ditto.
* 2002-11-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-11-121-1/+1
| | | | | * libc/stdlib/ldtoa.c (e64toe): When checking the exponent for inf/nan, make sure that the check ignores the sign bit.
* 2002-11-07 Joel Sherrill <joel@OARcorp.com>Jeff Johnston2002-11-076-0/+472
| | | | | | | | | | | | | | * libc/sys/rtems/machine: New directory. * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h, libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h, libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib targets more BSD like when installed without requiring files to be overwritten at install point when RTEMS itself is installed. * Makefile.am: Pick up system dependent machine .h files such as might be found on a BSD-ish system. * Makefile.in: Regenerate. * libc/include/machine/types.h: When on an RTEMS target, define a few BSD flavor types.
* * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.Christopher Faylor2002-11-071-1/+3
|
* 2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>Jeff Johnston2002-11-072-12/+4
| | | | | * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C". * libc/include/wctype.h: Ditto.
* 2002-11-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-11-042-0/+16
| | | | | * libc/include/wchar.h: Add extern "C" specifier if C++. * libc/include/wctype.h: Ditto.
* 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-10-182-0/+294
| | | | | * libc/sys/linux/machine/i386/include/endian.h: New file. * libc/sys/linux/machine/i386/include/param.h: Ditto.
* * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.Richard Sandiford2002-10-112-10/+4
| | | | | * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
* 2002-10-07 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-10-081-0/+6
| | | | | * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link dummy programs.
* 2002-10-07 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-10-081-0/+2
| | | | * libc/include/pthread.h: Define PTHREAD_CANCELED.
* 2002-10-07 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-10-083-14/+39
| | | | | | * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s, libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this compile with current GNU tools.
* 2002-10-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-10-074-4/+20
| | | | | | | | | | | | | * Makefile.am: Add EXTRA_DIRS to allow future dependencies on the build library. * configure.in: Ditto. * Makefile.in: Regenerated. * configure: Ditto. * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS for specifying configured libraries/directories. * libc/sys/linux/configure.in: Ditto. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/configure: Ditto.
* 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-10-031-5/+5
| | | | * libc/include/reent.h: Update documentation at start of file.
* The v850 does not have a ctbp register.Jim Wilson2002-09-271-10/+0
| | | | | | Add myself to write-after-approval section of MAINTAINERS file. * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing the ctbp register.
* 2002-09-27 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-09-272-260/+283
| | | | | | | | | * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h. Also convert to EUCJP before using arrays. For values not in the conversion arrays, return WEOF. * libc/ctype/jp2uc.h: Change from one array to a number of arrays to account for the fact that the originating table is not contiguous for the input values since some are invalid.
* 2002-09-24 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-09-241-4/+5
| | | | * libc/time/ctime.c: Fix prototype documentation.
* * libc/include/sys/errno.h: Add EOVERFLOW.Corinna Vinschen2002-09-241-0/+1
|
* 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-09-201-0/+43
| | | | * libc/include/wctype.h: New file.
* 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-09-2030-21/+10909
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/ctype/Makefile.am: Add new files. * libc/ctype/Makefile.in: Regenerated. * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype, and wctrans functions to documentation index. * libc/ctype/iswalnum.c: New file. * libc/ctype/iswalpha.c: Ditto. * libc/ctype/iswblank.c: Ditto. * libc/ctype/iswcntrl.c: Ditto. * libc/ctype/iswctype.c: Ditto. * libc/ctype/iswdigit.c: Ditto. * libc/ctype/iswgraph.c: Ditto. * libc/ctype/iswlower.c: Ditto. * libc/ctype/iswprint.c: Ditto. * libc/ctype/iswpunct.c: Ditto. * libc/ctype/iswspace.c: Ditto. * libc/ctype/iswupper.c: Ditto. * libc/ctype/iswxdigit.c: Ditto. * libc/ctype/jp2uc.c: Ditto. * libc/ctype/jp2uc.h: Ditto. * libc/ctype/local.h: Ditto. * libc/ctype/towctrans.c: Ditto. * libc/ctype/towlower.c: Ditto. * libc/ctype/towupper.c: Ditto. * libc/ctype/utf8alpha.h: Ditto. * libc/ctype/utf8print.h: Ditto. * libc/ctype/utf8punct.h: Ditto. * libc/ctype/wctrans.c: Ditto. * libc/ctype/wctype.c: Ditto. * libc/locale/locale.c (__lc_ctype): New external array to replace static lc_ctype array. * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype rather than reentrancy structure's _current_locale field. * libc/stdlib/wctomb_r.c: Ditto.
* 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-09-203-7/+3
| | | | | | | * configure.host: Minor comment and formatting changes. * libc/Makefile.am: Add libc_la_DEPENDENCIES. * libc/Makefile.in: Regenerated. * libc/include/sys/config.h: Minor format change.
* 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-09-191-1/+1
| | | | | * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor statement comment.
* 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-09-198-13/+96
| | | | | | | | | | | | | | | * libc/posix/opendir.c (opendir): Change code to check for HAVE_FCNTL before calling fcntl. * libc/search/hash.c (hash_open): Ditto. * libc/search/hash_page.c (open_tmp): Ditto. * libc/reent/Makefile.am: Add fcntlr.c. * libc/reent/Makefile.in: Regenerated. * libc/reent/fcntlr.c: New file. * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r instead of _fcntl when HAVE_FCNTL flag is set. * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag to see if _fcntl or _fcntl_r should be called. If flag is not set, default to ENOSYS stub.
* 2002-09-16 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-09-163-17/+3
| | | | | | | | | * libc/include/wchar.h (mbstate_t): Change protective flag to be _MBSTATE_T. * libc/include/sys/_types.h (_mbstate_t): Remove protective flag. [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF for Cygwin. * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
* 2002-09-11 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-09-11118-2025/+7401
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * acinclude.m4 (enable-newlib-mb): Change check to default newlib_mb variable to empty string rather than "no". * configure.host: Remove hard-coding of -DMB_CAPABLE for x86-linux and Cygwin. Add code to check for newlib_mb being unset in which case set to "yes" for x86-linux and Cygwin. Change check for newlib_mb being "yes" to allow for an empty string. * configure.in (_MB_LEN_MAX): New AC_DEFINE. * newlib.hin (_MB_LEN_MAX): New define to configure. * aclocal.m4: Regenerated. * configure: Ditto. * libc/include/limits.h: New file. * libc/sys/linux/include/limits.h: Ditto. * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure libc/machine/aclocal.m4 libc/machine/configure libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure libc/machine/arm/aclocal.m4 libc/machine/arm/configure libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure libc/machine/frv/aclocal.m4 libc/machine/frv/configure libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure libc/machine/i386/aclocal.m4 libc/machine/i386/configure libc/machine/i960/aclocal.m4 libc/machine/i960/configure libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure libc/machine/mips/aclocal.m4 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4 libc/machine/sh/configure libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure libc/machine/v850/aclocal.m4 libc/machine/v850/configure libc/machine/w65/aclocal.m4 libc/machine/w65/configure libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure libc/machine/xstormy16/aclocal.m4 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure libc/sys/aclocal.m4 libc/sys/configure libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4 libc/sys/arc/configure libc/sys/arm/aclocal.m4 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure libc/sys/go32/aclocal.m4 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4 libc/sys/idt/configure libc/sys/linux/aclocal.m4 libc/sys/linux/configure libc/sys/linux/machine/aclocal.m4 libc/sys/linux/machine/configure libc/sys/linux/machine/i386/aclocal.m4 libc/sys/linux/machine/i386/configure libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure libc/sys/netware/aclocal.m4 libc/sys/netware/configure libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure libc/sys/sh/aclocal.m4 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure libc/sys/w65/aclocal.m4 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure libm/aclocal.m4 libm/configure: Regenerated.