Corinna Vinschen
837e070f31
* libc/locale/ldpart.c (__part_load_locale): Substitute
...
__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.
2003-05-13 09:19:15 +00:00
Corinna Vinschen
b47fcdf03d
* libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
2003-05-12 11:26:11 +00:00
Corinna Vinschen
11e3a52072
* configure.host: Accomodate removing the libc/sys/cygwin dir.
...
* 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.
2003-05-12 11:09:39 +00:00
Corinna Vinschen
d1b5e65ba3
* libc/include/sys/types.h: Don't define key_t for Cygwin.
2003-05-11 12:51:52 +00:00
Christopher Faylor
ec48a95394
* libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly) 64 bit
...
inodes.
2003-05-11 00:23:41 +00:00
Corinna Vinschen
a3cc585138
* libc/include/sys/config.h: Remove all Cygwin specific configuration.
...
Include cygwin/config.h instead.
2003-05-09 21:38:31 +00:00
Nick Clifton
72fe171d03
oops - undo accidental change commited with a different patch
2003-05-01 16:32:56 +00:00
Nick Clifton
71853f09cc
Add support for h8300hn and h8300sn
2003-04-24 12:36:08 +00:00
Jeff Johnston
57ff95d35b
2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
...
* 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.
2003-04-16 15:45:29 +00:00
Christopher Faylor
cfd2c7bea8
* newlib/libc/include/sys/unistd.h: add declaration for gethostid on Cygwin.
2003-04-15 20:13:49 +00:00
Joern Rennecke
6f48c0ae7a
* libc/machine/sh/memset.S: Avoid clobbering volatile
...
objects following a tiny to-be-set array in the same quadword.
2003-04-09 10:48:02 +00:00
Corinna Vinschen
8f8d09c041
* libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
...
* 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.
2003-04-09 10:42:12 +00:00
Joern Rennecke
40c3b2d03b
* libc/machine/sh/memset.S: Fix problem with alloco region
...
exceeding destination region for length >= 88 bytes, start
& 0x16 == 0, end & 0x1f == 18.
2003-04-03 13:06:02 +00:00
Corinna Vinschen
8ae6a3ddaa
* libc/string/wcscoll.c: Fix comment.
2003-04-03 08:30:22 +00:00
Corinna Vinschen
d122b1cc73
* libc/include/wchar.h: Add definition for wcscoll.
...
* libc/string/Makefile.am: Add wcscoll.c.
* libc/string/Makefile.in: Regenerated.
* libc/string/wcscoll.c: New file.
* libc/string/wcstrings.tex: Add wcscoll.
2003-04-03 08:26:07 +00:00
Corinna Vinschen
31ee99a41e
* libc/stdio/sscanf.c: Update flags description.
...
* libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
type.
(__svfscanf_r): Add 'hh' and 'll' handling.
2003-04-01 16:27:52 +00:00
Corinna Vinschen
d78045eed0
* libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
...
__d_position member to _off_t.
2003-04-01 14:53:02 +00:00
Jeff Johnston
e6bdc6c5eb
2003-03-20 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-20 17:23:57 +00:00
Jeff Johnston
e65d559e71
2003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
...
* 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-18 20:38:04 +00:00
Jeff Johnston
6b3bb52b84
2003-03-17 Bob Cassels <bcassels@abinitio.com>
...
* libc/string/wcschr.c: (wcschr): Look for character first,
then for end of string, so you can do wcschr(x, '\0').
2003-03-17 17:12:32 +00:00
Corinna Vinschen
2a940c1a22
* libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
...
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.
2003-03-14 18:39:05 +00:00
Corinna Vinschen
150c2818b6
* libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
2003-03-09 22:10:14 +00:00
Corinna Vinschen
2c440f9c1a
* libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
...
Cygwin.
2003-03-09 21:52:23 +00:00
Corinna Vinschen
f882fd15b0
* libc/include/pwd.h: Add guards to avoid type clashes when compiling
...
Cygwin.
* libc/include/sys/stat.h: Ditto.
* libc/include/sys/unistd.h: Ditto.
* libc/sys/cygwin/sys/dirent.h: Ditto.
2003-03-09 21:08:51 +00:00
Christopher Faylor
01d615435c
* libc/include/sys/unistd.h: Guard getopt.h call to force only declaration of
...
getopt and avoid getopt_long declaration.
* libc/sys/cygwin/include/unistd.h: Remove.
2003-03-08 04:57:41 +00:00
Corinna Vinschen
5582abd2c7
* configure.host: Define stdio64_dir for Cygwin.
...
* 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 20:41:49 +00:00
Jeff Johnston
641da1ebcf
2003-03-07 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/sys/reent.h: Remove extraneous _sig_func
declaration.
2003-03-07 15:56:49 +00:00
Jeff Johnston
41a639dea8
2002-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
...
* 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.
2003-02-25 20:36:29 +00:00
Nick Clifton
bac50d6b6e
Add support for Cirrus Maverick ARM co-processor
2003-02-20 19:14:12 +00:00
Jeff Johnston
12ee7037a3
2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
2003-02-19 19:00:11 +00:00
Jeff Johnston
1e810ba04d
2003-02-18 Christian Groessler <chris@groessler.org>
...
* libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
support z8001 segmented mode.
2003-02-18 22:41:16 +00:00
Jeff Johnston
b1ca765e84
2003-02-18 Earnie Boyd <earnie@users.sf.net>
...
* libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
with a NULL value.
2003-02-18 22:34:02 +00:00
Christopher Faylor
51a46b54ba
* libc/include/sys/types.h: Don't define __MS_types__ for Cygwin. Don't define
...
some types under cygwin.
2003-02-10 22:13:35 +00:00
Jeff Johnston
313f134979
2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-08 04:30:58 +00:00
Jeff Johnston
5017a3dafa
2003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
...
* 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-05 16:52:34 +00:00
Jeff Johnston
ad36f7d19a
2003-02-03 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-02-03 21:29:45 +00:00
Jeff Johnston
a74181ee01
2003-01-31 Michael Snyder <msnyder@redhat.com>
...
* 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 20:44:26 +00:00
Jeff Johnston
b85498d44c
2003-01-31 Michael Snyder <msnyder@redhat.com>
...
* libc/sys/h8300hms/crt0.S (_start): Change local label
from .loop to .Loop, so that ld and gdb will ignore it.
2003-01-31 20:35:24 +00:00
Jeff Johnston
4700b8293a
2003-01-29 Jason Tishler <jason@tishler.net>
...
* libc/include/time.h: Declare nanosleep() under Cygwin.
2003-01-29 23:29:30 +00:00
Nick Clifton
0127ae4041
Add sh2e support
2003-01-24 15:46:04 +00:00
Corinna Vinschen
8bbcd9a1a5
* libc/include/sys/unistd.h: Add setregid and setreuid declarations
...
for Cygwin.
2003-01-24 15:25:24 +00:00
Jeff Johnston
b8838e6f75
2003-01-21 Anita Kulkarni <anitak@kpit.com>
...
* libc/time/difftime.c : Typecast the result to double.
2003-01-21 19:37:04 +00:00
Christopher Faylor
f9e41155f0
* libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
2003-01-20 15:28:02 +00:00
Nick Clifton
6b5a79886d
Define __IEEE_BIG_ENDIAN, __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
2003-01-18 08:55:07 +00:00
Jeff Johnston
c3e92877a9
2003-01-16 Joel Sherrill <joel@OARcorp.com>
...
* 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.
2003-01-16 22:37:54 +00:00
Christopher Faylor
845102177a
* libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU extensions.
2003-01-15 18:52:02 +00:00
Jeff Johnston
be9c60e52e
2003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
...
* libc/stdio/sprintf.c: fix typo
* libc/stdio/vfprintf.c: fix typo
2003-01-07 20:02:33 +00:00
Jeff Johnston
d4c3a750e7
2003-01-07 Jeff Johnston <jjohnstn@redhat.com>
...
* 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.
2003-01-07 19:52:27 +00:00
Jeff Johnston
b2294aaa30
2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
...
* Makefile.am: Add vasprintf.
* Makefile.in: Regenerated.
2003-01-07 01:45:32 +00:00
Jeff Johnston
ea5e5daf7c
2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
...
* asprintf.c (_asprintf_r): insure both declarations
are the same.
2003-01-06 20:51:25 +00:00