summaryrefslogtreecommitdiffstats
path: root/newlib/libc
Commit message (Collapse)AuthorAgeFilesLines
* * libc/include/time.h: Add prototype for strptime for Cygwin.Christopher Faylor2002-01-181-0/+1
|
* Fix bug when len == 1 and dst was not word aligned.Nick Clifton2002-01-171-2/+11
|
* _sbrk(): Return -1 rather than aborting if too much memory is requested.Nick Clifton2002-01-171-2/+10
|
* 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-01-111-3/+1
| | | | | | * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that reads blanks from the input file to break if EOF reached rather than end processing.
* 2002-01-07 Alan Matsuoka <alanm@redhat.com>Jeff Johnston2002-01-072-0/+4
| | | | | | * libc/include/machine/ieeefp.h: Configure d10v doubles to be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits. libc/include/sys/config.h: Ditto.
* * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.Corinna Vinschen2001-12-281-0/+2
|
* In newlib/:Geoffrey Keating2001-12-229-0/+2418
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-12-22 Geoffrey Keating <geoffk@redhat.com> Catherine Moore <clm@redhat.com> Richard Henderson <rth@redhat.com> Corinna Vinschen <vinschen@redhat.com> * configure.host: Add support for xstormy16. * libc/include/machine/ieeefp.h: Add support for xstormy16. * libc/include/machine/setjmp.h: Add support for xstormy16. * libc/include/sys/config.h: Add support for xstormy16. * libc/machine/xstormy16/Makefile.am: New file. * libc/machine/xstormy16/Makefile.in: New file. * libc/machine/xstormy16/aclocal.m4: New file. * libc/machine/xstormy16/configure: New file. * libc/machine/xstormy16/configure.in: New file. * libc/machine/xstormy16/setjmp.S: New file. In libgloss/: 2001-12-22 Geoffrey Keating <geoffk@redhat.com> Mark Salter <msalter@redhat.com> Catherine Moore <clm@redhat.com> Richard Henderson <rth@redhat.com> * configure.in: Add xstormy16. * libnosys/configure.in: Add xstormy16. * configure: Regenerated. * libnosys/configure: Regenerated. * xstormy16/Makefile.in: New file. * xstormy16/close.c: New file. * xstormy16/configure: New file. * xstormy16/configure.in: New file. * xstormy16/crt0.s: New file. * xstormy16/crt0_stub.s: New file. * xstormy16/crti.s: New file. * xstormy16/crtn.s: New file. * xstormy16/eva_app.c: New file. * xstormy16/eva_app.ld: New file. * xstormy16/eva_stub.ld: New file. * xstormy16/fstat.c: New file. * xstormy16/getpid.c: New file. * xstormy16/kill.c: New file. * xstormy16/lseek.c: New file. * xstormy16/open.c: New file. * xstormy16/sbrk.c: New file. * xstormy16/sim_high.ld: New file. * xstormy16/stat.c: New file. * xstormy16/syscalls.S: New file. * xstormy16/syscalls.m4: New file. * xstormy16/unlink.c: New file. * xstormy16/xstormy16_stub.c: New file.
* 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>Thomas Fitzsimmons2001-12-193-18/+6
| | | | | | | | | | | | | * libc/machine/i386/f_*: Move to libm/machine/i386. 2001-12-18 Joel Sherrill <joel@OARcorp.com> * libm/machine/Makefile.am: Add dummy doc stub so "make info" works. 2001-12-17 Joel Sherrill <joel@OARcorp.com> * libc/include/sys/types.h (ino_t): RTEMS uses long also.
* * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equalThomas Fitzsimmons2001-12-184-8/+8
| | | | | | | | $(COMPILE) rather than $(CC). * libc/stdio/Makefile.am (LIB_COMPILE): Likewise. (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by $(LIB_COMPILE) change. (vfiprintf.$(oext)): Likewise.
* * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allowCorinna Vinschen2001-12-171-0/+2
| | | | conditionalized including of getopt stuff.
* (vfiprintf.$(oext)): Likewise.Thomas Fitzsimmons2001-12-142-2/+2
|
* * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) toThomas Fitzsimmons2001-12-142-2/+2
| | | | compile line.
* * Makefile.shared: New file.Thomas Fitzsimmons2001-12-13196-3480/+13864
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/sys/linux/shared.ld: New file. * libm/machine/*: New files. * libm/machine/i386/*: New files. * Makefile.am: Add libtool support. Change math and mathfp references to variables. * configure.host: Add variables for libtool support. Add libm_machine_dir variable. * configure.in: Add objectlist variables, for libtool support. Add CC_FOR_BUILD tests. * libc/Makefile.am: Add libtool support. Change crt0.o reference to be a variable reference. * libc/configure.in: Add libtool support. Change sublib names to be lib${subdir}.la when using libtool. * libc/ctype/Makefile.am: Add libtool support. * libc/errno/Makefile.am: Likewise. * libc/locale/Makefile.am: Likewise. * libc/machine/Makefile.am: Likewise. * libc/machine/configure.in: Likewise. * libc/machine/i386/Makefile.am: Likewise. * libc/machine/i386/configure.in: Likewise. * libc/misc/Makefile.am: Likewise. * libc/posix/Makefile.am: Likewise. * libc/reent/Makefile.am: Likewise. * libc/signal/Makefile.am: Likewise. * libc/stdio/Makefile.am: Likewise. * libc/stdlib/Makefile.am: Likewise. * libc/string/Makefile.am: Likewise. * libc/sys/Makefile.am: Likewise. * libc/sys/configure.in: Likewise. * libc/sys/linux/Makefile.am: Add libtool support. Change awk reference to a variable reference. Change signal.h reference to a variable reference. * libc/sys/linux/configure.in: Add libtool support. * libc/syscalls/Makefile.am: Likewise. * libc/time/Makefile.am: Likewise. * libc/unix/Makefile.am: Likewise. * libm/Makefile.am: Add libtool support. Change math and mathfp references to variables. * libm/configure.in: Add libtool support. Add LIBM_MACHINE_LIB variable. * libm/common/Makefile.am: Add libtool support. * libm/math/Makefile.am: Likewise. * libm/mathfp/Makefile.am: Likewise. Regenerate all Makefile.in, aclocal.m4, and configure.
* 2001-12-13 Anita Kulkarni <anitak@kpit.com>Jeff Johnston2001-12-131-1/+0
| | | | * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
* * libc/include/sys/unistd.h: Correct ualarm declaration.Christopher Faylor2001-12-061-1/+1
|
* For __USES_INITFINI__ preserve the argument vector before calling theNick Clifton2001-12-051-0/+4
| | | | initialisation functions.
* * libc/include/dirent.h: Protect against multiple inclusion.Christopher Faylor2001-11-301-0/+3
|
* * libc/include/sys/types.h: Define useconds_t.Christopher Faylor2001-11-282-0/+5
| | | | * libc/include/sys/ulimit.h: Declare ualarm.
* * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.Christopher Faylor2001-11-211-6/+7
|
* * libc/sys/mmixware/*: Tweak license header in all source files.Hans-Peter Nilsson2001-11-1829-87/+174
|
* * libc/include/alloca.h: Move libc/sys/linux/include/alloca.hCorinna Vinschen2001-11-143-13/+23
| | | | | | | to here. Rearrange for general inclusion by stdlib.h. * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__ isn't defined. * libc/sys/linux/include/alloca.h: Move to libc/include.
* Add __stack_base__Anthony Green2001-11-131-1/+2
|
* * libc/sys/mmixware/*: Correct spacing in all source files.Hans-Peter Nilsson2001-11-1330-226/+197
| | | | | * libc/sys/mmixware/syscall.h: Move misplaced file... * libc/sys/mmixware/sys/syscall.h: ...here.
* 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>Jeff Johnston2001-11-1237-0/+3436
| | | | | | | | | | | | | | | | | | | | | | | | * libc/include/machine/ieeefp.h: Add support for mmix target. * libc/include/machine/setjmp.h: Ditto. * configure.host: Ditto. * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c, libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4, libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c, libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in, libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c, libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c, libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c, libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c, libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c, libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c, libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c, libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S, libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h, libc/sys/mmixware/time.c, libc/sys/mmixware/times.c, libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c, libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files. * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in, libc/sys/mmixware/aclocal.m4: Generate.
* * libc/include/sys/unistd.h: Add prototypes for endusershell(),Corinna Vinschen2001-11-052-0/+16
| | | | | | | getusershell(), iruserok(), revoke(), ruserok() and setusershell() when __CYGWIN__ is defined. * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and logwtmp().
* 2001-10-24 Christopher Faylor <cgf@redhat.com>Jeff Johnston2001-10-241-0/+1
| | | | | | | * libc/stdio/fseek.c: Reset pointer to buffer base when forced to seek outside of current buffer contents. This prevents the code from erroneously thinking there is anything in the current buffer.
* * libc/include/math.h: The C++ standard adds the single-precisionGeoffrey Keating2001-10-231-0/+8
| | | | versions of the elementary functions.
* * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations throughout.Christopher Faylor2001-10-224-24/+3
| | | | | | * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__. * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__. * system.c (_system_r): Ditto.
* Add __rtems__ as system defining fchdir().Corinna Vinschen2001-10-171-1/+1
|
* * libc/include/sys/unistd.h: Add prototype for fchdir() whenCorinna Vinschen2001-10-171-0/+3
| | | | __CYGWIN__ is defined.
* 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>Jeff Johnston2001-10-019-22/+306
| | | | | | | | | | | | | | | | | | | * libc/include/stdlib.h: add declarations for _strtoull_r, _strtoll_r, strtoull, and strtoll. * libc/stdio/local.h: remove declarations of __strtoull_r and __strtoll_r. * libc/stdio/vfscanf.c(__svfscanf_r): call _strtoull_r instead of __strtoull_r. Ditto _strtoll_r vs. __strtoll_r. * libc/stdlib/Makefile.am: add new files to .c list and .def list * libc/stdlib/Makefile.in: regenerate * libc/stdlib/strtoll_r.c: rename __strtoll_r as _strtoll_r * libc/stdlib/strtoull_r.c: rename __strtoull_r as _strtoull_r * libc/stdlib/strtoull.c: new file * libc/stdlib/strtoll.c: new file
* oops omitted in previous deltaNick Clifton2001-09-181-14/+26
|
* * libc/include/process.h: Add getpid() declaration.Christopher Faylor2001-09-171-0/+1
|
* 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-09-136-3/+307
| | | | | | | | | | | | * libc/stdlib/Makefile.am: Add support to build strtoll_r.c and strtoull_r.c. * libc/stdlib/Makefile.in: Regenerated. * libc/stdlib/strtoll_r.c: New file. * libc/stdlib/strtoull_r.c: New file. * libc/stdio/local.h: Add prototypes for long long string conversion routines. * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support tied to %L integer conversion specifier.
* Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>Jeff Johnston2001-09-131-2/+3
| | | | | * strftime.c (strftime): Fix "%W" implementation to properly handle Mondays too.
* 2001-09-07 Jeff Law <law@redhat.com>Jeff Johnston2001-09-071-3/+3
| | | | | * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of __fini with "mov.l" instead of "mov.w".
* * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.hCorinna Vinschen2001-09-051-0/+9
| | | | and getopt.h.
* 2001-09-04 Jason Merrill <jason_merrill@redhat.com>Jeff Johnston2001-09-041-0/+18
| | | | * libc/sys/h8300hms/crt0.S: Support ELF initialization.
* * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version numberCorinna Vinschen2001-09-031-1/+4
| | | | | field. (__DIRENT_VERSION): New define.
* * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.Corinna Vinschen2001-09-031-1/+4
|
* 2001-08-29 Joel Sherrill <joel@OARcorp.com>Jeff Johnston2001-08-2917-3/+61
| | | | | | | | | | | | | | | | | * libc/include/sys/unistd.h: Prototype chroot() for RTEMS. 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S, libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c, libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S, libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S, libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S, libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S, libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c, libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S: Add conditional compilation to avoid HW FPU instructions when compiled for soft-float.
* 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-08-294-6/+23
| | | | | | | | | | | | | * libc/include/sys/reent.h: Add include of <sys/_types.h>. No longer include time.h. Add struct __tm to use for _localtime_buf in the reentrant structure. Add a _NULL definition to use in initializing the reentrant struct. * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in <sys/_types.h>. * libc/include/sys/unistd.h: Include <sys/_types.h>. * libc/time/lcltime.c (localtime): Cast the reentrant struct _localtime_buf to be struct tm *.
* * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.Joern Rennecke2001-08-292-0/+11
| | | | | | | * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors / __ctors_end. * libc/sys/h8300hms/syscalls.c: Include errno.h. (_unlink): New stub function.
* * libc/include/sys/errno.h: Add a cautionary comment.Christopher Faylor2001-08-261-0/+2
|
* 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-08-211-1/+1
| | | | | * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional for SIZE_SZ so that alignment ends up a minimum of 8.
* * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro arguments.Christopher Faylor2001-08-142-4/+12
| | | | * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under Cygwin.
* 2001-08-13 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-08-131-0/+14
| | | | | | * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New macro constants for mallopt options. (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
* 2001-08-02 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2001-08-021-1/+6
| | | | | * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided, otherwise default.
* 2001-07-12 Aldy Hernandez <aldyh@redhat.com>Aldy Hernandez2001-07-131-2/+0
| | | | * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
* Handle ARMs with big endian IEEE words but little endian IEEE bytesNick Clifton2001-06-282-3/+5
|