summaryrefslogtreecommitdiffstats
path: root/newlib/libc
Commit message (Collapse)AuthorAgeFilesLines
* 2003-03-17 Bob Cassels <bcassels@abinitio.com>Jeff Johnston2003-03-171-3/+2
| | | | | * libc/string/wcschr.c: (wcschr): Look for character first, then for end of string, so you can do wcschr(x, '\0').
* * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftelloCorinna Vinschen2003-03-1411-20/+33
| | | | | | | | | | | | | | | with internal (_fpos_t and _off_t) datatypes when compiling newlib. * libc/include/sys/unistd.h: Declare _lseek using _off_t. * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t. * libc/stdio/fseeko.c (fseeko): Ditto. * libc/stdio/ftello.c (ftello): Ditto. * libc/stdio/stdio.c (__swrite): Ditto. (__sseek): Ditto. * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t. * libc/stdio/fseek.c (fseek): Ditto. * libc/stdio/fsetpos.c (fsetpos): Ditto. * libc/stdio/ftell.c (ftell): Ditto. * libc/stdio/local.h: Declare __sseek using _off_t.
* * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.Corinna Vinschen2003-03-091-2/+2
|
* * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ forCorinna Vinschen2003-03-091-0/+1
| | | | Cygwin.
* * libc/include/pwd.h: Add guards to avoid type clashes when compilingCorinna Vinschen2003-03-094-2/+24
| | | | | | | Cygwin. * libc/include/sys/stat.h: Ditto. * libc/include/sys/unistd.h: Ditto. * libc/sys/cygwin/sys/dirent.h: Ditto.
* * libc/include/sys/unistd.h: Guard getopt.h call to force only declaration ofChristopher Faylor2003-03-082-11/+2
| | | | | getopt and avoid getopt_long declaration. * libc/sys/cygwin/include/unistd.h: Remove.
* * configure.host: Define stdio64_dir for Cygwin.Corinna Vinschen2003-03-074-7/+18
| | | | | | | | | * libc/include/stdio.h: Change definition of fpos_t to fulfill Cygwin 64bit file access requirements. Drop definition of f*64() functions when compiled for Cygwin. * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin. * libc/reent/lseek64r.c: Use _off64_t instead of off64_t. * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
* 2003-03-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-03-071-2/+0
| | | | | * libc/include/sys/reent.h: Remove extraneous _sig_func declaration.
* 2002-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>Jeff Johnston2003-02-2512-81/+159
| | | | | | | | | | | | | | | | * libc/sys/h8300hms/Makefile.am: Add support for new files. * libc/sys/h8300hms/Makefile.in: Regenerated. * libc/sys/h8300hms/close.S: New file. * libc/sys/h8300hms/fstat.S: Ditto. * libc/sys/h8300hms/lseek.S: Ditto. * libc/sys/h8300hms/open.S: Ditto. * libc/sys/h8300hms/stat.S: Ditto. * libc/sys/h8300hms/read.S: New file to replace read.c. * libc/sys/h8300hms/read.c: Removed. * libc/sys/h8300hms/syscalls.c: Removed functions _open, _lseek, _close, _stat, _fstat. * libc/sys/h8300hms/write.S: New file to replace write.c. * libc/sys/h8300hms/write.c: Removed.
* Add support for Cirrus Maverick ARM co-processorNick Clifton2003-02-201-1/+9
|
* 2003-02-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-02-191-2/+2
| | | | * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
* 2003-02-18 Christian Groessler <chris@groessler.org>Jeff Johnston2003-02-181-6/+39
| | | | | * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to support z8001 segmented mode.
* 2003-02-18 Earnie Boyd <earnie@users.sf.net>Jeff Johnston2003-02-181-2/+2
| | | | | * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer with a NULL value.
* * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin. Don't defineChristopher Faylor2003-02-101-5/+4
| | | | some types under cygwin.
* 2003-02-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-02-08116-2773/+4779
| | | | | | | | | | | | | | | | | | * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration option to allow disabling of syscalls being supplied in newlib. * aclocal.m4: Regenerated. * configure: Ditto. * configure.host: Add support of new configuration option and add -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled. * doc/aclocal.m4: Regenerated. * doc/configure: Ditto. * libc/*aclocal.m4: Ditto. * libc/*configure: Ditto. * libm/*aclocal.m4: Ditto. * libm/*configure: Ditto. * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option is disabled. * libc/sys/arm/Makefile.in: Regenerated.
* 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com>Jeff Johnston2003-02-054-0/+8
| | | | | | | | | * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to -1 to be sure it cannot later match a valid file fd causing isatty() to return 1. * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto. * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto. * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
* 2003-02-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-02-031-18/+30
| | | | | | * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format buffer based on the precision, after we have processed the input value in a local buffer and know its relative magnitude.
* 2003-01-31 Michael Snyder <msnyder@redhat.com>Jeff Johnston2003-01-311-2/+14
| | | | | | * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie into registers r1 and r2, so that the simulator can distinguish this trap from a breakpoint trap. Copied from libgloss.
* 2003-01-31 Michael Snyder <msnyder@redhat.com>Jeff Johnston2003-01-311-6/+6
| | | | | * libc/sys/h8300hms/crt0.S (_start): Change local label from .loop to .Loop, so that ld and gdb will ignore it.
* 2003-01-29 Jason Tishler <jason@tishler.net>Jeff Johnston2003-01-291-0/+10
| | | | * libc/include/time.h: Declare nanosleep() under Cygwin.
* Add sh2e supportNick Clifton2003-01-243-5/+5
|
* * 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.