summaryrefslogtreecommitdiffstats
path: root/newlib/libc
Commit message (Collapse)AuthorAgeFilesLines
* 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-07-31159-76/+5674
| | | | | | * acinclude.m4: Check for readelf tool. * configure.in: Use ${READELF} instead of hard-coding. * Regenerate all aclocal.m4, Makefile.in, and configure files.
* 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-07-311-1/+0
| | | | | * libc/sys/linux/mmap.c: Remove include of sys/mman.h to avoid conflict with newer glibc's revision of mremap.
* 2006-07-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-07-052-4/+46
| | | | | | | | * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex floating-point format support. Also redefine dword0 and dword1 macros. * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS to prevent setting dword1 which is an rvalue only.
* 2006-06-22 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-06-229-635/+1816
| | | | | | | | | | | | | | | | * libc/stdlib/Makefile.am: Add new gdtoa routines. * libc/stdlib/Makefile.in: Regenerated. * libc/stdlib/gd_qnan.h: New file. * libc/stdlib/gdtoa-gethex.c: Ditto. * libc/stdlib/gdtoa-hexnan.c: Ditto. * libc/stdlib/gdtoa.h: Ditto. * libc/stdlib/mprec.c: Add new helper routines needed by the new gdtoa code. * libc/stdlib/mprec.h: Integrate some defines and prototypes used by gdtoa routines here. * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c which adds C99 support such as nan, inf, and hexadecimal input format.
* 2006-06-15 Corinna Vinschen <corinna@vinschen.de>Jeff Johnston2006-06-154-4/+25
| | | | | | | * libc/include/stdio.h (__sgetc_r): Fix typo. * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r. * libc/stdio/rget.c (__srbuf): Reinstantiate. * libc/stdio/wbuf.c (__swbuf): Ditto.
* 2006-06-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-06-1426-92/+428
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/include/stdio.h: Add new reentrant I/O prototypes for read/write functions. Change getc/putc macros to have reentrant underlying macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r. * libc/stdio/fgetc.c: Fix and/or add reentrant version to call new reentrant I/O functions/macros for reading/writing. * libc/stdio/fgets.c: Ditto. * libc/stdio/fputc.c: Ditto. * libc/stdio/fputs.c: Ditto. * libc/stdio/fread.c: Ditto. * libc/stdio/fseek.c: Ditto. * libc/stdio64/fseeko64.c: Ditto. * libc/stdio/fwrite.c: Ditto. * libc/stdio/getc.c: Ditto. * libc/stdio/getc_u.c: Ditto. * libc/stdio/getchar.c: Ditto. * libc/stdio/getchar_u.c: Ditto. * libc/stdio/putc.c: Ditto. * libc/stdio/putc_u.c: Ditto. * libc/stdio/putchar.c: Ditto. * libc/stdio/puts.c: Ditto. * libc/stdio/vfprintf.c: Ditto. * libc/stdio/vfscanf.c: Ditto. * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r. Change all previous callers of __sfvwrite. Set errno to EBADF and set error flag on if attempt is made to write to file that does not allow writing. * libc/stdio/fvwrite.h: Fix new reentrant prototypes. * libc/stdio/local.h: Ditto. * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r. Set errno to EBADF and the error flag on if attempt is made to read unreadable file. Change all previous callers of __srefill. * libc/stdio/rget.c * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change all previous callers of __swbuf. * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since huge value macros are already defined correctly for i386 by <math.h>.
* 2006-06-13 Sandra Loosemore <sandra@codesourcery.com>Jeff Johnston2006-06-131-4/+50
| | | | | * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename): Make them do something useful in the ARM_RDI_MONITOR case.
* 2006-06-07 Fred Fish <fnf@specifix.com>Jeff Johnston2006-06-071-4/+0
| | | | | * libc/search/hash_bigkey.c (MIN,MAX): Remove defines that are already supplied by <sys/param.h>.
* 2006-06-05 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2006-06-062-0/+44
| | | | | | | | * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and usleep.c. * libc/posix/Makefile.in: Regenerate. * libc/posix/sleep.c: New file. * libc/posix/usleep.c: Ditto.
* 2006-06-05 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2006-06-052-4/+19
| | | | | | | | * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and usleep.c. * libc/posix/Makefile.in: Regenerate. * libc/posix/sleep.c: New file. * libc/posix/usleep.c: Ditto.
* 2006-06-05 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2006-06-052-28/+22
| | | | | | | configure.host (newlib_cflags) [arm, thumb, xscale]: Remove -DABORT_PROVIDED flag. * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss. * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
* 2006-06-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-06-052-2/+2
| | | | | | | | | * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS. * Makefile.in: Regenerated. * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove extraneous CFLAGS reference now that CCASFLAGS are being extended properly via multilib. * libc/machine/sh/Makefile.in: Regenerated.
* 2006-06-02 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2006-06-021-0/+3
| | | | | * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and sigismember.
* 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-05-233-8/+8
| | | | | | | * libc/misc/dprintf.c: Removed. * libc/misc/__dprintf.c: Renamed from dprintf.c. * libc/misc/Makefile.am: Changed appropriately for rename. * libc/misc/Makefile.in: Regenerated.
* 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-05-231-0/+2
| | | | | | * libc/include/stdio.h: Protect dprintf prototype with #ifndef dprintf so as to not interfere with historical code defining their own dprintf macro.
* 2006-05-18 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-05-181-0/+3
| | | | | * libc/include/stdio.h: Add prototypes for fiscanf, iscanf, and siscanf.
* * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).Joern Rennecke2006-05-122-2/+2
| | | | * libc/machine/sh/Makefile.in: Regenerate.
* 2006-05-09 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-05-092-7/+176
| | | | | | * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to lib_a_SOURCES. * libc/ctype/Makefile.in: Regenerated.
* 2006-05-09 Kazu Hirata <kazu@codesourcery.com>Jeff Johnston2006-05-092-4/+11
| | | | | * libc/machine/arm/Makefile.am: Fix a typo. * libc/machine/arm/Makefile.in: Regenerated.
* * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).Joern Rennecke2006-05-032-2/+2
| | | | * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
* 2006-05-02 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-05-024-16/+16
| | | | | | | | | | * libc/sys/sysnec810/Makefile.am: Specify .S files instead of .s. * libc/sys/sysnec810/Makefile.in: Regenerated. * libc/sys/sysnec810/crt0.S: Renamed from .s file. * libc/sys/sysnec810/io.S: Ditto. * libc/sys/sysnec810/crt0.s: Renamed to .S file. * libc/sys/sysnec810/io.s: Ditto.
* 2006-05-01 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-05-01247-1592/+5250
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can be specified instead of object, do so. * libc/ctype/Makefile.am: Ditto. * libc/iconv/ccs/Makefile.am: Ditto. * libc/iconv/ces/Makefile.am: Ditto. * libc/iconv/lib/Makefile.am: Ditto. * libc/locale/Makefile.am: Ditto. * libc/posix/Makefile.am: Ditto. * libc/reent/Makefile.am: Ditto. * libc/search/Makefile.am: Ditto. * libc/stdio/Makefile.am: Ditto. * libc/stdio64/Makefile.am: Ditto. * libc/stdlib/Makefile.am: Ditto. * libc/string/Makefile.am: Ditto. * libc/syscalls/Makefile.am: Ditto. * libc/unix/Makefile.am: Ditto. * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get prefix added automatically. Any specified rules must use $(lpfx) for object file names. * libc/machine/arm/Makefile.am: Ditto. * libc/machine/cris/Makefile.am: Ditto. * libc/machine/crx/Makefile.am: Ditto. * libc/machine/d10v/Makefile.am: Ditto. * libc/machine/d30v/Makefile.am: Ditto. * libc/machine/fr30/Makefile.am: Ditto. * libc/machine/frv/Makefile.am: Ditto. * libc/machine/h8300/Makefile.am: Ditto. * libc/machine/h8500/Makefile.am: Ditto. * libc/machine/hppa/Makefile.am: Ditto. * libc/machine/i386/Makefile.am: Ditto. * libc/machine/i960/Makefile.am: Ditto. * libc/machine/iq2000/Makefile.am: Ditto. * libc/machine/m32c/Makefile.am: Ditto. * libc/machine/m32r/Makefile.am: Ditto. * libc/machine/m68hc11/Makefile.am: Ditto. * libc/machine/m68k/Makefile.am: Ditto. * libc/machine/m88k/Makefile.am: Ditto. * libc/machine/mips/Makefile.am: Ditto. * libc/machine/mn10200/Makefile.am: Ditto. * libc/machine/mn10300/Makefile.am: Ditto. * libc/machine/mt/Makefile.am: Ditto. * libc/machine/necv70/Makefile.am: Ditto. * libc/machine/powerpc/Makefile.am: Ditto. * libc/machine/sh/Makefile.am: Ditto. * libc/machine/sh/Makefile.in: Ditto. * libc/machine/sparc/Makefile.am: Ditto. * libc/machine/tic4x/Makefile.am: Ditto. * libc/machine/tic80/Makefile.am: Ditto. * libc/machine/v850/Makefile.am: Ditto. * libc/machine/w65/Makefile.am: Ditto. * libc/machine/xscale/Makefile.am: Ditto. * libc/machine/xstormy16/Makefile.am: Ditto. * libc/machine/z8k/Makefile.am: Ditto. * libc/sys/a29khif/Makefile.am: Ditto. * libc/sys/arm/Makefile.am: Ditto. * libc/sys/d10v/Makefile.am: Ditto. * libc/sys/h8300hms/Makefile.am: Ditto. * libc/sys/h8500hms/Makefile.am: Ditto. * libc/sys/linux/Makefile.am: Ditto. * libc/sys/linux/linuxthreads/Makefile.am: Ditto. * libc/sys/linux/net/Makefile.am: Ditto. * libc/sys/linux/stdlib/Makefile.am: Ditto. * libc/sys/m88kbug/Makefile.am: Ditto. * libc/sys/mmixware/Makefile.am: Ditto. * libc/sys/rdos/Makefile.am: Ditto. * libc/sys/rtems/Makefile.am: Ditto. * libc/sys/sh/Makefile.am: Ditto. * libc/sys/sun4/Makefile.am: Ditto. * libc/sys/sysmec/Makefile.am: Ditto. * libc/sys/sysnec810/Makefile.am: Ditto. * libc/sys/sysnecv850/Makefile.am: Ditto. * libc/sys/sysvi386/Makefile.am: Ditto. * libc/sys/sysvnecv70/Makefile.am: Ditto. * libc/sys/tic80/Makefile.am: Ditto. * libc/sys/w65/Makefile.am: Ditto. * libc/sys/z8ksim/Makefile.am: Ditto. * libc/machine/necv70/fastmath.S: Renamed from .s file. * libc/machine/necv70/setjmp.S: Ditto. * libc/machine/necv70/fastmath.s: Removed. * libc/machine/necv70/setjmp.s: Ditto. * libc/machine/w65/*.S: New files renamed from .s files. * libc/machine/w65/*.s: Renamed and removed. * libc/sys/a29khif/*.S: New files renamed from .s files. * libc/sys/a29khif/*.s: Renamed and removed. * libc/sys/sysvi386/*.S: New files renamed from .s files. * libc/sys/sysvi386/*.s: Renamed and removed. * libc/sys/sysvnecv70/*.S: New files renamed from .s files. * libc/sys/sysvnecv70/*.s: Renamed and removed. * libc/*Makefile.in: Regenerated as appropriate.
* * libc/machine/sh/configure.in: Avoid link tests.DJ Delorie2006-04-242-0/+42
| | | | * libc/machine/sh/configure: Regenerate.
* 2006-04-18 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-04-181-2/+8
| | | | | * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros. (sigaddset, sigemptyset): Add return code.
* 2006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2006-04-13226-4770/+3244
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * acinclude.m4: New _NEWLIB_VERSION. * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION). Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM. Use new form of AC_INIT_AUTOMAKE. * configure.in: AC_PREREQ(2.59). Use autoconf-2.5.x version of AC_INIT. Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of autoconf-2.13's AC_OUTPUT. * libm/configure.in: Ditto. * libm/machine/configure.in: Ditto. * libm/machine/i386/configure.in: Ditto. * libc/configure.in: Ditto. * libc/machine/a29k/configure.in: Ditto. * libc/machine/arm/configure.in: Ditto. * libc/machine/configure.in: Ditto. * libc/machine/mn10300/configure.in: Ditto. * libc/machine/powerpc/configure.in: Ditto. * libc/machine/z8k/configure.in: Ditto. * libc/machine/h8300/configure.in: Ditto. * libc/machine/mips/configure.in: Ditto. * libc/machine/crx/configure.in: Ditto. * libc/machine/m68hc11/configure.in: Ditto. * libc/machine/h8500/configure.in: Ditto. * libc/machine/xscale/configure.in: Ditto. * libc/machine/d10v/configure.in: Ditto. * libc/machine/fr30/configure.in: Ditto. * libc/machine/sh/configure.in: Ditto. * libc/machine/tic80/configure.in: Ditto. * libc/machine/m32r/configure.in: Ditto. * libc/machine/xstormy16/configure.in: Ditto. * libc/machine/i386/configure.in: Ditto. * libc/machine/d30v/configure.in: Ditto. * libc/machine/mn10200/configure.in: Ditto. * libc/machine/frv/configure.in: Ditto. * libc/machine/mt/configure.in: Ditto. * libc/machine/i960/configure.in: Ditto. * libc/machine/v850/configure.in: Ditto. * libc/machine/necv70/configure.in: Ditto. * libc/machine/tic4x/configure.in: Ditto. * libc/machine/cris/configure.in: Ditto. * libc/machine/m68k/configure.in: Ditto. * libc/machine/m32c/configure.in: Ditto. * libc/machine/hppa/configure.in: Ditto. * libc/machine/w65/configure.in: Ditto. * libc/machine/iq2000/configure.in: Ditto. * libc/machine/sparc/configure.in: Ditto. * libc/machine/m88k/configure.in: Ditto. * libc/sys/linux/configure.in: Ditto. * libc/sys/linux/machine/configure.in: Ditto. * libc/sys/linux/machine/i386/configure.in: Ditto. * libc/sys/linux/linuxthreads/configure.in: Ditto. * libc/sys/linux/linuxthreads/machine/configure.in: Ditto. * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto. * libc/sys/arm/configure.in: Ditto. * libc/sys/configure.in: Ditto. * libc/sys/decstation/configure.in: Ditto. * libc/sys/a29khif/configure.in: Ditto. * libc/sys/sysnecv850/configure.in: Ditto. * libc/sys/d10v/configure.in: Ditto. * libc/sys/netware/configure.in: Ditto. * libc/sys/mmixware/configure.in: Ditto. * libc/sys/h8500hms/configure.in: Ditto. * libc/sys/sh/configure.in: Ditto. * libc/sys/tic80/configure.in: Ditto. * libc/sys/rdos/configure.in: Ditto. * libc/sys/sysmec/configure.in: Ditto. * libc/sys/sysvi386/configure.in: Ditto. * libc/sys/h8300hms/configure.in: Ditto. * libc/sys/sparc64/configure.in: Ditto. * libc/sys/arc/configure.in: Ditto. * libc/sys/sysnec810/configure.in: Ditto. * libc/sys/m88kbug/configure.in: Ditto. * libc/sys/sysvnecv70/configure.in: Ditto. * libc/sys/z8ksim/configure.in: Ditto. * libc/sys/rtems/configure.in: Ditto. * libc/sys/w65/configure.in: Ditto. * libc/sys/sun4/configure.in: Ditto. * doc/configure.in: Ditto. * iconvdata/configure.in: Ditto. * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
* 2006-04-11 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-04-11318-124193/+310754
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * acinclude.m4: Properly add square brackets for AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove macros no longer available. Add LIB_AM_PROG_AS to remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU macro. Substitute lpfx (library object prefix). * configure.host: Set lpfx depending on whether libtool is used or not. * configure.in: Individually specify libc and libm to AC_CONFIG_SUBDIRS. Add square bracket quoting as necessary. * Makefile.am: Use $(lpfx) to get object names for math-library functions that should also be in libc. * libc/machine/configure.in: Use case statement to determine AC_CONFIG_SUBDIRS statement. * libc/sys/linux/linuxthreads/machine/configure.in: Ditto. * libc/sys/linux/machine/configure.in: Ditto. * libc/sys/configure.in: Ditto. * libm/machine/configure.in: Ditto. * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS. * libm/configure.in: Add AM_CONDITIONAL statement for HAVE_LIBM_MACHINE_DIR. * libc/machine/a29k/Makefile.am: Modified to work with latest automake. Change includes setting AM_CCASFLAGS so building .S files will properly pick up flags used to build C files. * libc/machine/arm/Makefile.am: Ditto. * libc/machine/crx/Makefile.am: Ditto. * libc/machine/d10v/Makefile.am: Ditto. * libc/machine/d30v/Makefile.am: Ditto. * libc/machine/fr30/Makefile.am: Ditto. * libc/machine/frv/Makefile.am: Ditto. * libc/machine/h8300/Makefile.am: Ditto. * libc/machine/h8500/Makefile.am: Ditto. * libc/machine/hppa/Makefile.am: Ditto. * libc/machine/i386/Makefile.am: Ditto. * libc/machine/iq2000/Makefile.am: Ditto. * libc/machine/m32c/Makefile.am: Ditto. * libc/machine/m32r/Makefile.am: Ditto. * libc/machine/m68hc11/Makefile.am: Ditto. * libc/machine/m68k/Makefile.am: Ditto. * libc/machine/m88k/Makefile.am: Ditto. * libc/machine/mips/Makefile.am: Ditto. * libc/machine/mn10200/Makefile.am: Ditto. * libc/machine/mn10300/Makefile.am: Ditto. * libc/machine/mt/Makefile.am: Ditto. * libc/machine/necv70/Makefile.am: Ditto. * libc/machine/powerpc/Makefile.am: Ditto. * libc/machine/sh/Makefile.am: Ditto. * libc/machine/sparc/Makefile.am: Ditto. * libc/machine/tic4x/Makefile.am: Ditto. * libc/machine/tic80/Makefile.am: Ditto. * libc/machine/v850/Makefile.am: Ditto. * libc/machine/w65/Makefile.am: Ditto. * libc/machine/xscale/Makefile.am: Ditto. * libc/machine/xstormy16/Makefile.am: Ditto. * libc/machine/z8k/Makefile.am: Ditto. * libc/sys/a29khif/Makefile.am: Ditto. * libc/sys/arc/Makefile.am: Ditto. * libc/sys/arm/Makefile.am: Ditto. * libc/sys/d10v/Makefile.am: Ditto. * libc/sys/decstation/Makefile.am: Ditto. * libc/sys/h8300hms/Makefile.am: Ditto. * libc/sys/h8500hms/Makefile.am: Ditto. * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto. * libc/sys/linux/machine/i386/Makefile.am: Ditto. * libc/sys/m88kbug/Makefile.am: Ditto. * libc/sys/mmixware/Makefile.am: Ditto. * libc/sys/netware/Makefile.am: Ditto. * libc/sys/rdos/Makefile.am: Ditto. * libc/sys/rtems/Makefile.am: Ditto. * libc/sys/sh/Makefile.am: Ditto. * libc/sys/sparc64/Makefile.am: Ditto. * libc/sys/sysmec/Makefile.am: Ditto. * libc/sys/sysnec810/Makefile.am: Ditto. * libc/sys/sysnecv850/Makefile.am: Ditto. * libc/sys/sysvi386/Makefile.am: Ditto. * libc/sys/sysvnecv70/Makefile.am: Ditto. * libc/sys/tic80/Makefile.am: Ditto. * libc/sys/w65/Makefile.am: Ditto. * libc/sys/z8ksim/Makefile.am: Ditto. * libm/machine/i386/Makefile.am: Ditto. * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including trap.S so that automake will generate a .S.o suffix rule. * libc/argz/Makefile.am: Modified to work with latest automake. Change includes adding lib_a_CFLAGS so automake doesn't complain about libtool and non-libtool libraries sharing objects. * libc/ctype/Makefile.am: Ditto. * libc/errno/Makefile.am: Ditto. * libc/iconv/ccs/Makefile.am: Ditto. * libc/iconv/ces/Makefile.am: Ditto. * libc/iconv/lib/Makefile.am: Ditto. * libc/locale/Makefile.am: Ditto. * libc/misc/Makefile.am: Ditto. * libc/posix/Makefile.am: Ditto. * libc/reent/Makefile.am: Ditto. * libc/search/Makefile.am: Ditto. * libc/signal/Makefile.am: Ditto. * libc/stdio/Makefile.am: Ditto. * libc/stdio64/Makefile.am: Ditto. * libc/stdlib/Makefile.am: Ditto. * libc/string/Makefile.am: Ditto. * libc/sys/linux/Makefile.am: Ditto. * libc/sys/linux/argp/Makefile.am: Ditto. * libc/sys/linux/cmath/Makefile.am: Ditto. * libc/sys/linux/dl/Makefile.am: Ditto. * libc/sys/linux/iconv/Makefile.am: Ditto. * libc/sys/linux/intl/Makefile.am: Ditto. * libc/sys/linux/linuxthreads/Makefile.am: Ditto. * libc/sys/linux/net/Makefile.am: Ditto. * libc/sys/linux/stdlib/Makefile.am: Ditto. * libc/syscalls/Makefile.am: Ditto. * libc/time/Makefile.am: Ditto. * libc/unix/Makefile.am: Ditto. * libm/Makefile.am: Ditto. * libm/common/Makefile.am: Ditto. * libm/math/Makefile.am: Ditto. * libm/mathfp/Makefile.am: Ditto. * Regenerate all aclocal.m4, Makefile.in, and configure files.
* 2006-04-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-04-071-6/+0
| | | | | * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY anymore. Assume there is a gettimeofday syscall.
* 2006-03-29 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2006-03-291-0/+2
| | | | | * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h for the declaration of n_long.
* 2006-03-29 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2006-03-291-2/+5
| | | | | | | | | | * libc/sys/linux/include/net/if.h: Include sys/socket.h for struct sockaddr. (IFF_SMART): Replace this define with IFF_NOTRAILERS. (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS. (IFF_NOTRAILERS): New define. (struct ifreq): Add ifru_netmask. (ifr_netmask): New define.
* 2006-03-29 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2006-03-291-1/+1
| | | | | * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to match sys/ioctl.h.
* 2006-03-29 Eric Blake <ebb9@byu.net>Jeff Johnston2006-03-292-2/+2
| | | | | * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo. * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
* Fix reference to __mknod syscall to pass proper third argument.Jeff Johnston2006-03-291-1/+1
|
* 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-03-291-1/+1
| | | | | | * libc/sys/linux/io.c (__mknod): Fix declaration of syscall to pass a dev_t as third argument rather than a pointer to dev_t.
* 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-03-291-4/+4
| | | | * libc/sys/linux/net/name6.c: Fix struct references.
* * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.Mark Mitchell2006-03-212-0/+8
| | | | | | | | | | | * configure.in (--disable-newlib-atexit-dynamic-alloc): New option. * configure: Regenerated. * newlib.hin: Regenerated. * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc if _ATEXIT_DYNAMIC_ALLOC is undefined. * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free if _ATEXIT_DYNAMIC_ALLOC is undefined.
* 2006-03-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-03-171-1/+0
| | | | | * libc/sys/linux/linuxthreads/config.h: Remove definition of UINT32_C.
* 2006-03-15 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-03-151-2/+4
| | | | | * libc/stdio/wsetup.c (__swsetup): Don't make a buffer for a string I/O file that isn't using the asprintf family.
* 2006-03-07 Eric Blake <ebb9@byu.net>Jeff Johnston2006-03-072-14/+18
| | | | | | | * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL filename, allow read-only or write-only FILE atop O_RDWR file descriptor. * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
* 2006-02-27 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-02-272-6/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff, s_isnand, and sf_isnanf object files. * Makefile.in: Regenerated. * libc/include/ieeefp.h: Undef isnan and isinf to avoid conflict if <math.h> has previously been included. * libc/include/math.h * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff, and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and sf_isinf files which have been moved from math/mathfp directories. * libm/common/Makefile.in: Regenerated. * libm/common/s_isinfd.c: New file. * libm/common/s_isnand.c: Ditto. * libm/common/sf_isinff.c: Ditto. * libm/common/sf_isnanf.c: Ditto. * libm/common/s_isinf.c: Moved from libm/math directory. * libm/common/s_isnan.c: Ditto. * libm/common/sf_isinf.c: Ditto. * libm/common/sf_isnan.c: Ditto. * libm/math/Makefile.am: Remove isinf and isnan family functions which have been moved into common directory. * libm/mathfp/Makefile.am: Ditto. * libm/math/Makefile.in: Regenerated. * libm/mathfp/Makefile.in: Ditto. * libm/math/s_isinf.c: Removed. * libm/math/s_isnan.c: Ditto. * libm/math/sf_isinf.c: Ditto. * libm/math/sf_isnan.c: Ditto. * libm/mathfp/s_isinf.c: Ditto. * libm/mathfp/s_isnan.c: Ditto. * libm/mathfp/sf_isinf.c: Ditto. * libm/mathfp/sf_isnan.c: Ditto.
* 2006-02-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-02-202-1/+18
| | | | | | | * libc/stdio/fflush.c (fflush): For an fflush on a read-only stream, turn off fseek/rewind optimization as per POSIX/SUSv3. * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized seek, turn off the __SNPT no-optimization flag.
* 2006-02-16 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-02-162-1/+3
| | | | | | | * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit will be defined. * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of <features.h> to preset special flags.
* * libc/include/sys/time.h (struct timeval): Change member typesCorinna Vinschen2006-02-152-3/+4
| | | | | | | according to SUSv3. * libc/include/sys/types.h (useconds_t): Change to unsigned according to SUSv3. (suseconds_t): Define type.
* 2006-02-13 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-02-132-5/+11
| | | | | | | | | David Carne <davidcarne@gmail.com> * libc/string/strndup_r.c (_strndup_r): Use strnlen logic instead of strlen to determine number of bytes to copy. * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs before looking at storage location.
* 2006-02-07 Paul Brook <paul@codesourcery.com>Jeff Johnston2006-02-076-16/+67
| | | | | | | | * libc/machine/arm/setjmp.S: Add Thumb-2 support. * libc/sys/arm/crt0.S: Add Thumb-2 startup code. * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn. * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define. * libc/sys/arm/trap.S: Disable for Thumb-2.
* 2006-01-31 Leif Ekblad <leif@rdos.net>Jeff Johnston2006-01-3134-1/+12851
| | | | | | | | | | | | | | | | | | | | | | * configure.host: RDOS support added * libc/include/sys/config.h: Ditto. * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files. * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto. * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto. * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto. * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto. * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto. * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto. * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto. * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto. * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto. * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto. * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto. * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto. * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto. * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto. * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto. * libc/sys/rdos/write.c: Ditto.
* 2006-01-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-01-2020-20/+20
| | | | | | | | | | | | * acconfig.h: New file to generate newlib.hin from. * newlib.hin: Regenerated. * stamp-h.in: Regenerated. * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be called automatically. * Makefile.in: Regenerated. * acinclude.m4: Add proper comment for hack in previous change. * aclocal.m4 */aclocal.m4: Regenerated. * configure */configure: Regenerated.
* 2006-01-11 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-01-11130-647/+1037
| | | | | | | | | | | | | | | | | | * acinclude.m4: Add hack to prevent INSTALL in subdirs from being set to "../". * Makefile.am: Pass INSTALL in AM_MAKEFLAGS. * aclocal.m4: Regenerated. * configure: Ditto. * Makefile.in: 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.
* 2006-01-10 Eric Blake <ebb9@byu.net>Jeff Johnston2006-01-102-6/+8
| | | | | * libc/stdio/freopen.c (_freopen_r): Fix use of oflags. * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
* 2006-01-09 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-01-092-2/+2
| | | | | * libc/stdio/freopen.c: Switch to use isatty instead of _isatty. * libc/stdio64/freopen64.c: Ditto.
* 2006-01-09 Eric Blake <ebb9@byu.net>Jeff Johnston2006-01-092-14/+110
| | | | | * libc/stdio/freopen.c (_freopen_r): Accept NULL filename. * libc/stdio64/freopen64.c (_freopen64_r): Likewise.