summaryrefslogtreecommitdiffstats
path: root/newlib
Commit message (Collapse)AuthorAgeFilesLines
* 2003-09-29 Ian Lance Taylor <ian@wasabisystems.com>Jeff Johnston2003-09-294-100/+95
| | | | | | * libm/configure.in: Check libm_machine_dir, not machine_dir. * libm/configure: Regenerate. * libm/Makefile.in: Ditto.
* * libc/machine/sh/strncpy.S: New file.Joern Rennecke2003-09-294-5/+229
| | | | | * libc/machine/sh/Makefile.am: Add entry & rule for new file. * libc/machine/sh/Makefile.in: Regenerate.
* * MAINTAINERS: Update my e-mail address.Jim Wilson2003-09-112-1/+5
|
* * libc/include/sys/unistd.h: Declare function daemon for Cygwin.Corinna Vinschen2003-09-102-10/+17
|
* 2003-09-09 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-09-096-7/+19
| | | | | | | | | | | | | * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck prototype. * libc/machine/powerpc/simdldtoa.c: Remove prototype for _simdldcheck(). Also add unsigned cast for index variable in for loop using sizeof operators. * libc/machine/powerpc/strtoufix32.c: Remove unused variable. * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck. * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto plus fix shift calculation for determining if there is a carry from word2.
* * libc/include/grp.h: Don't define setgrfile, group_from_gid andCorinna Vinschen2003-09-092-0/+11
| | | | setgroupent for Cygwin.
* 2003-09-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-09-052-2/+8
| | | | | | * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p is different for _REENT_SMALL than when using regular reent struct.
* * libc/ctype/wctype.c (_DEFUN): Remove empty default case, asBen Elliston2003-09-052-1/+3
| | | | modern versions of GCC issue a warning.
* Fix mail address in most recent commit.Ben Elliston2003-09-051-1/+1
|
* * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespaceBen Elliston2003-09-052-2/+8
| | | | | after continuation characters that induces a warning from modern versions of GCC.
* * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||Ben Elliston2003-09-052-2/+7
| | | | FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
* 2003-09-02 Thomas Pfaff <tpfaff@gmx.net>Jeff Johnston2003-09-024-13/+19
| | | | | | * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout. * libc/stdlib/exit.c : Ditto. * libc/stdlib/on_exit.c: Ditto.
* 2003-08-27 Corinna Vinschen <corinna@vinschen.de>Jeff Johnston2003-08-272-0/+10
| | | | | * libc/include/reent.h: Define stat64 as __stat64 when compiling newlib for Cygwin.
* 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-08-262-0/+7
| | | | | * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as __stat64 when compiling newlib.
* 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-08-265-6/+16
| | | | | | | | | | * libc/include/stdio.h: Allow the io64 function prototypes for Cygwin when compiling newlib. * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64 to expose the Cygwin struct __stat64 type. * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64 pointer. * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
* * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r definition toChristopher Faylor2003-08-232-1/+6
| | | | fseeko64.
* 2003-08-22 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-08-2247-225/+522
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/include/sys/reent.h: Add _GLOBAL_REENT macro. * libc/stdio: Globally remove/replace all references to fp->_data. Replace with _REENT or _GLOBAL_REENT where appropriate. * libc/stdio/asprintf.c: Ditto. * libc/stdio/fclose.c: Ditto. * libc/stdio/fvwrite.c: Ditto. * libc/stdio/makebuf.c: Ditto. * libc/stdio/refill.c: Ditto. * libc/stdio/local.h: Ditto. * libc/stdio/setvbuf.c: Ditto. * libc/stdio/sscanf.c: Ditto. * libc/stdio/stdio.c: Ditto. * libc/stdio/ungetc.c: Ditto. * libc/stdio/vfscanf.c: Ditto. * libc/stdio/vsscanf.c: Ditto. * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r. * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly. * libc/stdio/vsnprintf.c: Ditto. * libc/stdio/vsprintf.c: Ditto. * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro instead of _REENT to walk file list. * libc/stdio/fflush.c: Ditto. * libc/stdio/fgetpos.c: Add reentrant version and have regular version call reentrant version with _REENT argument. * libc/stdio/fsetpos.c: Ditto. * libc/stdio/fseek.c: Ditto. * libc/stdio/fseeko.c: Ditto. * libc/stdio/ftell.c: Ditto. * libc/stdio/ftello.c: Ditto. * libc/stdio/freopen.c: Ditto. * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding new files to chain. Also use _GLOBAL_REENT pointer for cleaning up. * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code. * libc/stdio/siprintf.c: Ditto. * libc/stdio/iprintf.c: Ditto. * libc/stdio/fprintf.c: Ditto. * libc/stdio/printf.c: Ditto. * libc/stdio/snprintf.c: Call _vfprintf_r directly. * libc/stdio/sprintf.c: Ditto. * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check. * libc/stdio/rewind.c: Call _fseek_r directly. * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly. * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use data pointer. (get_arg): Add extra struct _reent pointer argument. * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference to fp->_data. * libc/stdio64/fopen64.c: Ditto. * libc/stdio64/freopen64.c: Ditto. * libc/stdio64/fsetpos64.c: Ditto. * libc/stdio64/ftello64.c: Ditto. * libc/stdio64/local64.h: Ditto. * libc/stdio64/stdio64.c: Ditto. * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of _fstat64_r for the meantime.
* 2003-08-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-08-192-2/+12
| | | | | * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance overflow detection.
* 2003-08-13 Aldy Hernandez <aldyh@redhat.com>Jeff Johnston2003-08-132-0/+11
| | | | | * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in extern "C".
* 2003-08-13 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-08-132-0/+7
| | | | | * libc/include/math.h: Add prototypes for __signbitf and __signbitd.
* 2003-07-31 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-07-319-16/+28
| | | | | | | | | | | | * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the correct type of conversion when dealing with EUCJP or SJIS. * libc/ctype/iswblank.c: Ditto. * libc/ctype/iswcntrl.c: Ditto. * libc/ctype/iswprint.c: Ditto. * libc/ctype/iswpunct.c: Ditto. * libc/ctype/iswspace.c: Ditto. * libc/ctype/towlower.c: Ditto. * libc/ctype/towupper.c: Ditto.
* Allocate 4 slots on stack before calling main, in case it saves its argumentNick Clifton2003-07-313-8/+13
| | | | | | | registers. Remove reference to deleted v850ea port. Do not use -mv850 when building for v850e target. This prevents the ctbp system register from being initialised.
* 2003-07-29 Honda Hiroki <hhonda@ipflex.com>Jeff Johnston2003-07-292-1/+8
| | | | | * libc/stdio/vfprintf.c: Set output size to 1 when we have %f format with precision 0 and # flag not specified.
* * libc/machine/mn10300/setjmp.S: Never emit both .am33 andAlexandre Oliva2003-07-292-2/+8
| | | | .am33_2.
* * libc/stdio64/fdopen64.c: Include sys/lock.h.Christopher Faylor2003-07-252-0/+5
|
* * configure.host: Find cygwin include directory, when appropriate.Christopher Faylor2003-07-251-0/+4
|
* * libc/stdio64/fdopen64.c: New file.Christopher Faylor2003-07-256-3/+137
| | | | | | | * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o * libc/stdio64/Makefile.in: Regenerate. * libc/include/stdio.h (fdopen64): Define. * libc/include/stdio.h (_fdopen64_r): Ditto.
* 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>Alexandre Oliva2003-07-103-0/+50
| | | | | | * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26. * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and restore callee-saved FP registers.
* * libc/include/sys/unistd.h (ftruncate, truncate): Also declareJoern Rennecke2003-07-107-9/+43
| | | | | | | | | | for __sh__. * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and truncate.c. * libc/sys/sh/Makefile.in: Regenerate. * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define. * libc/sys/sh/ftruncate.c: New file. * libc/sys/sh/truncate.c: Likewise.
* * libc/include/math.h (nan, nanf): Update prototype to C99.Alexandre Oliva2003-07-095-11/+19
| | | | | | * libm/common/s_nan.c (nan): Likewise. * libm/common/s_nanf.c (nanf, nan): Likewise. * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
* 2003-07-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-07-072-22/+4
| | | | * libc/include/stdbool.h: Removed as this is defined by gcc.
* 2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>Jeff Johnston2003-07-032-0/+26
| | | | * libc/include/stdbool.h: New header file defined by C99.
* 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-07-022-1/+5
| | | | * libc/include/sys/types.h (int8_t): Make signed.
* 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-07-022-0/+6
| | | | * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
* 2003-06-27 Jose Goncalves <jose.goncalves@inov.pt>Jeff Johnston2003-06-272-1/+8
| | | | | * libc/sys/linux/mq_open.c (mq_open): Only set created flag on if we actually created the shared memory file exclusively.
* 2003-06-27 Joe Vornehm <joev@mitre.org>Jeff Johnston2003-06-272-4/+9
| | | | | * libm/common/s_fpclassify.c (__fpclassifyf): Fix comparisons to account for unsigned internal value w.
* 2003-06-26 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-06-272-1/+10
| | | | | * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and wrbuf for a non-creating open.
* 2003-06-24 Kazu Hirata <kazu@cs.umass.edu>Jeff Johnston2003-06-248-99/+36
| | | | | | | | | | * libc/machine/h8300/setarch.h: New. * libc/machine/h8300/memcpy.S: Use it. * libc/machine/h8300/memset.S: Likewise. * libc/machine/h8300/reg_memcpy.S: Likewise. * libc/machine/h8300/reg_memset.S: Likewise. * libc/machine/h8300/setjmp.S: Likewise. * libc/machine/h8300/strcmp.S: Likewise.
* * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in callRichard Sandiford2003-06-242-2/+7
| | | | to atexit().
* 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-06-212-3/+7
| | | | * configure.host (iq2000): Add tabs.
* 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-06-2013-18/+48
| | | | | | | | | | | | | | | | | | | | | | * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros to handle latest on_exit change. * libc/sys/linux/Makefile.am: Remove special compilation for malloc.c and mcheck.c. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/mntent.c: Add definition of _LIBC flag after including <features.h>. * libc/sys/linux/mcheck.c: Ditto. * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE for <features.h>. * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and add -DNOT_IN_libc to C flags. * libc/sys/linux/intl/Makefile.in: Regenerated. * libc/sys/linux/intl/config.h: Add definition of _LIBC. * libc/sys/linux/linuxthreads/semaphore.h: Include <bits/pthreadtypes.h>. * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after including <features.h>. * libc/sys/linux/sys/lock.h: Ditto.
* Fix typoNick Clifton2003-06-112-1/+6
|
* Commit iq2000 portAnthony Green2003-06-1010-0/+2650
|
* * libc/sys/h8300hms/setarch.h: New file.Richard Sandiford2003-06-1010-53/+32
| | | | | | | * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S, libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S, libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S, libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
* 2003-06-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-06-0643-103/+211
| | | | | | | | | | | | | | | | | | | | | | | | | | * libc/argz/argz_add.c: Change to use _DEFUN macro for function definition. * libc/argz/argz_add_sep.c: Ditto. * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto. * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto. * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto. * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto. * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto. * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto. * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto. * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto. * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto. * libc/posix/closedir.c libc/posix/creat.c: Ditto. * libc/posix/execl.c libc/posix/execle.c: Ditto. * libc/posix/execlp.c libc/posix/execve.c: Ditto. * libc/posix/isatty.c libc/posix/opendir.c: Ditto. * libc/posix/popen.c libc/posix/readdir.c: Ditto. * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto. * libc/posix/scandir.c libc/posix/seekdir.c: Ditto. * libc/posix/telldir.c libc/search/hcreate.c: Ditto. * libc/search/tdelete.c libc/search/tdestroy.c: Ditto. * libc/search/tfind.c libc/search/tsearch.c: Ditto. * libc/search/twalk.c libc/signal/signal.c: Ditto.
* New structure containing fields used by the on_exit() function.Nick Clifton2003-06-066-27/+84
| | | | | (struct _atexit): Include struct _on_exit_args. For _REENT_SMALL do his via a pointer that is initialised when needed.
* 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-06-043-4/+7
| | | | | * libc/sys/linux/net/Makefile.am: Remove extraneous markers. * libc/sys/linux/net/Makefile.in: Regenerated.
* 2003-06-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-06-0335-126/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/reent/execr.c: Use _DEFUN macro for function declaration. * libc/reent/fcntlr.c: Ditto. * libc/reent/fstat64r.c: Ditto. * libc/reent/linkr.c: Ditto. * libc/reent/lseek64r.c: Ditto. * libc/reent/lseekr.c: Ditto. * libc/reent/openr.c: Ditto. * libc/reent/readr.c: Ditto. * libc/reent/reent.c: Ditto. * libc/reent/sbrkr.c: Ditto. * libc/reent/signalr.c: Ditto. * libc/reent/signgam.c: Ditto. * libc/reent/statr.c: Ditto. * libc/reent/timer.c: Ditto. * libc/reent/unlinkr.c: Ditto. * libc/reent/writer.c: Ditto. * libc/syscalls/sysclose.c: Ditto. * libc/syscalls/sysexecve.c: Ditto. * libc/syscalls/sysfcntl.c: Ditto. * libc/syscalls/sysfork.c: Ditto. * libc/syscalls/sysfstat.c: Ditto. * libc/syscalls/sysgetpid.c: Ditto. * libc/syscalls/sysgettod.c: Ditto. * libc/syscalls/syskill.c: Ditto. * libc/syscalls/syslink.c: Ditto. * libc/syscalls/syslseek.c: Ditto. * libc/syscalls/sysopen.c: Ditto. * libc/syscalls/sysread.c: Ditto. * libc/syscalls/syssbrk.c: Ditto. * libc/syscalls/sysstat.c: Ditto. * libc/syscalls/systimes.c: Ditto. * libc/syscalls/sysunlink.c: Ditto. * libc/syscalls/syswait.c: Ditto.
* 2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>Jeff Johnston2003-06-032-1/+8
| | | | | | * libc/time/tzset_r.c: Change local variables that are set via sscanf using the %h format specifier to be unsigned short instead of int.
* 2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>Jeff Johnston2003-05-305-12/+20
| | | | | | | | * configure.host: Allow i[34567]86 variant. * configure.in: Likewise. * README: Likewise to the docs. * configure: Regenerated. * Makefile.in: Ditto.