aboutsummaryrefslogtreecommitdiff
path: root/newlib
AgeCommit message (Collapse)AuthorFilesLines
2006-01-042006-01-04 Gregory Pietsch <gpietsch@comcast.net>Jeff Johnston3-107/+538
* libc/stdlib/getopt.c: Replaced with version that adds getopt_long and getopt_long_only support. * libc/include/getopt.h: New file.
2005-12-162005-12-16 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston150-159/+190
* NEWS: Update with 1.14.0 info. * README: Ditto. * acinclude.m4: Change version number to 1.14.0. * aclocal.m4: Regenerated. * configure: Ditto. * doc/aclocal.m4: Ditto. * doc/configure: Ditto. * libc/*/aclocal.m4: Ditto. * libc/*/configure: Ditto. * libc/libc.texinfo: Ditto. * libm/*/aclocal.m4: Ditto. * libm/*/configure: Ditto. * libm/libm.texinfo: Ditto. * libc/sys/linux/shared.ld: Add VERS_1.14.
2005-12-162005-12-16 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-4/+9
* libc/sys/linux/sys/stat.h: Change *stat64 prototypes to take a pointer to struct stat64 rather than struct stat.
2005-12-162005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston3-12/+19
* libc/include/stdint.h: Prefer long over int for int32_t. Use __have_long32 to set up int32_t. * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx" (Sync with stdint.h).
2005-12-14 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. FixCorinna Vinschen2-4/+7
typo in O_NDELAY comment.
2005-12-132005-12-13 Nathan Sidwell <nathan@codesourcery.com>Jeff Johnston5-4/+11
* libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__. * libc/include/machine/setjmp.h (__mt__): Likewise. * libc/machine/mt/setjmp.S: Rename ms1 reference to mt. * libc/machine/configure.in: Ditto.
2005-12-12 Rename ms1 to mt, part 1Nathan Sidwell2-2/+7
* config.sub: Replace ms1 arch with mt. Allow ms1 as alias. * configure.in: Replace ms1 arch with mt. * configure: Rebuilt. * bfd/Makefile.am (ALL_MACHINES, ALL_MACHINES_CFILES, BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Replace ms1 with mt. (cpu_mt.lo, elf32-mt.lo): Update target and dependency names. * bfd/Makefile.in: Rebuilt. * bfd/config.bfd: Replace ms1 arch with mt. * bfd/configure.in: Replace ms1 files with mt files. * bfd/configure: Rebuilt. * bfd/elf32-mt.c: Renamed from elf32-ms1.c. Update include files. * bfd/cpu-mt.c: Renamed from cpu-ms1.c. * cpu/mt.cpu: Rename from ms1.cpu. * cpu/mt.opc: Rename from ms1.opc. * binutils/Makefile.am: Replace ms1 files with mt files. * binutils/Makefile.in: Rebuilt. * binutils/readelf.c (elf/mt.h): Adjust #include. * gas/configure.in: Replace ms1 arch with mt arch. * gas/configure: Rebuilt. * gas/configure.tgt: Replace ms1 arch with mt arch. * gas/config/tc-mt.c: Renamed from tc-ms1.c: Update include files. * gas/doc/Makefile.am (CPU_DOCS): Replace ms1 files with mt files. * gas/doc/Makefile.in: Rebuilt. * gas/testsuite/gas/mt: Renamed from ms1 dir. Update file names as needed. * gas/testsuite/gas/mt/errors.exp: Replace ms1 arch with mt arch. * gas/testsuite/gas/mt/mt.exp: Replace ms1 arch with mt arch. * gas/testsuite/gas/mt/relocs.exp: Replace ms1 arch with mt arch. * gdb/configure.tgt: Replace ms1 arch with mt arch. * gdb/config/mt: Renamed from ms1 dir. Update file names as needed. * gdb/config/mt/mt.mt (TDEPFILES): Replace ms1 file with mt file. * include/elf/mt.h: Renamed from ms1.h * ld/Makefile.am (ALL_EMULATIONS): Replace ms1 files with mt files. (eelf32mt.c): Update target name and dependencies. * ld/Makefile.in: Rebuilt. * ld/configure.tgt: Replace ms1 arch with mt arch. * ld/emulparams/elf32mt.sh: Renamed from elf32ms1.sh. Update comment. * libgloss/configure.in: Replace ms1 arch with mt arch. * libgloss/configure: Rebuilt. * libgloss/mt: Renamed from ms1 dir. * newlib/configure.host: Replace ms1 arch with mt arch. * newlib/libc/machine/mt: Renamed from ms1 dir. * opcodes/Makefile.am (CLEANFILES, CGEN_CPUS, MT_DEPS): Replace ms1 with mt. * opcodes/Makefile.in: Rebuilt. * opcodes/configure.in: Replace ms1 files with mt files. * opcodes/configure: Rebuilt. * sid/component/cgen-cpu/mt: Renamed from ms1 dir. Update file names as appropriate. * sid/component/cgen-cpu/mt/Makefile.am: Replace ms1 files with mt files. * sid/component/cgen-cpu/mt/Makefile.in: Rebuilt.
2005-12-12Rename ms1 files to mt files (part 1 -- renames only)Nathan Sidwell6-0/+0
2005-12-082005-12-08 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2-9/+5
* libc/include/sys/types.h: Remove the ifdef armour around standard POSIX types.
2005-12-062005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2-1/+26
* libc/sys/rtems/crt0.c: Add rtems_gxx_key_create, rtems_gxx_key_delete, rtems_gxx_getspecific, rtems_gxx_setspecific, rtems_gxx_mutex_trylock, rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock, rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
2005-12-05* libc/include/stdlib.h: Move cygwin declarations to cygwin-specific file.Christopher Faylor2-42/+9
Declare unsetenv and _unsetenv_r when not cygwin.
2005-11-182005-11-18 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-3/+13
* libc/time/strptime.c (strptime): Don't abort for %c and %Z. Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
2005-11-18 * libc/include/ieeefp.h: Add C++ guards.Corinna Vinschen2-0/+9
2005-11-18* include/sys/time.h: Move more cygwin stuff to cygwin-specific header.Christopher Faylor2-4/+4
2005-11-18* include/time.h: Remove more cygwin-specific stuff.Christopher Faylor2-18/+4
2005-11-18* include/time.h: Move cygwin declarations to cygwin-specific header.Christopher Faylor3-11/+10
* include/sys/time.h: Rename cygwin include to "sys_time.h".
2005-11-172005-11-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston5-150/+160
* libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h in libc/sys/linux/include. * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include. * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h. * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly in libc/sys/linux/dl.
2005-11-11* libc/include/sys/time.h: For cygwin, use general header rather than specificChristopher Faylor2-1/+6
"sys/select.h".
2005-11-082005-11-08 Tom Walsh <tom@openhardware.net>Jeff Johnston5-9/+24
* libc/time/tzvars.c: New file. * libc/time/tzset_r.c: Moved globals into tzvars.c so other time functions needn't link in __tzset_r and its dependencies. * libc/time/Makefile.am: Add the new file. * libc/time/Makefile.in: Regenerated.
2005-11-08* libc/include/string.h: Add cygwin-specific function declaration.Christopher Faylor2-0/+7
2005-11-032005-11-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston6-21/+29
* libc/unix/getcwd.c: Don't use non-reentrant syscall names. * libc/unix/getlogin.c: Ditto. * libc/unix/getpass.c: Ditto. * libc/unix/getut.c: Ditto. * libc/unix/ttyname.c: Ditto.
2005-11-032005-11-03 Shaun Jackman <sjackman@gmail.com>Jeff Johnston4-3/+12
* libc/include/sys/unistd.h (readlink, symlink): Provide these prototypes by default. * libc/sys/linux/include/unistd.h (readlink): Remove this prototype. * libc/sys/linux/sys/unistd.h (readlink, symlink): New prototypes.
2005-11-012005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2-9/+12
* libc/include/stdint.h: Cleanup #if vs. #ifdef.
2005-10-312005-10-31 Darin Johnson <darin@usa.net>Jeff Johnston2-3/+8
* libm/mathfp/s_mathcnst.c: Fix endian-ness check to be correct for constants.
2005-10-282005-10-28 Bob Wilson <bob.wilson@acm.org>Jeff Johnston9-29/+48
* libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS. * libc/stdio/siscanf.c: Likewise. * libc/stdio/sprintf.c: Likewise. * libc/stdio/sscanf.c: Likewise. * libc/stdio/vfprintf.c: Likewise. * libc/stdio/vfscanf.c: Likewise. * libc/stdio/viprintf.c: Likewise. * libc/stdio/viscanf.c: Likewise.
2005-10-282005-10-28 Bob Wilson <bob.wilson@acm.org>Jeff Johnston2-42/+47
* libc/sys.tex (Stubs): Format examples consistently. Change sbrk example to use "_end" symbol instead of "end". Change write example to use "outbyte" instead of "writechar".
2005-10-282005-10-28 Bob Wilson <bob.wilson@acm.org>Jeff Johnston38-133/+173
* libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise. * libc/ctype/islower.c: Likewise. * libc/ctype/isupper.c: Likewise. * libc/ctype/iswalnum.c: Likewise. * libc/ctype/iswalpha.c: Likewise. * libc/ctype/iswblank.c: Likewise. * libc/ctype/iswcntrl.c: Likewise. * libc/ctype/iswdigit.c: Likewise. * libc/ctype/iswgraph.c: Likewise. * libc/ctype/iswlower.c: Likewise. * libc/ctype/iswprint.c: Likewise. * libc/ctype/iswpunct.c: Likewise. * libc/ctype/iswspace.c: Likewise. * libc/ctype/iswupper.c: Likewise. * libc/ctype/iswxdigit.c: Likewise. * libc/ctype/tolower.c: Likewise. * libc/ctype/toupper.c: Likewise. * libc/ctype/towctrans.c: Likewise. * libc/ctype/towlower.c: Likewise. * libc/ctype/towupper.c: Likewise. * libc/string/strcasecmp.c: Likewise. * libc/string/strcoll.c: Likewise. * libc/string/strings.tex: Likewise. * libc/string/strlwr.c: Likewise. * libc/string/strncasecmp.c: Likewise. * libc/string/strupr.c: Likewise. * libc/string/wcscoll.c: Likewise. * libc/string/wcslcat.c: Likewise. * libc/string/wcslcpy.c: Likewise. * libc/string/wcsnlen.c: Likewise. * libc/string/wcsstr.c: Likewise. * libc/string/wcstrings.tex: Likewise. * libc/string/wmemchr.c: Likewise. * libc/string/wmemcmp.c: Likewise. * libc/string/wmemcpy.c: Likewise. * libc/string/wmemmove.c: Likewise. * libc/string/wmemset.c: Likewise.
2005-10-282005-10-28 Bob Wilson <bob.wilson@acm.org>Jeff Johnston52-132/+192
* libc/misc/unctrl.c: Replace FUNCTION description. * libc/signal/signal.c: Remove documentation for raise and _raise_r. * libc/stdio/getdelim.c: Fix spelling errors. * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation. * libc/stdio/putw.c: Likewise. * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in documentation. * libc/stdlib/assert.c: Do not capitalize FUNCTION description. * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description. * libc/stdlib/envlock.c: Use em-dash in FUNCTION description. * libc/stdlib/mlock.c: Likewise. * libc/stdlib/mstats.c: Likewise. * libc/time/tzlock.c: Likewise. * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES. * libc/stdlib/rand48.c: Remove extra space in FUNCTION description and hyphenate "pseudo-random". * libc/string/bcmp.c: Remove extra blank lines in documentation. * libc/string/strncat.c: Likewise. * libc/string/memchr.c: Remove extra ">" character in documentation. * libc/string/strcspn.c: Use "characters" instead of "chars". * libc/string/strpbrk.c: Likewise. * libc/string/strerror_r.c: Capitalize "GNU". * libc/string/strnlen.c: Likewise. * libc/string/strtok.c: Fix formatting, spelling and punctuation in documentation. Use "multi-threaded" and "thread-safe" in NOTES. * libc/string/wcscat.c: Split PORTABILITY into two paragraphs. * libc/string/wcschr.c: Likewise. * libc/string/wcscmp.c: Likewise. * libc/string/wcscpy.c: Likewise. * libc/string/wcscspn.c: Likewise. * libc/string/wcslen.c: Likewise. * libc/string/wcsncat.c: Likewise. * libc/string/wcsncmp.c: Likewise. * libc/string/wcsncpy.c: Likewise. * libc/string/wcsnlen.c: Likewise. * libc/string/wcspbrk.c: Likewise. * libc/string/wcsrchr.c: Likewise. * libc/string/wcsspn.c: Likewise. * libc/string/wmemchr.c: Likewise. * libc/string/wmemcmp.c: Likewise. * libc/string/wmemcpy.c: Likewise. * libc/string/wmemset.c: Likewise. * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description. * libc/string/wcswidth.c: Formatting and punctuation in documentation. * libc/string/wcwidth.c: Likewise. * libm/common/s_modf.c: Remove extra period from documentation. * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in documentation. * libm/mathfp/s_isnan.c: Likewise. * libm/math/s_ldexp.c: Fix punctuation. * libm/mathfp/s_ldexp.c: Likewise. * libm/math/w_log.c: Likewise. * libm/mathfp/s_logarithm.c: Likewise. * libm/math/w_j0.c: Add spaces to FUNCTION description. * libm/mathfp/w_jn.c: Likewise.
2005-10-262005-10-26 Shaun Jackman <sjackman@gmail.com>Jeff Johnston4-5/+12
* libc/posix/scandir.c (scandir): Update the function prototype to match the header. * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an extraneous #endif. * libc/sys/linux/sys/lock.h: Do not include machine/weakalias.h, since it's not used by this file.
2005-10-262005-10-26 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-8/+13
* libc/Makefile.am: Reorder SUBLIBS so machine and sys directories can override properly.
2005-10-202005-10-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-22/+51
* libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When gcc is 3.3 or greater, use special gcc builtins.
2005-10-20 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.Corinna Vinschen2-0/+8
2005-10-18 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.Corinna Vinschen2-0/+5
2005-10-142005-10-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston11-108/+146
* libc/include/math.h (HUGE_VALF, HUGE_VALL): New. * libm/common/Makefile.am: Add s_infconst.c support. * libm/common/Makefile.in: Regenerated. * libm/common/s_infconst.c: New file with float and long double infinity support added. * libm/math/Makefile.am: Remove s_infconst.c support. * libm/math/Makefile.in: Regenerated. * libm/math/s_infconst.c: Moved to common directory. * libm/mathfp/Makefile.am: Remove s_infconst.c support. * libm/mathfp/Makefile.in: Regenerated. * libm/mathfp/s_infconst.c: Moved to common directory.
2005-10-142005-10-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-9/+14
* libc/sys/linux/net/gethostbydns.c (dprintf): Rename to dbgprintf to prevent conflict with new dprintf function.
2005-10-142005-10-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-2/+13
* libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and "nan" processing for systems that have long double support.
2005-10-142005-10-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+5
* libc/sys/linux/sys/types.h (int8_t): Add type.
2005-10-142005-10-14 Bob Wilson <bob.wilson@acm.org>Jeff Johnston6-14/+74
* libm/common/Makefile.am (doc): Do not append to $(TARGETDOC). * libm/common/Makefile.in: Regenerate. * libm/common/common.tex: Delete file. * libm/math/math.tex: Include .def files from common/. * libm/mathfp/mathfp.tex: Likewise.
2005-10-142005-10-14 Bob Wilson <bob.wilson@acm.org>Jeff Johnston2-4/+30
* libc/libc.texinfo (Top): Surround this node with @ifnottex instead of @ifinfo. Update menu to add Introduction and match SUBDIRS order. (Introduction): New section.
2005-10-142005-10-14 Bob Wilson <bob.wilson@acm.org>Jeff Johnston5-5/+13
* libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library" with "Red Hat newlib C Library". * libc/sys.tex (Stubs): Likewise. * libm/math/math.tex (Math): Likewise. * libm/mathfp/mathfp.tex (Math): Likewise.
2005-10-112005-10-11 Shaun Jackman <sjackman@gmail.com>Jeff Johnston7-40/+238
* libc/include/stdio.h (dprintf): New declaration. (vdprintf): Ditto. * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c and vdprintf.c. * libc/stdio/Makefile.in: Regenerate. * libc/stdio/dprintf.c: New file. * libc/stdio/vdprintf.c: New file. * libc/stdio/stdio.tex (dprintf): New entry.
2005-10-112005-10-11 David Weatherford <weath@tensilica.com>Jeff Johnston2-2/+15
* libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format. Print "inf" and "nan" in lowercase for e/f/g formats and in uppercase for E/F/G formats.
2005-10-072005-10-07 Bob Wilson <bob.wilson@acm.org>Jeff Johnston2-0/+17
* libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno to ENOMEM on failure.
2005-10-062005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2-0/+95
* libc/include/stdint.h: Add [u]int_fast<N>_t types.
2005-10-042005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2-14/+26
* libc/include/stdint.h: Move magic to set __have_long* to the beginning. Use #if __have* instead of #if defined(__have*). Minor typo fixes.
2005-10-042005-10-04 James E Wilson <wilson@specifix.com>Jeff Johnston2-5/+8
* libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add #error.
2005-10-032005-10-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-5/+23
* libc/sys/linux/include/stdint.h: Include <sys/types.h> and incorporate Ralf's change below.
2005-10-032005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2-6/+24
* libc/include/stdint.h: Use __INTMAX_TYPE__ to derive intmax_t. Use __UINTMAX_TYPE__ to derive uintmax_t. Fix minor typo.
2005-09-272005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2-2/+9
* libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly handling GCC >= 4.
2005-09-202005-09-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-11/+250
* libc/sys/linux/include/stdint.h: Update to match functionality of generic newlib stdint.h.