summaryrefslogtreecommitdiffstats
path: root/newlib/libc
Commit message (Collapse)AuthorAgeFilesLines
* 2003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>Jeff Johnston2003-05-287-1/+56
| | | | | | | | | | | * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for normal mode * newlib/libc/machine/h8300/memset.S: Likewise * newlib/lib/machine/h8300/reg_memcpy.S: Likewise * newlib/lib/machine/h8300/reg_memset.S: Likewise * newlib/lib/machine/h8300/setjmp.S: Likewise * newlib/lib/machine/h8300/strcmp.S: Likewise * newlib/lib/sys/h8300hms/crt0.S: Likewise
* * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.Corinna Vinschen2003-05-134-5/+5
| | | | | | * libc/include/stdio.h: Ditto. * libc/include/sys/config.h: Ditto. * libc/stdio/mktemp.c: Ditto.
* * libc/locale/ldpart.c (__part_load_locale): SubstituteCorinna Vinschen2003-05-135-9/+9
| | | | | | | | | __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64. * libc/search/hash.c (__hash_open): Ditto. (init_hash): Ditto. * libc/stdio/fseek.c (fseek): Ditto. * libc/stdio/makebuf.c (__smakebuf): Ditto. * libc/stdio/mktemp.c (_gettemp): Ditto.
* * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.Corinna Vinschen2003-05-121-1/+1
|
* * configure.host: Accomodate removing the libc/sys/cygwin dir.Corinna Vinschen2003-05-1215-2874/+37
| | | | | | | | | | | | | | | | | | | | | * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call if __CYGWIN_USE_BIG_TYPES__ is set. * libc/search/hash.c (__hash_open): Ditto. (init_hash): Ditto. * libc/stdio/fseek.c (fseek): Ditto. * libc/stdio/makebuf.c (__smakebuf): Ditto. * libc/stdio/mktemp.c (_gettemp): Ditto. * libc/sys/cygwin/Makefile.am: Remove. * libc/sys/cygwin/Makefile.in: Remove. * libc/sys/cygwin/aclocal.m4: Remove. * libc/sys/cygwin/configure: Remove. * libc/sys/cygwin/configure.in: Remove. * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory. * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys directory. * libc/sys/cygwin/sys/param.h: Ditto. * libc/sys/cygwin/sys/utime.h: Ditto. * libc/sys/cygwin/sys/utmp.h: Ditto.
* * libc/include/sys/types.h: Don't define key_t for Cygwin.Corinna Vinschen2003-05-111-0/+2
|
* * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly) 64 bitChristopher Faylor2003-05-111-3/+5
| | | | inodes.
* * libc/include/sys/config.h: Remove all Cygwin specific configuration.Corinna Vinschen2003-05-091-12/+2
| | | | Include cygwin/config.h instead.
* oops - undo accidental change commited with a different patchNick Clifton2003-05-011-1/+0
|
* Add support for h8300hn and h8300snNick Clifton2003-04-241-0/+1
|
* 2003-04-16 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-04-1614-5/+47
| | | | | | * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield all code with #ifdef __SPE__ test. * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
* * newlib/libc/include/sys/unistd.h: add declaration for gethostid on Cygwin.Christopher Faylor2003-04-151-0/+3
|
* * libc/machine/sh/memset.S: Avoid clobbering volatileJoern Rennecke2003-04-091-9/+31
| | | | objects following a tiny to-be-set array in the same quadword.
* * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.Corinna Vinschen2003-04-096-7/+132
| | | | | | | | * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c * libc/string/Makefile.in: Regenerated. * libc/string/wcswidth.c: New file. * libc/string/wcwidth.c: New file. * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
* * libc/machine/sh/memset.S: Fix problem with alloco regionJoern Rennecke2003-04-031-12/+12
| | | | | exceeding destination region for length >= 88 bytes, start & 0x16 == 0, end & 0x1f == 18.
* * libc/string/wcscoll.c: Fix comment.Corinna Vinschen2003-04-031-5/+5
|
* * libc/include/wchar.h: Add definition for wcscoll.Corinna Vinschen2003-04-035-8/+65
| | | | | | | * libc/string/Makefile.am: Add wcscoll.c. * libc/string/Makefile.in: Regenerated. * libc/string/wcscoll.c: New file. * libc/string/wcstrings.tex: Add wcscoll.
* * libc/stdio/sscanf.c: Update flags description.Corinna Vinschen2003-04-012-18/+51
| | | | | | * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target type. (__svfscanf_r): Add 'hh' and 'll' handling.
* * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type ofCorinna Vinschen2003-04-011-1/+1
| | | | __d_position member to _off_t.
* 2003-03-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-03-202-2/+2
| | | | | | * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion, count all characters used to create number against maximum width. * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
* 2003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>Jeff Johnston2003-03-181-0/+18
| | | | | | | * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline support. * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__ flag to support simulator only extensions.
* 2003-03-17 Bob Cassels <bcassels@abinitio.com>Jeff Johnston2003-03-171-3/+2
| | | | | * libc/string/wcschr.c: (wcschr): Look for character first, then for end of string, so you can do wcschr(x, '\0').
* * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftelloCorinna Vinschen2003-03-1411-20/+33
| | | | | | | | | | | | | | | with internal (_fpos_t and _off_t) datatypes when compiling newlib. * libc/include/sys/unistd.h: Declare _lseek using _off_t. * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t. * libc/stdio/fseeko.c (fseeko): Ditto. * libc/stdio/ftello.c (ftello): Ditto. * libc/stdio/stdio.c (__swrite): Ditto. (__sseek): Ditto. * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t. * libc/stdio/fseek.c (fseek): Ditto. * libc/stdio/fsetpos.c (fsetpos): Ditto. * libc/stdio/ftell.c (ftell): Ditto. * libc/stdio/local.h: Declare __sseek using _off_t.
* * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.Corinna Vinschen2003-03-091-2/+2
|
* * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ forCorinna Vinschen2003-03-091-0/+1
| | | | Cygwin.
* * libc/include/pwd.h: Add guards to avoid type clashes when compilingCorinna Vinschen2003-03-094-2/+24
| | | | | | | Cygwin. * libc/include/sys/stat.h: Ditto. * libc/include/sys/unistd.h: Ditto. * libc/sys/cygwin/sys/dirent.h: Ditto.
* * libc/include/sys/unistd.h: Guard getopt.h call to force only declaration ofChristopher Faylor2003-03-082-11/+2
| | | | | getopt and avoid getopt_long declaration. * libc/sys/cygwin/include/unistd.h: Remove.
* * configure.host: Define stdio64_dir for Cygwin.Corinna Vinschen2003-03-074-7/+18
| | | | | | | | | * libc/include/stdio.h: Change definition of fpos_t to fulfill Cygwin 64bit file access requirements. Drop definition of f*64() functions when compiled for Cygwin. * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin. * libc/reent/lseek64r.c: Use _off64_t instead of off64_t. * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
* 2003-03-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-03-071-2/+0
| | | | | * libc/include/sys/reent.h: Remove extraneous _sig_func declaration.
* 2002-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>Jeff Johnston2003-02-2512-81/+159
| | | | | | | | | | | | | | | | * libc/sys/h8300hms/Makefile.am: Add support for new files. * libc/sys/h8300hms/Makefile.in: Regenerated. * libc/sys/h8300hms/close.S: New file. * libc/sys/h8300hms/fstat.S: Ditto. * libc/sys/h8300hms/lseek.S: Ditto. * libc/sys/h8300hms/open.S: Ditto. * libc/sys/h8300hms/stat.S: Ditto. * libc/sys/h8300hms/read.S: New file to replace read.c. * libc/sys/h8300hms/read.c: Removed. * libc/sys/h8300hms/syscalls.c: Removed functions _open, _lseek, _close, _stat, _fstat. * libc/sys/h8300hms/write.S: New file to replace write.c. * libc/sys/h8300hms/write.c: Removed.
* Add support for Cirrus Maverick ARM co-processorNick Clifton2003-02-201-1/+9
|
* 2003-02-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-02-191-2/+2
| | | | * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
* 2003-02-18 Christian Groessler <chris@groessler.org>Jeff Johnston2003-02-181-6/+39
| | | | | * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to support z8001 segmented mode.
* 2003-02-18 Earnie Boyd <earnie@users.sf.net>Jeff Johnston2003-02-181-2/+2
| | | | | * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer with a NULL value.
* * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin. Don't defineChristopher Faylor2003-02-101-5/+4
| | | | some types under cygwin.
* 2003-02-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-02-08116-2773/+4779
| | | | | | | | | | | | | | | | | | * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration option to allow disabling of syscalls being supplied in newlib. * aclocal.m4: Regenerated. * configure: Ditto. * configure.host: Add support of new configuration option and add -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled. * doc/aclocal.m4: Regenerated. * doc/configure: Ditto. * libc/*aclocal.m4: Ditto. * libc/*configure: Ditto. * libm/*aclocal.m4: Ditto. * libm/*configure: Ditto. * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option is disabled. * libc/sys/arm/Makefile.in: Regenerated.
* 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com>Jeff Johnston2003-02-054-0/+8
| | | | | | | | | * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to -1 to be sure it cannot later match a valid file fd causing isatty() to return 1. * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto. * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto. * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
* 2003-02-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-02-031-18/+30
| | | | | | * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format buffer based on the precision, after we have processed the input value in a local buffer and know its relative magnitude.
* 2003-01-31 Michael Snyder <msnyder@redhat.com>Jeff Johnston2003-01-311-2/+14
| | | | | | * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie into registers r1 and r2, so that the simulator can distinguish this trap from a breakpoint trap. Copied from libgloss.
* 2003-01-31 Michael Snyder <msnyder@redhat.com>Jeff Johnston2003-01-311-6/+6
| | | | | * libc/sys/h8300hms/crt0.S (_start): Change local label from .loop to .Loop, so that ld and gdb will ignore it.
* 2003-01-29 Jason Tishler <jason@tishler.net>Jeff Johnston2003-01-291-0/+10
| | | | * libc/include/time.h: Declare nanosleep() under Cygwin.
* Add sh2e supportNick Clifton2003-01-243-5/+5
|
* * libc/include/sys/unistd.h: Add setregid and setreuid declarationsCorinna Vinschen2003-01-241-0/+4
| | | | for Cygwin.
* 2003-01-21 Anita Kulkarni <anitak@kpit.com>Jeff Johnston2003-01-211-1/+1
| | | | * libc/time/difftime.c : Typecast the result to double.
* * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.Christopher Faylor2003-01-201-1/+2
|
* Define __IEEE_BIG_ENDIAN, __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.Nick Clifton2003-01-181-0/+6
|
* 2003-01-16 Joel Sherrill <joel@OARcorp.com>Jeff Johnston2003-01-165-45/+42
| | | | | | | | | | | * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h: Update to be in sync with what constants are defined in each file in the shared versions in libc/include. * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to autoconf can link programs. * libc/include/machine/types.h: Explicitly specify signed on intXX_t types to ensure they are signed.
* * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU extensions.Christopher Faylor2003-01-151-2/+5
|
* 2003-01-07 Charles Wilson <cwilson@ece.gatech.edu>Jeff Johnston2003-01-072-10/+10
| | | | | * libc/stdio/sprintf.c: fix typo * libc/stdio/vfprintf.c: fix typo
* 2003-01-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-01-072-12/+28
| | | | | | | * configure.host: Support long double I/O for x86-linux. * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer large enough to hold formatted result. * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.