summaryrefslogtreecommitdiffstats
path: root/newlib
Commit message (Collapse)AuthorAgeFilesLines
* 2002-07-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-123-2/+15
| | | | | | | | * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h> instead of <asm/siginfo.h>. * libc/sys/linux/sys/signal.h: Change to include various linux <bits/xxx.h> header files, rather than <linux/signal.h> so as to work with multiple releases of glibc header files.
* 2002-07-11 Chris Demetriou <cgd@broadcom.com>Jeff Johnston2002-07-113-0/+143
| | | | | | * testsuite/newlib.search/hsearchtest.c: New file to test newlib/libc/search. * testsuite/newlib.search/hsearchtest.exp: Likewise.
* Fix name typo.Jeff Johnston2002-07-101-1/+1
|
* 2002-07-10 Florian Shrack <florian.schrack@freenet.de>Jeff Johnston2002-07-103-0/+17
| | | | | | * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with a terminal. * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
* 2002-07-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-082-0/+6
| | | | * libc/include/math.h (MAXFLOAT): Added.
* Some small speedups.Joern Rennecke2002-07-082-5/+7
|
* * libc/machine/sh/Makefile.am (lib_a_SOURCES):Joern Rennecke2002-07-075-32/+193
| | | | | | | | Make strcmp.S unconditional. * libc/machine/sh/Makefile.in: Regenerate. * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ . * strcmp.S (strcmp): Add SHmedia variant. Use different registers for SHcompact.
* 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-042-2/+9
| | | | | * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC define before including <sys/lock.h>.
* 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-048-6/+120
| | | | | | | | | | | | * libc/include/utime.h: Add include of <_ansi.h>. * libc/sys/linux/Makefile.am: Add utimes.c. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/inode.c(__umask): New static routine. (umask): Written to use __umask and attempt to thread lock. (getumask): New function written to use __umask and thread lock. * libc/sys/linux/utimes.c: New file. * libc/sys/linux/sys/time.h: Fix utimes prototype. * libc/sys/linux/sys/utime.h: New file.
* * Remove files (should have been done on 2002-06-20).Thomas Fitzsimmons2002-07-042-322/+0
|
* * process.c: Add comment.Thomas Fitzsimmons2002-07-041-0/+3
|
* * libtool.m4: New file.Thomas Fitzsimmons2002-07-0466-64/+1037
| | | | | * libc/sys/linux/process.c: Implement vfork in terms of fork, rather than as a syscall.
* 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-048-30/+119
| | | | | | | | | | * libc/include/stdio.h: Add new prototypes. * libc/stdio/Makefile.am: Add fseeko.c and ftello.c. * libc/stdio/Makefile.in: Regenerated. * libc/stdio/fseek.c: Add fseeko documentation. * libc/stdio/ftell.c: Add ftello documentation. * libc/stdio/fseeko.c: New file. * libc/stdio/ftello.c: New file.
* 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-049-52/+284
| | | | | | | | | | | | * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c. * libc/stdio/Makefile.in: Regenerated. * libc/stdio/asprintf.c: New file. * libc/stdio/vasprintf.c: Ditto. * libc/stdio/fvwrite.c: Add code to dynamically reallocate the buffer for asprintf support. * libc/stdio/sprintf.c: Add asprintf documentation. * libc/stdio/vfprintf.c: Add vasprintf documentation. * libc/include/stdio.h: Add new prototypes.
* * libc/search/hcreate.c: Remove advertising clause from license.Thomas Fitzsimmons2002-07-033-14/+9
| | | | * libc/search/hcreate_r.c: Likewise.
* 2002-07-02 Chris Demetriou <cgd@broadcom.com>Jeff Johnston2002-07-025-20/+117
| | | | | | | | | | | | | * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN) (__IEEE_BIG_ENDIAN): Define appropriately for MIPS. Check that one of them is defined and error out if not. Add any platforms defined in <machine/ieeefp.h> that are missing. * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN) (DB_LITTLE_ENDIAN): New defines. * libc/search/hash.c: Replace all incorrect checks for _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions. * libc/search/hash_page.c: Likewise.
* * libm/mathfp/sf_pow.c (powf): Change k from int to float.Thomas Fitzsimmons2002-06-282-2/+6
|
* 2002-06-27 Benjamin Kosnik <bkoz@redhat.com>Jeff Johnston2002-06-2712-53/+100
| | | | | | | | | | | | | | | * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C. * libc/include/time.h: Same. * libc/include/string.h: Same. * libc/include/stdlib.h: Same. * libc/include/signal.h: Same. * libc/include/setjmp.h: Same. * libc/include/math.h: Same. * libc/include/locale.h: Same. * libc/include/ctype.h: Same. * libc/include/machine/setjmp.h: Same. * libc/include/_ansi.h (_BEGIN_STD_C): Add. (_END_STD_C): Add.
* 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-06-2710-23/+118
| | | | | | | | | | | | | | * libc/include/sys/_types.h: Define _ssize_t as int if int is 32-bits, otherwise define it as long. * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h> and define ssize_t as _ssize_t. * libc/reent/readr.c: Change return type to _ssize_t. * libc/reent/writer.c: Ditto. * libc/sys/linux/Makefile.am: Add aio.c. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/aio.c: New file. * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition. * libm/common/fdlibm.h: Undef __P before defining it.
* * libm/mathfp/s_pow.c (pow): Fix checks on variable k. AddThomas Fitzsimmons2002-06-273-51/+90
| | | | | | exponent_is_even_int variable. Handle case where x is negative, and y is an odd integer. * libm/mathfp/sf_pow.c (powf): Likewise.
* * libm/mathfp/er_lgamma.c: Remove __kernel references.Thomas Fitzsimmons2002-06-275-21/+48
| | | | | | * libm/mathfp/erf_lgamma.c: Likewise. * libm/mathfp/s_tgamma.c: Likewise. * libm/mathfp/sf_tgamma.c: Likewise.
* 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-06-2718-22/+1111
| | | | | | | | | | | | | | | | | | | | | * libc/sys/linux/Makefile.am: Add new clock routines. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/clock_getres.c: New file. * libc/sys/linux/clock_gettime.c: Ditto. * libc/sys/linux/clock_settime.c: Ditto. * libc/sys/linux/hp-timing.h: Ditto. * libc/sys/linux/libc-internal.h: Ditto. * libc/sys/linux/sysconf.c: Fix typo. * libc/sys/linux/include/time.h: New file. * libc/sys/linux/machine/hp-timing.h: New file. * libc/sys/linux/machine/i386/Makefile.am: Add new files. * libc/sys/linux/machine/i386/Makefile.in: Regenerated. * libc/sys/linux/machine/i386/get_clockfreq.c: New file. * libc/sys/linux/machine/i386/hp-timing.c: Ditto. * libc/sys/linux/machine/i386/hp-timing.h: Ditto. * libc/sys/linux/sys/linux_time.h: Ditto. * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and replace with <sys/linux_time.h>.
* ld:Joern Rennecke2002-06-262-6/+4
| | | | | | | | | | | | * emulparams/shelf.sh (STACK_ADDR): Don't define. (OTHER_SECTIONS): Define. * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef. (OTHER_SECTIONS): Undef. newlib: * libc/sys/sh/crt0.S: Remove vestigial .section directive. gcc: * config/sh/crt1.asm: remove _stack label definition and sentinel value.
* 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-06-253-12/+21
| | | | | | * libc/sys/linux/Makefile.am: Consolidate additional items under ADD_OBJS. * libc/sys/linux/Makefile.in: Regenerated.
* 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-06-254-17/+39
| | | | | | * libc/sys/linux/sethostname.c: New file. * libc/sys/linux/Makefile.am: Add sethostname.c support. * libc/sys/linux/Makefile.in: Regenerated.
* Fix typo in latest change to libc/machine/sh - new file should be strlen.S.Jeff Johnston2002-06-251-1/+1
|
* * libc/search/db_local.h: New file.Thomas Fitzsimmons2002-06-2410-7/+34
| | | | | | | | | | | | * libc/include/db.h: Remove. * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h. * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to "db_local.h". * libc/search/hash_bigkey.c: Likewise. * libc/search/hash_buf.c: Likewise. * libc/search/hash_func.c: Likewise. * libc/search/hash_log2.c: Likewise. * libc/search/hash_page.c: Likewise.
* 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-06-242-2/+8
| | | | | * libc/sys/linux/gethostname.c: Change name to __gethostname and add gethostname alias.
* * libc/machine/sh/strcpy.S: New file.Joern Rennecke2002-06-244-8/+101
| | | | | * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it. * libc/machine/sh/Makefile.am: Regenerate.
* Fix typos.Jeff Johnston2002-06-241-2/+2
|
* 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-06-245-2/+13
| | | | | | | | | * libc/include/math.h: Remove <sys/types.h>. (__dmath): Use __ULong instead of _uint32_t. * libc/include/sys/reent.h: If long or int is not 32-bits, include <sys/types.h> to get definitions for _int32_t and _uint32_t. * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs. * libm/common/fdlibm.h: Ditto.
* * libc/include/ndbm.h: Remove.Thomas Fitzsimmons2002-06-245-316/+7
| | | | * libc/search/ndbm.c: Remove.
* 2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>Thomas Fitzsimmons2002-06-242-2/+8
| | | | * libc/stdio/fseek.c (fseek): Fix braces.
* * libc/time/strftime.c (strftime): Add %e format specifier.Corinna Vinschen2002-06-212-0/+17
|
* * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if notThomas Fitzsimmons2002-06-212-1/+11
| | | | previously defined.
* 2002-06-21 Richard Earnshaw (rearnsha@arm.com)Jeff Johnston2002-06-212-0/+14
| | | | | * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define. (BYTE_ORDER): Define as appropriate for the target.
* 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-06-213-2/+9
| | | | | | * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE to _ssize_t. * libc/sys/linux/io.c (read, write): Change to return ssize_t.
* 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-06-2114-29/+667
| | | | | | | | | | | | | | | | | | * libc/include/stdio.h (__getline, __getdelim): New prototypes. * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto. [HAVE_GETDATE](getdate_err): New error code. * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c. * libc/stdio/Makefile.in: Regenerated. * libc/stdio/getdelim.c: New file. * libc/stdio/getline.c: Ditto. * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/getdate.c: New file. * libc/sys/linux/getdate_err.c: Ditto. * libc/sys/linux/ntp_gettime.c: Ditto. * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions. * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
* 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-06-219-51/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition. * libc/include/machine/types.h: Skip __off_t, __pid_t, and __loff_t definitions if special _HAVE_SYSTYPES macro defined. * libc/include/sys/config.h: Removed _uint*, _int* definitions. * libc/include/sys/param.h: Remove i386 case which is handled by default case. (BIG_ENDIAN, LITTLE_ENDIAN): Protect definitions in case they are already defined. (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and _IEEE_LITTLE_ENDIAN flags. * libc/include/sys/reent.h: Change __uint32_t references to use _ULong instead. (_REENT_GETDATE_REENT_P): New macro. * libc/include/sys/types.h (__int16_t, __uint16_t): Added. (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto. * libc/search/hash.h: Add default setting of BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined. * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t, pid_t, off_t, loff_t, caddr_t, and daddr_t type definitions which are done by subsequent glibc headers. Add macro definitions to prevent subsequent header files from defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and intptr_t to after glibc definitions of types they are based on.
* 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-06-212-0/+9
| | | | * libc/include/errno.h: Protect from multiple inclusion.
* Set correct value for ADP_Stopped_RunTimeErrorNick Clifton2002-06-212-32/+31
|
* * Makefile.am (LIB_OBJECTLISTS): AddThomas Fitzsimmons2002-06-2040-55/+6621
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libc/search/objectlist.awk.in. * libc/Makefile.am (SUBDIRS): Add search. (SUBLIBS): Add search/libsearch.la. * libc/configure.in (AC_OUTPUT): Add search/Makefile. * libc/search: New directory. * libc/search/Makefile.am: New file. * libc/search/extern.h: New file. * libc/search/hash.c: New file. * libc/search/hash.h: New file. * libc/search/hash_bigkey.c: New file. * libc/search/hash_buf.c: New file. * libc/search/hash_func.c: New file. * libc/search/hash_log2.c: New file. * libc/search/hash_page.c: New file. * libc/search/hcreate.3: New file. * libc/search/hcreate.c: New file. * libc/search/hcreate.c~: New file. * libc/search/hcreate_r.c: New file. * libc/search/ndbm.c: New file. * libc/search/page.h: New file. * libc/search/tdelete.c: New file. * libc/search/tdestroy.c: New file. * libc/search/tfind.c: New file. * libc/search/tsearch.3: New file. * libc/search/tsearch.c: New file. * libc/search/twalk.c: New file. * libc/include/db.h: New file. * libc/include/ndbm.h: New file. * libc/include/search.h: New file. * libc/include/sys/queue.h: New file. * libc/include/sys/cdefs.h: New file. * libc/include/sys/param.h [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to LITTLE_ENDIAN or BIG_ENDIAN. * libc/include/sys/errno.h (EFTYPE): New macro. * libc/search/bsearch.c: Move from libc/stdlib. * libc/search/qsort.c: Likewise. * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and qsort.c. (CHEWOUT_FILES): Remove bsearch.def and qsort.def. * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
* 2002-06-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-06-1916-19/+1009
| | | | | | | | | | | | | | | | | | | | * libc/sys/linux/Makefile.am: Add support for message queue routines, ipc routines, and ftok. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/ftok.c: New file. * libc/sys/linux/ipc.c: Ditto. * libc/sys/linux/mq_close.c: Ditto. * libc/sys/linux/mq_getattr.c: Ditto. * libc/sys/linux/mq_notify.c: Ditto. * libc/sys/linux/mq_open.c: Ditto. * libc/sys/linux/mq_receive.c: Ditto. * libc/sys/linux/mq_send.c: Ditto. * libc/sys/linux/mq_setattr.c: Ditto. * libc/sys/linux/mq_unlink.c: Ditto. * libc/sys/linux/mqlocal.h: Ditto. * libc/sys/linux/include/mqueue.h: Ditto. * libc/sys/linux/sys/types.h: Define __gid_t_defined and __uid_t_defined.
* * libm/common/sf_lround.c (round): Change name to: (lround).Thomas Fitzsimmons2002-06-193-4/+10
| | | | | * libm/common/sf_remquo.c (remquo): Pass all arguemnts to remquof.
* * testsuite/lib/passfail.exp (newlib_pass_fail_all): NewThomas Fitzsimmons2002-06-184-26/+48
| | | | | | | | procedure. (newlib_pass_fail): Change to compile and run only one file. * testsuite/newlib.locale/locale.exp: Use new newlib_pass_fail_all procedure. * testsuite/newlib.string/string.exp: Likewise.
* 2002-06-18 Dave Brolley <brolley@redhat.com>Dave Brolley2002-06-1812-0/+2596
| | | | | | | | | | | | | From Catherine Moore, Michael Meissner, Richard Sandiford: * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__. (_JBTYPE): Ditto. * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto. (__ATTRIBUTE_IMPURE_PTR__): Ditto. * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto. * configure.host: Support frv-*-*. * libc/machine/frv/Makefile.am: New file. * libc/machine/frv/configure.in: New file. * libc/machine/frv/setjmp.S: New file.
* * libc/include/ctype.h: Remove isblank macro.Thomas Fitzsimmons2002-06-186-11/+64
| | | | | | | * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c. * libc/ctype/isblank.c: New file. * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank declaration. Add isblank macro.
* 2002-06-18 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-06-184-1/+69
| | | | | | | * testsuite/newlib.stdlib/atexit.c: New file. * testsuite/newlib.stdlib/atexit.exp: Ditto. * testsuite/newlib.string/tstring.c: Change default start size to something more reasonable for embedded platforms.
* * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.Thomas Fitzsimmons2002-06-152-0/+3
|
* * libc/argz: New directory.Thomas Fitzsimmons2002-06-1431-12/+1274
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/argz/*: New files. * libc/argz/argz_add.c: New file. * libc/argz/argz_add_sep.c: New file. * libc/argz/argz_append.c: New file. * libc/argz/argz_count.c: New file. * libc/argz/argz_create.c: New file. * libc/argz/argz_create_sep.c: New file. * libc/argz/argz_delete.c: New file. * libc/argz/argz_extract.c: New file. * libc/argz/argz_insert.c: New file. * libc/argz/argz_next.c: New file. * libc/argz/argz_replace.c: New file. * libc/argz/argz_stringify.c: New file. * libc/argz/buf_findstr.c: New file. * libc/argz/envz_add.c: New file. * libc/argz/envz_entry.c: New file. * libc/argz/envz_get.c: New file. * libc/argz/envz_merge.c: New file. * libc/argz/envz_remove.c: New file. * libc/argz/envz_strip.c: New file. * libc/include/argz.h: New file. * libc/include/envz.h: New file. * Makefile.am (LIBC_OBJECTLISTS): Add libc/argz/objectlist.awk.in. * libc/Makefile.am (SUBDIRS): Add argz. (SUBLIBS): Add argz/libargz.la. * libc/configure.in (AC_OUTPUT): Add argz/Makefile. * libc/include/errno.h: Add error_t typedef.