Jeff Johnston
23754b33c3
2006-09-13 Joel Sherrill <joel@oarcorp.com>
...
* libc/include/pthread.h: Add pthread barriers,
rwlocks, and spinlocks. Change const to
_CONST and prefix parameter names with
an underscore.
* libc/include/sys/types.h: Add id and attribute
types for barriers, wrlocks, and spinlocks.
* libc/include/sys/features.h: Enable barriers,
wrlocks, and spinlocks for RTEMS.
2006-09-13 22:09:27 +00:00
Jeff Johnston
ba1bb1b368
2006-09-13 Patrick Mansfield <patmans@us.ibm.com>
...
* libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
supposed to be writable.
* libm/common/s_lib_ver.c: Ditto.
2006-09-13 22:06:43 +00:00
Jeff Johnston
8f9f25dad8
2006-09-12 Paul Brook <paul@codesourcery.com>
...
* libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
2006-09-12 17:31:40 +00:00
Jeff Johnston
0324070e35
2006-09-07 Masaki Muranaka <monaka@monami-software.com>
...
* libc/machine/xstormy16/Makefile.am:
Add $(lpfx) prefix to LIBADD objects.
lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
* libc/machine/xstormy16/Makefile.in: Regenerated.
2006-09-07 17:32:19 +00:00
Jeff Johnston
d39002f9ca
2006-09-06 Eric Blake <ebb9@byu.net>
...
* libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
't', and 'z' modifiers.
2006-09-06 20:03:27 +00:00
Jeff Johnston
859742654a
2006-08-29 Paul Brook <paul@codesourcery.com>
...
* libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
2006-08-29 21:00:59 +00:00
Jeff Johnston
c1f828e56e
2006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
This is needed to build all AVR and H8300 RTEMS multilib variants.
2006-08-28 17:17:24 +00:00
Jeff Johnston
b8e05321ba
2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
...
* libc/machine/configure.in: Add configuration for SPU.
* libc/machine/configure: Regenerated.
* libc/machine/spu/memcpy.c: Include string.h.
2006-08-23 16:07:36 +00:00
Jeff Johnston
380d8ec45d
2006-08-22 Eric Blake <ebb9@byu.net>
...
* libc/posix/popen.c (popen): Don't close output end of pipe in
child if stdout was closed on entry.
[HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
2006-08-22 20:30:37 +00:00
Christopher Faylor
a0922fcb04
* sys/types.h: Correct syntax error caused by missing '\' on #ifdef line.
2006-08-19 16:13:23 +00:00
Jeff Johnston
84a7940382
2006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
...
* libc/time/gmtime.c: Correct man page; clock is not a
local time and no conversion occurs.
2006-08-17 15:53:15 +00:00
Jeff Johnston
734e841435
2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
...
* configure.host: Add spu support.
* libc/include/stdint.h: Ditto.
* libc/include/machine/ieeefp.h: Ditto.
* libc/include/machine/setjmp.h: Ditto.
* libc/include/sys/config.h: Ditto.
* libc/include/sys/types.h: Ditto.
* libc/machine/spu/Makefile.am: New file.
* libc/machine/spu/Makefile.in: Ditto.
* libc/machine/spu/aclocal.m4: Ditto.
* libc/machine/spu/configure: Ditto.
* libc/machine/spu/configure.in: Ditto.
* libc/machine/spu/memcpy.c: Ditto.
* libc/machine/spu/setjmp.S: Ditto.
2006-08-16 21:39:43 +00:00
Jeff Johnston
079b45dc00
2006-08-03 J"orn Rennecke <joern.rennecke@st.com>
...
* dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
properly.
2006-08-03 16:56:05 +00:00
Jeff Johnston
2ebf115df9
2006-08-01 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/Makefile.am: Add libc_TEXINFOS dependency on
generated .texi files.
* libm/Makefile.am: Add libm_TEXINFOS dependency on
generated .texi files.
* libc/Makefile.in: Regenerated.
* libm/Makefile.in: Ditto.
2006-08-01 20:20:25 +00:00
Jeff Johnston
a121349405
2006-08-01 Thiemo Seufer <ths@mips.com>
...
Nigel Stephens <nigel@mips.com>
* libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
define this to force _impure_ptr to live in the .sdata section.
2006-08-01 15:54:04 +00:00
Jeff Johnston
0a85d87f03
2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
...
* 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 23:01:28 +00:00
Jeff Johnston
cc023a7557
2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/sys/linux/mmap.c: Remove include of sys/mman.h
to avoid conflict with newer glibc's revision of mremap.
2006-07-31 22:21:24 +00:00
Jeff Johnston
b0b9243869
2006-07-05 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-07-05 16:18:30 +00:00
Jeff Johnston
f489b5943c
2006-06-22 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-22 17:59:52 +00:00
Jeff Johnston
c8956c6fec
2006-06-15 Corinna Vinschen <corinna@vinschen.de>
...
* 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-15 16:08:09 +00:00
Jeff Johnston
4dc0c0c4e5
2006-06-14 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-14 20:49:11 +00:00
Jeff Johnston
c4cac45fe9
2006-06-13 Sandra Loosemore <sandra@codesourcery.com>
...
* /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
Make them do something useful in the ARM_RDI_MONITOR case.
2006-06-13 20:50:24 +00:00
Jeff Johnston
b5b6cbd8ec
2006-06-07 Fred Fish <fnf@specifix.com>
...
* libc/search/hash_bigkey.c (MIN,MAX): Remove
defines that are already supplied by <sys/param.h>.
2006-06-07 19:22:59 +00:00
Jeff Johnston
9b15ac9054
2006-06-05 Shaun Jackman <sjackman@gmail.com>
...
* 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-06 15:41:10 +00:00
Jeff Johnston
512c2879a4
2006-06-05 Shaun Jackman <sjackman@gmail.com>
...
* 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 20:19:55 +00:00
Jeff Johnston
6ea486a6df
2006-06-05 Shaun Jackman <sjackman@gmail.com>
...
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 19:45:08 +00:00
Jeff Johnston
2e7c576aa7
2006-06-05 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-05 17:42:57 +00:00
Jeff Johnston
3feae7b116
2006-06-02 Shaun Jackman <sjackman@gmail.com>
...
* libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
sigismember.
2006-06-02 18:09:24 +00:00
Jeff Johnston
f383bda56a
2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
...
* 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 20:30:48 +00:00
Jeff Johnston
8eeee74e95
2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-23 19:57:31 +00:00
Jeff Johnston
dc7798c6b0
2006-05-18 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/stdio.h: Add prototypes for fiscanf,
iscanf, and siscanf.
2006-05-18 18:07:19 +00:00
Joern Rennecke
302fad9217
* libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
...
* libc/machine/sh/Makefile.in: Regenerate.
2006-05-12 20:04:46 +00:00
Jeff Johnston
7f32c41d7f
2006-05-09 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
lib_a_SOURCES.
* libc/ctype/Makefile.in: Regenerated.
2006-05-09 21:53:35 +00:00
Jeff Johnston
bac01fc8f7
2006-05-09 Kazu Hirata <kazu@codesourcery.com>
...
* libc/machine/arm/Makefile.am: Fix a typo.
* libc/machine/arm/Makefile.in: Regenerated.
2006-05-09 17:55:21 +00:00
Joern Rennecke
7cc7e374c1
* libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
...
* libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
2006-05-03 22:16:34 +00:00
Jeff Johnston
a8b02d4693
2006-05-02 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-02 18:20:12 +00:00
Jeff Johnston
8f8f1db12f
2006-05-01 Jeff Johnston <jjohnstn@redhat.com>
...
* 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.
2006-05-01 22:01:07 +00:00
DJ Delorie
b34db572c1
* libc/machine/sh/configure.in: Avoid link tests.
...
* libc/machine/sh/configure: Regenerate.
2006-04-24 20:19:52 +00:00
Jeff Johnston
e163e3e138
2006-04-18 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
(sigaddset, sigemptyset): Add return code.
2006-04-18 20:06:09 +00:00
Jeff Johnston
7ad962240c
2006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* 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-13 19:56:32 +00:00
Jeff Johnston
34e666798a
2006-04-11 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-11 19:02:16 +00:00
Jeff Johnston
b577ecdf59
2006-04-07 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
anymore. Assume there is a gettimeofday syscall.
2006-04-07 21:46:00 +00:00
Jeff Johnston
ef79d97d9f
2006-03-29 Shaun Jackman <sjackman@gmail.com>
...
* libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
for the declaration of n_long.
2006-03-29 22:38:46 +00:00
Jeff Johnston
15a1b33c00
2006-03-29 Shaun Jackman <sjackman@gmail.com>
...
* 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 22:23:00 +00:00
Jeff Johnston
bcc4ff0540
2006-03-29 Shaun Jackman <sjackman@gmail.com>
...
* libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
match sys/ioctl.h.
2006-03-29 22:09:56 +00:00
Jeff Johnston
6507c09718
2006-03-29 Eric Blake <ebb9@byu.net>
...
* libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
* libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
2006-03-29 21:57:21 +00:00
Jeff Johnston
084fba647c
Fix reference to __mknod syscall to pass proper third argument.
2006-03-29 21:50:52 +00:00
Jeff Johnston
fac690bef7
2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
...
* 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 21:49:58 +00:00
Jeff Johnston
9e443adbaf
2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/sys/linux/net/name6.c: Fix struct references.
2006-03-29 21:45:17 +00:00
Mark Mitchell
3078fb4f36
* acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
...
* 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-21 00:57:34 +00:00