summaryrefslogtreecommitdiffstats
path: root/newlib/libc
Commit message (Collapse)AuthorAgeFilesLines
* 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-08-1710-180/+355
| | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: Move cmath stuff into libc/sys/linux. * Makefile.in: Regenerated. * configure.host: Default -DMB_CAPABLE for x86-linux. * libc/include/reent.h: Define _sbrk to take signed int argument. * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk. * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and make locale name checking more efficient. Also allow "C-ISO-8859-1" locale for LC_CTYPE and LC_MESSAGES. * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t. * libc/sys/linux/brk.c: Change sbrk prototype. * libc/sys/linux/include/time.h: Remove Cygwin stuff and include <sys/features.h>. (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID. (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID. * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h with a few local additions. * libc/sys/linux/sys/features.h: New file. * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes to take signed argument. * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk prototypes to take signed size argument.
* * libc/sys/linux/cmath: New directory.Thomas Fitzsimmons2002-08-1666-3/+5487
| | | | | | | | | | | | | | | | | | | * libc/sys/linux/include/cmathcalls.h: New file. * libc/sys/linux/include/complex.h: New file. * libc/sys/linux/machine/i386/huge_val.h: New file * libm/math/w_sincos.c: New file * libm/math/wf_sincos.c: New file * libm/mathfp/s_sincos.c: New file * libm/mathfp/sf_sincos.c: New file * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in. * libc/include/math.h: Add sincos and sincosf declarations. * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath. (SUBLIBS): Likewise. * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath. * libm/math/Makefile.am (src): Add w_sincos.c. (fsrc): Add wf_sincos.c. * libm/mathfp/Makefile.am (src): Add s_sincos.c (fsrc): Add sf_sincos.c.
* 2002-08-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-08-131-3/+3
| | | | | | * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end): Declare as extern chars and use the address operator to properly use values set in linker script.
* 2002-08-09 Jason Tishler <jason@tishler.net>Jeff Johnston2002-08-091-2/+11
| | | | | | | | * libc/stdlib/mallocr.c: Include <limits.h>. (request2size): Change macro to do unsigned long comparisons and avoid signed overflow. (mALLOc): Add overflow check for the number of bytes to allocate. (rEALLOc): Ditto.
* 2002-08-09 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-08-095-117/+680
| | | | | | | | | | | | | | | * configure.host: Add check for --enable-newlib-io-pos-args and define WANT_IO_POS_ARGS flag if enabled. Define the flag by default for x86-linux configurations. * configure.in: Add support for --enable-newlib-io-pos-args. * libc/configure.in: Ditto. * configure: Regenerated. * libc/configure: Ditto. * libc/stdio/Makefile.am: Specify -fshort-enums for compiling vfprintf.c and vfiprintf.c. * libc/stdio/Makefile.in: Regenerated. * libc/stdio/vfprintf.c: Add positional argument support that is enabled by compiling with -DWANT_IO_POS_ARGS.
* * libc/include/machine/setjmp.h: For mips, define _JBLEN basedRichard Sandiford2002-08-072-100/+67
| | | | | | based on __mips_soft_float rather than __mips64. * libc/machine/mips/setjmp.S: Provide hard and soft float versions of both 32-bit and 64-bit code.
* * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt" arguments forChristopher Faylor2002-08-041-1/+6
| | | | popen to match similar functionality in fopen.
* * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.Corinna Vinschen2002-07-301-0/+3
|
* 2002-07-29 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-294-23/+100
| | | | | | | * libc/sys/linux/Makefile.am: Add aio64.c. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/aio.c (aio_init): ENOSYS stub added. * libc/sys/linux/aio64.c: New file.
* 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-2612-46/+1069
| | | | | | | | | | | | | | | * libc/include/sys/param.h (MAX, MIN): Added macros. * libc/sys/linux/Makefile.am: Add new files. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/sys/stat.h: Add *stat64 prototypes. * libc/sys/linux/inode.c (fchdir): Added syscall. * libc/sys/linux/ftw.c: New file. * libc/sys/linux/ftw64.c: Ditto. * libc/sys/linux/getwd.c: Ditto. * libc/sys/linux/scandir64.c: Ditto. * libc/sys/linux/strverscmp.c: Ditto. * libc/sys/linux/versionsort.c: Ditto. * libc/sys/linux/versionsort64.c: Ditto.
* 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-261-1/+1
| | | | * libc/string/strings.tex: Fix typo for memccpy.
* 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-252-0/+21
| | | | | * libc/sys/linux/io64.c (truncate64, ftruncate64): Added. * libc/sys/linux/sys/types.h (off64_t): Definition added.
* 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-253-4/+13
| | | | | | * libc/sys/linux/Makefile.am: Add fclean.c. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/fclean.c: New file.
* 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-255-36/+204
| | | | | | | | | * libc/sys/linux/Makefile.am: Add confstr.c. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/confstr.c: New file. * libc/sys/linux/confstr.h: Ditto. * libc/sys/linux/sys/unistd.h: Include <features.h> and <bits/environments.h>.
* 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-256-11/+2
| | | | | | | | | * libc/sys/linux/config.h (__set_errno): Macro definition removed. * libc/sys/linux/fpathconf.c (__set_errno): Ditto. * libc/sys/linux/libc-internal.h (__set_errno): Ditto. * libc/sys/linux/pathconf.c (__set_errno): Ditto. * libc/sys/linux/ttyname_r.c (__set_errno): Ditto. * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
* 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-2413-34/+964
| | | | | | | | | | | | | | | | | * libc/sys/linux/Makefile.am: Add new files. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/fstab.c: New file. * libc/sys/linux/fstatvfs.c: Ditto. * libc/sys/linux/fstatvfs64.c: Ditto. * libc/sys/linux/internal_statvfs.c: Ditto. * libc/sys/linux/mntent.c: Ditto. * libc/sys/linux/mntent_r.c: Ditto. * libc/sys/linux/statvfs.c: Ditto. * libc/sys/linux/statvfs64.c: Ditto. * libc/sys/linux/include/paths.h: Ditto. * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls with double-underscore weak-aliases. * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
* 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-243-14/+11
| | | | | | | | | * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change to use _sig_func_ptr type casted constants. (_sig_func_ptr): Typedef moved to sys/signal.h. * libc/include/sys/signal.h (_sig_func_ptr): Typedef added. For __rtems, use POSIX definition, otherwise default to ANSI. * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
* 2002-07-24 Stephane Carrez <stcarrez@nerim.fr>Jeff Johnston2002-07-249-0/+2611
| | | | | | | | | | | | | | | | * configure.host: Recognize m6811-elf and m6812-elf targets. * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12. * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11. (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double. * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define according to __INT_MAX__. (_POINTER_INT): Define to short. * libc/machine/m68hc11/Makefile.am: New file. * libc/machine/m68hc11/Makefile.in: New file. * libc/machine/m68hc11/configure.in: New file. * libc/machine/m68hc11/configure: New file. * libc/machine/m68hc11/aclocal.m4: New file. * libc/machine/m68hc11/setjmp.S: New file.
* 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-2312-24/+338
| | | | | | | | | | | | | | | | | | | * libc/include/string.h: Add mempcpy, strndup, and _strndup_r prototypes. * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c. * libc/stdlib/Makefile.in: Regenerated. * libc/stdlib/strdup.c: Removed. * libc/stdlib/strdup_r.c: Removed. * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c, mempcpy.c, strndup.c, and strndup_r.c. * libc/string/Makefile.in: Regenerated. * libc/string/memccpy.c: New file. * libc/string/mempcpy.c: Ditto. * libc/string/strndup.c: Ditto. * libc/string/strndup_r.c: Ditto. * libc/string/strdup.c: New file moved from stdlib. * libc/string/strdup_r.c: Ditto. * libc/string/strings.tex: Add memccpy and mempcpy documentation.
* 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-239-40/+359
| | | | | | | | | | | | | * libc/include/stdio.h: Move fcloseall prototype within #ifndef _REENT_ONLY section. * libc/sys/linux/Makefile.am: Add new files. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/sys/stdio.h: Add ctermid prototype. * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype. * libc/sys/linux/sys/types.h: Add ino64_t type. * libc/sys/linux/ctermid.c: New file. * libc/sys/linux/ttyname_r.c: Ditto. * libc/sys/linux/readdir64.c: Ditto.
* 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-226-40/+130
| | | | | | | | | * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes. * libc/stdio/Makefile.am: Added fcloseall.c support. * libc/stdio/Makefile.in: Regenerated. * libc/stdio/fcloseall.c: New file. * libc/stdio64/Makefile.am: Remove missing .def references. * libc/stdio64/Makefile.in: Regenerated.
* 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-223-3/+3
| | | | | | | * libc/machine/powerpc/time.c: Removed..renamed to times.c. * libc/machine/powerpc/times.c: New file. * libc/machine/powerpc/Makefile.am: Change time.c to times.c. * libc/machine/powerpc/Makefile.in: Regenerated.
* 2002-07-19 Aldy Hernandez <aldyh@redhat.com>Jeff Johnston2002-07-223-3/+39
| | | | | | | * libc/machine/powerpc/time.c: New file. * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add time.c. * libc/machine/powerpc/Makefile.in: Regenerated.
* * libc/libc.texinfo: Change copyright notices to Red Hat fromThomas Fitzsimmons2002-07-221-10/+11
| | | | | | | Cygnus. * libm/libm.texinfo: Likewise. * README: Change docs URL to http://sources.redhat.com/newlib/docs.html.
* 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-208-29/+926
| | | | | | | | | | | * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls. * libc/sys/linux/io.c: Add ftruncate syscall. * libc/sys/linux/fpathconf.c: New file. * libc/sys/linux/pathconf.c: Ditto. * libc/sys/linux/linux_fsinfo.h: Ditto. * libc/sys/linux/sys/unistd.h: Ditto.
* 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-192-12/+4
| | | | | * libc/stdio64/Makefile.am: Remove missing files. * libc/stdio64/Makefile.in: Regenerated.
* 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-198-20/+122
| | | | | | | | | | | | | * libc/include/sys/config.h[__i386__][__linux__]: Define _LARGE64FILE_SOURCE to 1. * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases. * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition. * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead of <linux/resource.h>. * libc/sys/linux/getrlimit64.c: New file. * libc/sys/linux/setrlimit64.c: Ditto.
* * libc/argz/argz_replace.c: Include buf_findstr.h.Thomas Fitzsimmons2002-07-1927-38/+351
| | | | | | | | | | | | | * libc/argz/buf_findstr.c: Likewise. * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return value to (char *). * libc/argz/envz_get.c: Likewise. * libc/include/sys/unistd.h: Add getopt and getsubopt declarations. * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c. * libc/stdlib/getsubopt.3: New file. * libc/stdlib/getsubopt.c: New file. * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base): Change esp to ebp.
* 2002-07-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-1731-37/+2079
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.host(stdio64_dir): New setting that is used to enable building of new stdio64 directory. * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for large files. (stmp-stdio64,stdio64.texi): New targets to optionally add in stdio64 info to info files. * libc/Makefile.in: Regenerated. * libc/configure: Ditto. * libc/configure.in: Add configuration variables that are set when stdio64 is selected as subdir in configure.host. * libc/libc.texinfo: Add optional menu item for Stdio64, based on whether STDIO64 flag is set or not. * libc/sys.tex: Add optional stdio64 syscalls based on whether STDIO64 flag is set or not. * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64 _r sycall routines. * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes. (FILE): Typedef'd to __FILE instead of struct __sFILE directly. (__SL64): New file flag indicating file is opened via fopen64. * libc/include/sys/_types.h(_off64_t): Added. * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES. * libc/include/sys/reent.h(struct __sFILE64): New file structure for 64-bit offset large file support. (__FILE): New intermediate type either set to struct __sFILE64 or struct __sFILE, depending on whether __LARGE64_FILES is set or not. * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files. * libc/reent/Makefile.in: Regenerated. * libc/reent/fstat64r.c: New file. * libc/reent/lseek64r.c: Ditto. * libc/reent/open64r.c: Ditto. * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls based on whether STDIO64 flag is set. * libc/stdio/stdio.tex: Add blank line. * libc/stdio64/Makefile.am: New file. * libc/stdio64/Makefile.in: Ditto. * libc/stdio64/fgetpos64.c: Ditto. * libc/stdio64/fopen64.: Ditto. * libc/stdio64/freopen64.c: Ditto. * libc/stdio64/fseeko64.c: Ditto. * libc/stdio64/fsetpos64.c: Ditto. * libc/stdio64/ftello64.c: Ditto. * libc/stdio64/local64.h: Ditto. * libc/stdio64/stdio64.c: Ditto. * libc/stdio64/stdio64.tex: Ditto. * libc/stdio64/tmpfile64.c: Ditto. * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and open64.
* 2002-07-16 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-169-5/+98
| | | | | | | | | | | | | * libc/Makefile.am (stmp-extra): New target to set makeinfo flag if LIBC_EXTRA_LIB is present. * libc/Makefile.in: Regenerated. * libc/libc.texinfo: Add blank line. * libc/argz/Makefile.am: Add doc support. * libc/search/Makefile.am: Ditto. * libc/argz/Makefile.in: Regenerated. * libc/search/Makefile.in: Ditto. * libc/misc/misc.tex: Add ffs function. * libc/stdio/ftell.c: Fix missing doc delimeter in description.
* 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-151-1/+1
| | | | | | | * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS definition that was removed in error. Move definition before comment regarding H8300 macro definition.
* 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-151-0/+1
| | | | | * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS definition that was removed in error.
* 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-152-161/+50
| | | | | | | | * libc/include/machine/ieeefp.h: Change to only define floating point defines (e.g one of __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN must be defined for each platform). * libc/include/sys/config.h: Include <machine/ieeefp.h> and remove redundant floating point definitions.
* 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-151-1/+7
| | | | | * libc/sys/linux/callocr.c: Fix so code references calloc.
* 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-1550-41/+6823
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/sys/linux/Makefile.am: Add new files. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/bp-sym.h: Moved to include directory. * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap. * libc/sys/linux/inode.c: Set _LIBC to 1. * libc/sys/linux/mq_close.c: Ditto. * libc/sys/linux/mq_getattr.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/calloc.c: New file. * libc/sys/linux/callocr.c: Ditto. * libc/sys/linux/cfreer.c: Ditto. * libc/sys/linux/config.h: Ditto. * libc/sys/linux/free.c: Ditto. * libc/sys/linux/freer.c: Ditto. * libc/sys/linux/msize.c: Ditto. * libc/sys/linux/msizer.c: Ditto. * libc/sys/linux/mstats.c: Ditto. * libc/sys/linux/mtrim.c: Ditto. * libc/sys/linux/mtrimr.c: Ditto. * libc/sys/linux/pvallocr.c: Ditto. * libc/sys/linux/realloc.c: Ditto. * libc/sys/linux/reallocr.c: Ditto. * libc/sys/linux/thread-m.h: Ditto. * libc/sys/linux/vallocr.c: Ditto. * libc/sys/linux/bp-checks.h: Ditto. * libc/sys/linux/libc-symbols.h: Ditto. * libc/sys/linux/libc-tsd.h: Ditto. * libc/sys/linux/libintl.h: Ditto. * libc/sys/linux/malign.c: Ditto. * libc/sys/linux/malignr.c: Ditto. * libc/sys/linux/mallinfor.c: Ditto. * libc/sys/linux/malloc.c: Ditto. * libc/sys/linux/mallocr.c: Ditto. * libc/sys/linux/malloptr.c: Ditto. * libc/sys/linux/mallstatsr.c: Ditto. * libc/sys/linux/mcheck.c: Ditto. * libc/sys/linux/mhooks.h: Ditto. * libc/sys/linux/include/bp-sym.h: Ditto. * libc/sys/linux/include/malloc.h: Ditto. * libc/sys/linux/include/mcheck.h: Ditto. * libc/sys/linux/machine/i386/getpagesize.c: New file. * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c. * libc/sys/linux/machine/i386/Makefile.in: Regenerated. * libc/sys/linux/machine/i386/sysdep.h: New file. * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support. * libc/sys/linux/sys/dirent.h: Set _LIBC to 1. * libc/sys/linux/sys/types.h: Add new types.
* 2002-07-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-07-122-2/+7
| | | | | | | | * 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-10 Florian Shrack <florian.schrack@freenet.de>Jeff Johnston2002-07-102-0/+11
| | | | | | * 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-081-0/+2
| | | | * libc/include/math.h (MAXFLOAT): Added.
* Some small speedups.Joern Rennecke2002-07-081-4/+6
|
* * libc/machine/sh/Makefile.am (lib_a_SOURCES):Joern Rennecke2002-07-074-32/+184
| | | | | | | | 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-041-2/+4
| | | | | * 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-047-6/+108
| | | | | | | | | | | | * 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-0460-60/+147
| | | | | * 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-047-30/+109
| | | | | | | | | | * 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-048-52/+272
| | | | | | | | | | | | * 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-032-14/+4
| | | | * libc/search/hcreate_r.c: Likewise.
* 2002-07-02 Chris Demetriou <cgd@broadcom.com>Jeff Johnston2002-07-024-20/+104
| | | | | | | | | | | | | * 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.
* 2002-06-27 Benjamin Kosnik <bkoz@redhat.com>Jeff Johnston2002-06-2711-53/+85
| | | | | | | | | | | | | | | * 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.