Christopher Faylor
dbeee890d4
* libc/include/string.h: Revert previous change.
2005-08-26 04:33:02 +00:00
Christopher Faylor
377d3ea0e2
* libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
2005-08-25 23:02:24 +00:00
Jeff Johnston
4797a77c28
2005-08-22 Shaun Jackman <sjackman@gmail.com>
...
* libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
define _opendir as opendir, _readdir as readdir, and
_closedir as closedir so that the implementations in
libc/posix will be used.
2005-08-22 21:13:35 +00:00
DJ Delorie
2e73582e29
* MAINTAINERS (CPU Ports): Add CPU port maintainer section.
2005-08-10 21:16:14 +00:00
Jeff Johnston
234cf97f85
2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
...
* libm/common/sf_fmax.c: Fix to properly handle NaNs.
* libm/common/s_max.c: Ditto.
* libm/common/sf_fmin.c: Ditto.
* libm/common/s_min.c: Ditto.
2005-08-10 21:02:28 +00:00
Jeff Johnston
56448afa06
2005-08-10 DJ Delorie <dj@redhat.com>
...
* configure.host: Add m32c support.
* libc/include/machine/ieeefp.h: Likewise.
* libc/include/machine/setjmp.h: Likewise.
* libc/include/sys/config.h: Likewise.
* libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
* libc/machine/m32c/aclocal.m4: New file.
* libc/machine/m32c/configure: Ditto.
* libc/machine/m32c/configure.in: Ditto.
* libc/machine/m32c/Makefile.am: Ditto.
* libc/machine/m32c/Makefile.in: Ditto.
* libc/machine/m32c/setjmp.S: Ditto.
2005-08-10 20:35:13 +00:00
Jeff Johnston
0c5c6c234f
2005-08-02 Bob Wilson <bob.wilson@acm.org>
...
* libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
to the value for 2^126.
2005-08-02 19:44:44 +00:00
Hans-Peter Nilsson
12499c7a5d
* libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
...
used.
2005-07-26 20:37:13 +00:00
Jeff Johnston
395a327d17
2005-07-20 Bob Wilson <bob.wilson@acm.org>
...
Darin Petkov <darin@tensilica.com>
* libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
2005-07-20 16:20:24 +00:00
Jeff Johnston
108d7dd833
2005-07-19 Paul Brook <paul@codesourcery.com>
...
* libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
2005-07-19 15:14:16 +00:00
Jeff Johnston
b776efc599
2005-07-18 Joseph S. Myers <joseph@codesourcery.com>
...
* testsuite/lib/checkoutput.exp (newlib_check_output): Use test
names after PASS and FAIL which do not depend on source directory
name or on whether test passed or failed.
* testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
2005-07-18 19:07:49 +00:00
Jeff Johnston
88540e248e
2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
...
* libc/string/wcsspn.c (wcsspn): Add missing increment of q.
2005-07-08 18:28:46 +00:00
Jeff Johnston
85d621900c
Fix date of last entry.
2005-07-07 17:29:35 +00:00
Jeff Johnston
b32adfc5cf
*** empty log message ***
2005-07-07 17:29:13 +00:00
Aldy Hernandez
dee9edd9ed
* configure.host: Added entry for ms1*.
...
* libc/include/machine/ieeefp.h: Handle ms1.
* libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
* libc/machine/ms1/aclocal.m4: New.
* libc/machine/ms1/configure: New.
* libc/machine/ms1/configure.in: New.
* libc/machine/ms1/Makefile.am: New.
* libc/machine/ms1/Makefile.in: New.
* libc/machine/ms1/setjmp.S: New.
2005-07-06 13:14:10 +00:00
Jeff Johnston
cec1d3b414
2005-07-04 Mark Mitchell <mark@codesourcery.com>
...
* Makefile.am (site.exp): Set tmpdir.
* Makefile.in: Regenerated.
* testsuite/lib/checkoutput.exp (newlib_check_output): Put
executables in $tmpdir.
* testsuite/lib/flags.exp (libgloss_link_flags): Use the original
libgloss version if not running in the build directory.
* testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
$tmpdir.
* testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
in $tmpdir.
2005-07-05 00:11:50 +00:00
Jeff Johnston
25d209f13d
2005-06-28 Dave Korn <dave.korn@artimi.com>
...
* libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
and miscalculation caused by fp representation of zero.
* libm/common/sf_lrint.c (lrintf): Likewise.
2005-06-28 17:03:18 +00:00
Jeff Johnston
68cdbb18da
2005-06-16 Christopher Faylor <cgf@timesys.com>
...
* libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
determine characteristics of long double. Use a union instead.
* ldtoa.c (_ldtoa_r): Ditto.
(_ldcheck): Ditto.
(_strtold): Ditto.
(union uconv): New union.
2005-06-16 19:14:01 +00:00
Jeff Johnston
15c04fd16e
2005-06-03 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
instead of memcpy.
2005-06-03 18:57:30 +00:00
Jeff Johnston
cf55bf5ee8
2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
...
* configure.host (mn10300-*): Add long long I/O support by default.
2005-05-12 22:10:26 +00:00
Jeff Johnston
b6e654c498
2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/sys/linux/getpwuid.c: Removed.
* libc/sys/linux/getpwnam.c: Removed.
* libc/sys/linux/getpwent.c: New file containing logic
from files removed above. This allows overriding of file
in libc/unix.
* libc/sys/linux/Makefile.am: Support changes above.
* libc/sys/linux/Makefile.in: Regenerated.
2005-05-12 22:06:26 +00:00
Jeff Johnston
5456408b84
2005-04-28 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
when checking for multiple flags.
2005-04-28 18:26:08 +00:00
Hans-Peter Nilsson
1c74754f17
* configure.host <cris-*-* | crisv32-*-*>: Set
...
default_newlib_io_long_long="yes".
2005-04-18 02:52:21 +00:00
Jeff Johnston
6e75bff67d
2005-04-08 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/libgen.h: New file.
2005-04-08 Shaun Jackman <sjackman@gmail.com>
* libc/unix/Makefile.am: Add support for basename and dirname.
* libc/unix/Makefile.in: Regenerated.
* libc/unix/basename.c: New file.
* libc/unix/dirname.c: New file.
2005-04-08 20:48:40 +00:00
Jeff Johnston
95c136c40a
2005-04-07 Shaun Jackman <sjackman@gmail.com>
...
* libc/sys/linux/inode.c (lchown): New function.
2005-04-07 23:40:42 +00:00
Jeff Johnston
9ae26f7e2e
2005-04-07 Shaun Jackman <sjackman@gmail.com>
...
* libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
ELIX level is defined.
* libc/unix/Makefile.in: Regenerated.
2005-04-07 23:37:06 +00:00
Jeff Johnston
85da703991
2005-04-05 Dave Korn <dave.korn@artimi.com>
...
* libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
something that looks like a "NaN", put back the characters processed.
2005-04-05 18:38:09 +00:00
Corinna Vinschen
fefc73a0c7
* libc/stdlib/strtod.c (_strtod_r): Never change s00.
2005-04-01 09:54:19 +00:00
Jeff Johnston
fcfb011798
Fix whitespace with crx entry.
2005-03-23 18:09:57 +00:00
Christopher Faylor
e633fde1ba
* configure.host: For cygwin, redefine CC with cygwin include directory first
...
to mimic the behavior of the top-level configury. Move include directory out
of newlib_cflags.
2005-03-23 17:09:29 +00:00
Jeff Johnston
859c94e8de
2005-03-22 Jeff Johnston <jjohnstn@redhat.com>
...
* configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
* libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
than errno.
2005-03-22 23:45:43 +00:00
Christopher Faylor
7e3fd32b1c
* libc/include/machine/_types.h: Make trivial change to comment to avoid a
...
spurious warning from gcc.
2005-03-22 18:12:29 +00:00
Jeff Johnston
d4eb892018
2005-03-21 Nicholas Wourms <nwourms@netscape.net>
...
* libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
reent.h include.
2005-03-21 22:34:35 +00:00
Jeff Johnston
45030958d3
2005-03-18 Hans-Peter Nilsson <hp@axis.com>
...
Corinna Vinschen <corinna@vinschen.de>
* libc/include/ctype.h: Remove invalid +1 offset from
ctype macro references to __ctype_ptr.
(_ctype_): Move declaration outside #ifndef __cplusplus.
2005-03-18 17:18:59 +00:00
Corinna Vinschen
5c9b5ac72d
* libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
...
evaluate first parameter only once.
(siglongjmp): Ditto.
2005-03-18 09:46:30 +00:00
Jeff Johnston
dd801fdabd
2005-03-17 Jeff Johnston <jjohnstn@redhat.com>
...
* configure.in: Add new check to see if compiler supports
aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
* configure: Regenerated.
* Makefile.in: Ditto.
* newlib.hin: Add _HAVE_ARRAY_ALIASING.
* libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
aliasing the _ctype_ array to _ctype_b.
* libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
_ctype_ as deprecated.
2005-03-17 20:11:23 +00:00
Hans-Peter Nilsson
333eabc6f8
* configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
...
-DCOMPACT_CTYPE.
2005-03-17 02:31:57 +00:00
Jeff Johnston
df5a5b3592
2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
...
* libc/sys/rtems/include/inttypes.h: New file.
* libc/sys/rtems/include/stdint.h: Ditto.
2005-03-06 20:51:38 +00:00
Jeff Johnston
9d385fb06d
2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
...
* libc/string/memcmp.c: Fix to avoid pointer signedness warning.
2005-03-06 20:40:05 +00:00
Jeff Johnston
2e7d9bf906
2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
...
* libc/include/machine/_types.h: New file.
* libc/include/sys/types.h: Do not check for __rtems__
when including <machine/_types.h>. Remove some redundant
declarations now that <machine/_types.h> is included.
* libc/sys/rtems/machine/_types.h: Removed. Replaced with
shared header file.
2005-03-06 20:32:16 +00:00
Jeff Johnston
92a7e06eb8
2005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
...
* libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
L qualifier for these long constants.
2005-02-25 22:38:46 +00:00
Jeff Johnston
1139537a25
2005-02-25 Eric Blake <ebb9@byu.net>
...
* libc/include/time.h (__tzrule_struct): Make offset long, since
a 16-bit int overflows on a 12-hour offset.
* libc/sys/linux/include/time.h: Ditto.
* libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
* libc/time/mktm_r.c: Ditto.
* libc/time/gettzinfo.c: Ditto.
* libc/time/strftime.c (strftime): Fix '%x' to deal with negative
years. Fix '%z' to use long, not int.
2005-02-25 22:31:21 +00:00
Jeff Johnston
2598f908ca
Add (int) cast.
2005-02-24 19:02:35 +00:00
Jeff Johnston
f4fd7b4c72
2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
...
* libm/common/s_fpclassify.c: Use __uint32_t instead of int to
manipulate float values in integer form.
* libm/common/sf_round.c: Ditto.
2005-02-24 18:50:06 +00:00
Jeff Johnston
f2f8a9a229
2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
...
* libc/include/sys/types.h [__rtems__]: Include new
header file machine/_types.h.
* libc/include/machine/types.h: Ditto.
* libc/sys/rtems/machine/_types.h: New file.
2005-02-24 18:29:31 +00:00
Joshua Daniel Franklin
45df57e8d8
Fix minor typo
2005-02-24 06:14:44 +00:00
Corinna Vinschen
39fd43d7fa
* libc/include/time.h (_timezone): Change to long also for Cygwin.
...
(timezone): Drop cast from definition.
2005-02-23 22:20:55 +00:00
Jeff Johnston
6b9a74f9e6
2005-02-23 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/time.h [!CYGWIN](_timezone): Change to long.
(__tzrule_type, __tzinfo_type): New types.
(__gettzinfo): New function.
* libc/sys/linux/include/time.h: Ditto.
* libc/time/Makefile.am: Add gettzinfo.c.
* libc/time/Makefile.in: Regenerated.
* libc/time/local.h: Moved __tzrule_type to time.h.
* libc/time/mktime.c: Call __gettzinfo to reference
__tznorth, __tzyear, and __tzrule array.
* libc/time/mktm_r.c: Ditto.
* libc/time/strftime.c: Ditto.
* libc/time/tzset_r.c: Ditto. Also remove definition
of __tzrule which is now in gettzinfo.c. Change _timezone
references to not cast to time_t.
* libc/time/gettzinfo.c: New file.
2005-02-23 19:08:58 +00:00
Corinna Vinschen
6015cf9fc3
* libc/include/sys/unistd.h: Define getpeereid for Cygwin.
2005-02-23 17:42:07 +00:00
Corinna Vinschen
5e4c05da0b
* libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
2005-02-22 15:31:51 +00:00
Jeff Johnston
f1d439fc64
2005-02-16 Eric Blake <ebb9@byu.net>
...
* libc/time/time.tex: Improve the documentation.
* libc/time/strftime.c: Improve the documentation.
(iso_year_adjust): New helper function.
(strftime): Simplify '%E' and '%O'. Change '%c' to use
recursion. Fix '%C', '%y', and '%Y' to deal with years with more
than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
'%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
Avoid core dumps on valid inputs (maxsize == 0, or
tim_p->tm_isdst > 1).
2005-02-16 21:15:37 +00:00
Corinna Vinschen
18d3a03bd4
* libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
...
members to uid_t and gid_t according to SUSv3.
* libc/include/sys/time.h (utimes): Change second parameter
to const according to SUSv3.
2005-02-08 20:55:18 +00:00
Jeff Johnston
1159e0fd94
2005-02-07 Antony King <antony.king@st.com>
...
* libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
called before _flockfile to prevent lock object use before
initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
take a struct _reent * instead of a FILE *.
* libc/stdio/fclose.c (_fclose_r): Ditto.
* libc/stdio/feof.c (feof): Ditto.
* libc/stdio/ferror.c (ferror): Ditto.
* libc/stdio/fflush.c (fflush): Ditto.
* libc/stdio/fgetc.c (fgetc): Ditto.
* libc/stdio/fgets.c (fgets): Ditto.
* libc/stdio/fileno.c (fileno): Ditto.
* libc/stdio/fputc.c (fputc): Ditto.
* libc/stdio/fputs.c (fputs): Ditto.
* libc/stdio/fread.c (fread): Ditto.
* libc/stdio/freopen.c (_freopen_r): Ditto.
* libc/stdio/fseek.c (_fseek_r): Ditto.
* libc/stdio/ftell.c (_ftell_r): Ditto.
* libc/stdio/fwrite.c (fwrite): Ditto.
* libc/stdio/getc.c (getc): Ditto.
* libc/stdio/getdelim.c (__getdelim): Ditto.
* libc/stdio/putc.c (putc): Ditto.
* libc/stdio/setvbuf.c (setvbuf): Ditto.
* libc/stdio/ungetc.c (_ungetc_r): Ditto.
* libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
* libc/stdio64/freopen64.c (_freopen64_r): Ditto.
* libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
* libc/stdio64/ftello64.c (_ftello64_r): Ditto.
* libc/stdio/local.h (CHECK_INIT): Argument is now a struct
_reent * instead of a FILE * and so replace incorrect use of
_REENT with argument.
* libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
* libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
CHECK_INIT() take a struct _reent * instead of a FILE *.
* libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
* libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
* libc/stdio/perror.c (perror): Ditto.
* libc/stdio/printf.c (printf, _printf_r): Ditto.
* libc/stdio/putchar.c (putchar): Ditto.
* libc/stdio/puts.c (puts): Ditto.
* libc/stdio/refill.c (__srefill): Ditto.
* libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
* libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
* libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
* libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
* libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
* libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
* libc/stdio/wbuf.c (__swbuf): Ditto.
* libc/stdio/wsetup.c (__swsetup): Ditto.
* libc/stdlib/mallocr.c (malloc_stats): Ditto.
* libc/stdlib/mstats.c (_mstats_r): Ditto.
* libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
* libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
* libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
to _flockfile and _funlockfile; rely on locking in _ftell_r.
* libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
* libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
initialision of _data field in FILE structure.
* libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
2005-02-08 01:33:19 +00:00
Jeff Johnston
3d91567088
2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdio/findfp.c (__sinit): Protect with new lock.
(__sinit_lock): New lock.
(__sinit_lock_acquire, __sinit_lock_release): New functions.
* libc/stdio/local.h: Add reference to new __sinit locking
functions.
2005-02-08 01:05:50 +00:00
Jeff Johnston
b59cab1e2e
2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/math.h (isfinite, isnormal, isunordered): Change
input variable names to avoid mixups with nesting macros.
2005-02-07 21:04:22 +00:00
Nick Clifton
7823d9bb14
Import from FSF mainline
2005-02-02 19:00:30 +00:00
Jeff Johnston
1815fdeab4
2005-01-27 Hans-Peter Nilsson <hp@axis.com>
...
* configure.host: Add support for cris-*-* and crisv32-*-*.
* libc/include/machine/ieeefp.h: Ditto.
* libc/include/machine/setjmp.h: Ditto.
* libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
files.
2005-01-27 23:54:46 +00:00
Jeff Johnston
f7d4d41acd
2005-01-27 Hans-Peter Nilsson <hp@axis.com>
...
* testsuite/newlib.string/memmove1.c: New test.
2005-01-27 20:52:42 +00:00
Jeff Johnston
e9743354fe
Update previous ChangeLog entry with missing info.
2005-01-27 20:29:49 +00:00
Jeff Johnston
1319dec602
2005-01-27 Hans-Peter Nilsson <hp@axis.com>
...
* testsuite/include/check.h: Include stdlib.h.
2005-01-27 20:25:54 +00:00
Jeff Johnston
b45e65b0da
2005-01-27 Hans-Peter Nilsson <hp@axis.com>
...
* Makefile.am (stmp-targ-include): Support include header files
from machine directories.
* Makefile.in: Regenerate.
2005-01-27 19:13:54 +00:00
Jeff Johnston
dbfa92dd94
2005-01-24 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/string.h: Remove Linux-specific declaration of
strsignal and add #include <sys/string.h>.
* libc/include/sys/string.h: New file.
* libc/include/sys/linux/sys/string.h: New file with strsignal
declaration deleted above.
2005-01-24 18:46:09 +00:00
Jeff Johnston
6cb0c05514
2005-01-20 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/time/strftime.c (strftime): Change %r and %x to be compliant
to POSIX standard for "C" locale. Allow %E and %O modifiers
to be ignored as long as they precede valid specifiers according
to POSIX.
2005-01-20 19:56:27 +00:00
Jeff Johnston
524298079c
2005-01-19 Shaun Jackman <sjackman@gmail.com>
...
* libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
environment variable is set.
2005-01-20 17:31:04 +00:00
Jeff Johnston
f693170ab3
2005-01-19 Shaun Jackman <sjackman@gmail.com>
...
* tzset_r.c (_tzname): Add a comma.
2005-01-19 16:44:42 +00:00
Aldy Hernandez
464d01bf6e
* libc/machine/powerpc/vfprintf.c: Use _REENT when calling
...
_VFPRINTF_R.
2005-01-18 17:08:55 +00:00
Jeff Johnston
7cd6e35969
Fix typo.
2005-01-10 16:24:12 +00:00
Jeff Johnston
f7a74742e6
2005-01-07 Paul Brook <paul@codesourcery.com>
...
* configure.in: Add test for .init_array.
* configure: Regenerate.
* newlib.hin: Add HAVE_INITFINI_ARRAY.
* libc/misc/Makefile.am: Add init.c
* libc/misc/Makefile.in: Regenerate.
* libc/misc/init.c: New file.
* libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
_init/_fini if they exist.
2005-01-07 18:04:39 +00:00
Jeff Johnston
8fa6cb9a5d
2005-01-06 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdlib/strtod.c (_strtod_r): Add NaN support.
* (strtof): Ditto.
* libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
* Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
functions for use by strtod and strtof.
* Makefile.in: Regenerated.
2005-01-06 23:31:56 +00:00
Jeff Johnston
034a3909ae
2005-01-06 Hans-Peter Nilsson <hp@axis.com>
...
* libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
bit-test in combination with NULL test.
2005-01-06 20:10:56 +00:00
Jeff Johnston
5cc3f59253
Add missing ChangeLog entry for 1.13.0 release.
...
2004-12-17 Jeff Johnston <jjohnstn@redhat.com>
* NEWS: Update with 1.13.0 info.
* README: Ditto.
* acinclude.m4: Change version number to 1.13.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.13.
2005-01-06 20:05:37 +00:00
Jeff Johnston
9918ea2da9
2005-01-06 Hans-Peter Nilsson <hp@axis.com>
...
* README: Fix typo of LGPL. Change "license" to "copyright".
2005-01-06 19:38:30 +00:00
Jeff Johnston
a9c42bde0b
2004-12-17 Jeff Johnston <jjohnstn@redhat.com>
...
* NEWS: Update with 1.13.0 info.
* README: Ditto.
* acinclude.m4: Change version number to 1.13.0.
* aclocal.m4: Regenerated.
* configure: Ditto.
* doc/aclocal.m4: Ditto.
* doc/configure: Ditto.
* iconvdata/aclocal.m4: Ditto.
* iconvdata/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.13.
2004-12-17 22:48:16 +00:00
Jeff Johnston
d8ae996c41
2004-12-17 Christian Groessler <chris@groessler.org>
...
* libc/machine/z8k/memcmp.S: New file.
* libc/machine/z8k/memcpy.S: Ditto.
* libc/machine/z8k/memmove.S: Ditto.
* libc/machine/z8k/memset.S: Ditto.
* libc/machine/z8k/Makefile.am: Add new files.
* libc/machine/z8k/Makefile.in: Regenerated.
* libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
part. Implement Z8002 stdcall version.
2004-12-17 20:17:13 +00:00
Jeff Johnston
82673116e1
2004-12-13 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-13 19:42:16 +00:00
Jeff Johnston
0082d4cf57
2004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
...
* libc/time/tzset_r (_tzset_r): Properly skip over
'/' when it is detected.
2004-12-09 21:36:48 +00:00
Jeff Johnston
3b54b74f3a
2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
...
* libc/time/tzset_r (_tzset_r): Fix loop.
2004-12-08 18:12:28 +00:00
Jeff Johnston
4b30e15471
2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
...
* 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-08 17:54:38 +00:00
Jeff Johnston
465eab2eb4
2004-12-07 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
and usleep.
2004-12-07 18:54:28 +00:00
Jeff Johnston
a2b1a849d1
2004-12-03 Jeff Johnston <jjohnstn@redhat.com>
...
* Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
libgcc dependencies.
(libm_la_LDFLAGS): Ditto.
* Makefile.in: Regenerated.
2004-12-03 23:46:28 +00:00
Jeff Johnston
c80a17311c
2004-12-03 Shaun Jackman <sjackman@gmail.com>
...
* 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-03 21:20:15 +00:00
Jeff Johnston
70e9da4249
2004-12-02 Shaun Jackman <sjackman@gmail.com>
...
* 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-12-02 19:30:56 +00:00
Jeff Johnston
a330d85a45
2004-11-26 Paul Brook <paul@codesourcery.com>
...
* libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
2004-11-26 16:42:10 +00:00
Jeff Johnston
9aa189be83
2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-24 22:34:47 +00:00
Jeff Johnston
c41a1cb7d8
2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-24 22:34:15 +00:00
Jeff Johnston
16ac96ee69
2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdio/Makefile.am: Fix missing vfscanf.
* libc/stdio/Makefile.in: Regenerated.
2004-11-24 22:31:05 +00:00
Jeff Johnston
3bf091476a
2004-11-23 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-24 00:45:41 +00:00
Jeff Johnston
0f0fcb042a
2004-11-19 Shaun Jackman <sjackman@gmail.com>
...
* 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-20 01:42:35 +00:00
Christopher Faylor
1f8f7e2d54
* libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear EOF
...
flag if successful.
2004-11-17 17:02:10 +00:00
Christopher Faylor
334ba104fe
tweak wording
2004-10-28 15:55:22 +00:00
Christopher Faylor
b08d08c7c4
* libc/include/sys/signal.h: Move <signal.h> include to bottom of file so that
...
all relevant definitions have been handled for use in the include.
2004-10-28 15:06:47 +00:00
Jeff Johnston
65b1964f1a
2004-10-26 Jason Tishler <jason@tishler.net>
...
* libc/stdio/fread.c (fread): Fix return value for unbuffered
fread.
2004-10-26 18:21:09 +00:00
Jeff Johnston
6382b7e379
Fix date typo.
2004-10-25 17:56:05 +00:00
Jeff Johnston
06b5ef6e7d
2001-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* libc/include/machine/setjmp.h: Add AVR support.
* libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
2004-10-25 17:53:19 +00:00
Jeff Johnston
73131c2d20
2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-08 17:40:57 +00:00
Jeff Johnston
1185687a7b
2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
...
* 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-05 19:44:24 +00:00
Jeff Johnston
423152ed0a
2004-10-05 Jeff Johnston <jjohnstn@redhat.com>
...
* Makefile.am (stmp-targ-include): Support sys header files
from machine directories.
* Makefile.in: Regenerated.
2004-10-05 19:34:25 +00:00
Jeff Johnston
3ea9de7644
2004-10-04 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-10-04 17:51:50 +00:00
Jeff Johnston
2a6e122363
2004-09-24 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdio/local.h: Include <stdlib.h>.
2004-09-24 16:03:46 +00:00
Corinna Vinschen
d163f2fc83
* libc/stdio/fread.c (fread): Include <malloc.h>.
2004-09-24 09:13:11 +00:00