summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include
Commit message (Collapse)AuthorAgeFilesLines
* 2007-12-19 Dave Korn <dave.korn@artimi.com>Jeff Johnston2007-12-192-0/+11
| | | | | | | | | | | | | | | | | Jeff Johnston <jjohnstn@redhhat.com> * libc/include/_ansi.h: Add _LONG_LONG definition. * libc/include/math.h (llrint, llrintf, rintl, lrintl, llrintl): Add prototypes. * libc/machine/i386/machine/fastmath.h: Add support for new i386 fast math versions of rint, lrint, and llrint family functions. * libm/machine/i386/Makefile.am: Add new files. * libm/machine/i386/Makefile.in: Regenerated. * libm/machine/i386/f_llrint.c, libm/machine/i386/f_lrint.c, libm/machine/i386/f_rint.c, libm/machine/i386/f_llrintf.c, libm/machine/i386/f_lrintf.c, libm/machine/i386/f_rintf.c, libm/machine/i386/f_llrintl.c, libm/machine/i386/f_lrintl.c, libm/machine/i386/f_rintl.c: New files with fast math implementations.
* 2007-12-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2007-12-191-1/+4
| | | | | * libc/include/sys/features.h: Add checks for C90 compilers using -ansi.
* 2007-11-15 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2007-12-192-182/+186
| | | | | | | | | * libc/include/sys/_default_fcntl.h: New header file that is the default version of sys/fcntl.h. * libc/include/sys/fcntl.h: Changed to simply include sys/_default_fcntl.h. * libc/sys/arm/sys/fcntl.h: New file that includes sys/_default_fcntl.h and defines O_BINARY.
* * libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy.Corinna Vinschen2007-12-191-0/+2
| | | | | | | | | | * libc/string/Makefile.am (ELIX_SOURCES): Add wcpcpy.c and wcpncpy.c. (CHEWOUT_FILES): Add wcpcpy.def and wcpncpy.def. * libc/string/Makefile.in: Regenerate. * libc/string/wcpcpy.c: New file. * libc/string/wcpncpy.c: New file. * libc/string/wcstrings.tex: Add wcpcpy and wcpncpy.
* * libc/include/sys/unistd.h: Remove Cygwin definition of MAXPATHLEN.Corinna Vinschen2007-11-081-4/+1
|
* 2007-11-07 Dave Brolley <brolley@redhat.com>Dave Brolley2007-11-072-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/machine/configure: Regenerated to pick up mep-elf changes. * Contribute mep-elf from Red Hat 2006-10-27 DJ Delorie <dj@redhat.com> * libc/include/machine/setjmp.h: Add MeP support. 2003-04-17 DJ Delorie <dj@redhat.com> * configure.host (mep-*-*): Support "long long" type. 2001-06-06 DJ Delorie <dj@redhat.com> * libc/include/machine/ieeefp.h (mep): Support little endian too. 2001-05-14 DJ Delorie <dj@redhat.com> * configure.host: Add mep's machine_dir. * libc/include/setjmp.h: Add mep support. * libc/machine/mep: New. * libc/machine/mep/setjmp.S: New, support mep's setjmp/longjmp. 2001-05-04 DJ Delorie <dj@redhat.com> * configure.host: Add mep. * libc/include/machine/ieeefp.h: Ditto.
* 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-09-211-0/+14
| | | | | | | | * libc/include/sched.h: New file, just include sys/sched.h. * libc/machine/spu/sys/sched.h: New file, has just sched_yield prototype. * libc/machine/spu/sys/utime.h: New file, has utime prototype and struct utimbuf definition.
* 2007-09-18 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-09-182-21/+28
| | | | | | | | | | | * libc/include/sys/types.h: Use __dev_t, __uid_t, and __gid_t to typedef dev_t, gid_t, and uid_t. * libc/include/sys/_types.h: Move previous dev_t, uid_t and gid_t types.h code to here, but typedef __dev_t, __uid_t, and __gid_t instead. Change to lower case for all __foo_t_defined names. * libc/machine/spu/machine/_types.h: Add SPU specific __dev_t, __uid_t, and __gid_t making them all four bytes. Change to lower case for all __foo_t_defined names.
* 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2007-09-071-0/+13
| | | | | * libc/include/sys/_types.h: Protect all types with flag checks to allow definition in machine/_types.h.
* 2007-09-07 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-09-074-126/+138
| | | | | | | | | | | | * libc/include/machine/_default_types.h: New file, contains what was previously in libc/include/machine/_types.h. * libc/include/machine/_types.h: Now only includes machine/_default_types.h. * libc/include/sys/reent.h: Remove _fpos_t and _fpos64_t. * libc/include/sys/_types.h: Move _fpos_t and _fpos64_t to here, with conditional declarations. * libc/machine/spu/machine/_types.h: New file, add SPU specific typedefs for _fpos_t and _fpos64_t.
* 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2007-09-071-7/+6
| | | | | | * libc/include/math.h (_M_LOG2E): Replace with.. (_M_LOG2_E): New macro. (log2, log2f, M_LOG2_E): Use _M_LOG2_E.
* Fix typo in ChangeLog and math.h.Jeff Johnston2007-09-061-2/+2
|
* 2007-09-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2007-09-061-3/+7
| | | | | | | * libc/include/math.h (_M_LOG2E): New log2 of e macro. (log2): Use _M_LOG2E instead of M_LOG2E. (log2f): Ditto. (M_LOG2E): Define to be _M_LOG2E.
* 2007-08-28 Hans Kester <hans.kester@ellips.nl>Jeff Johnston2007-08-282-0/+9
| | | | | | | | | | | | | | | | * configure.host: Added support for x86_64. * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64. * libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64. * libc/machine/x86_64/aclocal.m4: Generated. * libc/machine/x86_64/configure.in: New. * libc/machine/x86_64/configure: Generated. * libc/machine/x86_64/Makefile.am: New. * libc/machine/x86_64/Makefile.in: Generated. * libc/machine/x86_64/setjmp.S: New. * libc/machine/x86_64/memcpy.S: New. * libc/machine/x86_64/memset.S: New. * libc/machine/configure.in: Added support for x86_64. * libc/machine/configure: Regenerated.
* 2007-08-03 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2007-08-031-0/+39
| | | | * libc/include/tar.h: New.
* Implement fmemopen and open_memstream.Eric Blake2007-08-021-6/+24
| | | | | | | | | | | | | | * libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file. * libc/stdio/open_memstream.c (_open_memstream_r, open_memstream): New file. * libc/stdio/fopencookie.c (fcwriter): Minor optimization. * libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x functions together. (fmemopen, open_memstream): Declare new functions. * libc/stdio/stdio.tex: Document them. * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add fmemopen and open_memstream. * libc/stdio/Makefile.in: Regenerate.
* Fix fflush issues.Eric Blake2007-07-131-1/+2
| | | | | | | | | | | | | | | | | | | | | * libc/stdio/fflush.c (_fflush_r): New function. (fflush): Fix reentrancy and large offset behavior. * libc/include/stdio.h (_fflush_r): Add prototype. * libc/stdio/fclose.c (_fclose_r): All fflush callers changed. * libc/stdio/freopen.c (_freopen_r): Likewise. * libc/stdio/fseek.c (_fseek_r): Likewise. * libc/stdio/ftell.c (_ftell_r): Likewise. * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise. * libc/stdio/refill.c (__srefill_r): Likewise. * libc/stdio/setvbuf.c (setvbuf): Likewise. * libc/stdio/ungetc.c (_ungetc_r): Likewise. * libc/stdio/vfprintf.c (__sbprintf): Likewise. * libc/stdio/wbuf.c (__swbuf_r): Likewise. * libc/stdio64/freopen64.c (_freopen64_r): Likewise. * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise. Defer to 32-bit version if not large file. * libc/stdio64/ftello64.c (_ftello64_r): Likewise. * libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
* 2007-07-11 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2007-07-111-45/+45
| | | | | * libc/include/math.h: Fix so C99 functions/macros are accessible when -std=c99 is used when compiling and not when using C89.
* * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,Corinna Vinschen2007-07-061-0/+9
| | | | | | | | | | | | | | | | | | wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r. * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c. (EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and wcstoull_r.c. (CHEWOUT_FILES): Add .def files accordingly. * libc/stdlib/Makefile.in: Regenerate. * libc/stdlib/stdlib.tex: Add documentation links for above functions. * libc/stdlib/strtoll.c: Fix portability note. * libc/stdlib/strtoull.c: Ditto. * libc/stdlib/wcstol.c: New file. * libc/stdlib/wcstoll.c: New file. * libc/stdlib/wcstoll_r.c: New file. * libc/stdlib/wcstoul.c: New file. * libc/stdlib/wcstoull.c: New file. * libc/stdlib/wcstoull_r.c: New file.
* 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2007-07-062-2/+2
| | | | | | | | | | | | | * libc/include/sys/time.h (gettimeofday): Change to proper prototype where second parameter is void *. * libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype accordingly. * libc/include/reent.h: Fix prototype for _gettimeofday_r. * libc/sys/arm/syscalls.c: Fix gettimeofday function signature. * libc/sys/rdos/gettod.c: Ditto. * libc/sys/sh/syscalls.c: Ditto. * libc/time/time.c (time): Change call to _gettimeofday_r to pass NULL as 2nd argument.
* * libc/include/wchar.h: Add prototype for wcsxfrm.Corinna Vinschen2007-07-041-0/+1
| | | | | | | | * libc/string/Makefile.am (GENERAL_SOURCES): Add wcsxfrm.c. (CHEWOUT_FILES): Add wcsxfrm.def. * libc/string/Makefile.in: Regenerate. * libc/string/wcsxfrm.c: New file. * libc/string/wcstrings.tex: Add wcsxfrm.
* * libc/include/string.h: Add prototypes for stpcpy and stpncpy.Corinna Vinschen2007-06-281-0/+2
| | | | | | | | | | * libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and stpncpy.c. (CHEWOUT_FILES): Add stpcpy.def and stpncpy.def. * libc/string/Makefile.in: Regenerate. * libc/string/stpcpy.c: New file. * libc/string/stpncpy.c: New file. * libc/string/strings.tex: Add stpcpy and stpncpy.
* Support __func__ in assert, as required by C99.Eric Blake2007-06-271-11/+24
| | | | | | | * libc/stdlib/assert.c (__assert_func): New function. (__assert): Use __assert_func. * libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when possible.
* 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-06-201-4/+13
| | | | | * libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related defines; expose ftruncate, truncate and sync prototypes.
* 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-06-202-2/+2
| | | | | | * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible. * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes visible.
* 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-06-132-1/+7
| | | | | | | | | | * libc/include/sys/features.h: Define _POSIX_TIMERS for spu. * libc/include/sys/unistd.h: Change usleep prototype to Posix form and move outside of OS flag checks. * libc/machine/spu/Makefile.am: Add sleep and usleep. * libc/machine/spu/Makefile.in: Regenerate. * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c. * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
* * libc/include/sys/unistd.h: Declare confstr for Cygwin.Corinna Vinschen2007-06-111-0/+44
| | | | Define confstr constants for Cygwin. Add comment.
* 2007-06-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2007-06-081-0/+1
| | | | | | | | * libc/string/strcasestr.c: New file. * libc/include/string.h: Add strcasestr. * libc/string/strings.tex: Add strcasestr. * libc/string/Makefile.am: Ditto. * libc/string/Makefile.in: Regenerated.
* Implement funopen, fopencookie.Eric Blake2007-06-042-21/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/include/sys/reent.h (struct __sFILE, struct __sFILE64): Switch to reentrant callbacks. * libc/include/stdio.h (funopen): Fix declaration. (fopencookie): Declare. * libc/stdio/local.h (__sread, __swrite, __sseek, __sclose) (__sseek64, __swrite64): Fix prototypes. [__SCLE]: Pull in setmode declaration. * libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix reentrancy. * libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete. (__sseek64, __swrite64): Fix reentrancy. * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix reentrancy. * libc/stdio/ftell.c (_ftell_r): Likewise. * libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+". * libc/stdio/fclose.c (_fclose_r): Fix reentrancy. * libc/stdio/freopen.c (_freopen_r): Likewise. * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise. * libc/stdio/refill.c (__srefill_r): Likewise. * libc/stdio/siscanf.c (eofread): Likewise. * libc/stdio/sscanf.c (eofread): Likewise. * libc/stdio/vsiscanf.c (eofread1): Likewise. * libc/stdio/vsscanf.c (eofread1): Likewise. * libc/stdio64/freopen64.c (_freopen64_r): Likewise. * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise. * libc/stdio64/ftello64.c (_ftello64_r): Likewise. * libc/stdio/fflush.c (fflush): Improve reentrancy, although more could be fixed. * libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file. * libc/stdio/funopen.c (_funopen_r, funopen): New file. * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build new files. * libc/stdio/Makefile.in: Regenerate.
* * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_lenCorinna Vinschen2007-05-231-0/+11
| | | | | | to zero. * libc/include/argz.h: Guard against multiple inclusion. Guard for use with C++.
* 2007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>Jeff Johnston2007-05-171-0/+16
| | | | | | | | | | | | | | * libm/common/Makefile.am: Add support for exp10, exp10f, pow10, and pow10f functions. * libm/common/Makefile.in: Regenerated. * libm/common/s_pow10.c: New file. * libm/common/sf_pow10.c: Ditto. * libm/common/s_exp10.c: Ditto. * libm/common/sf_exp10.c: Ditto. * libc/include/math.h [!pow10]: New pow10 prototype. [!pow10f]: New pow10f prototype. [!exp10]: New exp10 prototype. [!exp10f]: New exp10f prototype.
* * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)Eric Blake2007-05-161-18/+42
| | | | | | | (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros required by POSIX. * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to avoid clash with <math.h>.
* Add support for asnprintf, and improve *printf documentation.Eric Blake2007-05-041-21/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/stdio/Makefile.am (ELIX_SOURCES): Rename... (ELIX_2_SOURCES): ...to this. (ELIX_4_SOURCES): Add new variable. Build asnprintf. (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES. (CHEWOUT_FILES): Include diprintf in documentation. * libc/stdio/Makefile.in: Regenerate. * libc/stdio/diprintf.c: Improve documentation. * libc/stdio/dprintf.c: Likewise. * libc/stdio/siprintf.c: Likewise. * libc/stdio/sprintf.c: Likewise. * libc/stdio/vfprintf.c: Likewise. * libc/stdio/viprintf.c: Likewise. * libc/stdio/vsniprintf.c: Consolidate documentation. * libc/stdio/asiprintf.c: Refer to documentation. * libc/stdio/asprintf.c: Likewise. * libc/stdio/fiprintf.c: Likewise. * libc/stdio/fprintf.c: Likewise. * libc/stdio/iprintf.c: Likewise. * libc/stdio/printf.c: Likewise. * libc/stdio/sniprintf.c: Likewise. * libc/stdio/vdiprintf.c: Likewise. * libc/stdio/vdprintf.c: Likewise. * libc/stdio/vsiprintf.c: Likewise. * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf. * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file. * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file. * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New file. * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file. * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in typical case. * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise. * libc/include/stdio.h: Add prototypes for new functions; sort existing functions.
* 2007-04-26 Patrick Mansfield <patmans@us.ibm.com>Jeff Johnston2007-04-263-7/+42
| | | | | | | | | | | | | | | | | | * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be overridden via machine/ieeefp.h. * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp macros for isnan and related macros. * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be overridden via machine/ieeefp.h. * libm/machine/spu/Makefile.am: Add new files. * libm/machine/spu/Makefile.in: Autogenerate with new files. * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf. * libm/machine/spu/sf_finite.c: Add SPU specific finitef. * libm/machine/spu/sf_isinf.c: Add SPU specific isinff. * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff. * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf. * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf. * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
* * libc/include/limits.h (NL_ARGMAX): Define a default value.Eric Blake2007-04-241-1/+5
| | | | | * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of NL_ARGMAX, if present.
* * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when usingEric Blake2007-04-101-1/+1
| | | | CFLAGS=-O0.
* * libc/include/stdio.h: Add gcc format attributes to printf andEric Blake2007-04-101-72/+144
| | | | scanf families.
* 2007-04-04 Eric Blake <ebb9@byu.net>Jeff Johnston2007-04-041-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy. (asiprintf): Avoid overhead. * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy. (asprintf): Avoid overhead. * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file. * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN. * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version. (fiprintf): Avoid overhead. * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version. (fprintf): Avoid overhead. * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN. (iprintf): Avoid overhead. * libc/stdio/printf.c (_printf_r): Use _DEFUN. (printf): Avoid overhead. * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size. * libc/stdio/vasprintf.c (vasprintf): Reduce binary size. * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file. * libc/stdio/vdprintf.c (vdprintf): Avoid overhead. * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size. * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size. * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size. * libc/stdio/vsprintf.c (vsprintf): Reduce binary size. * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c, vdiprintf.c. * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf) (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
* 2007-03-30 Dave Korn <dave.korn@artimi.com>Dave Korn2007-03-301-2/+33
| | | | | | | | * libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal conflicting inline semantics between C99 and GNU89. (__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be compatible with -fkeep-inline-functions usage. (__sputc_r): Likewise for consistency even though disabled.
* 2007-03-15 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2007-03-151-0/+8
| | | | | | | | | | | | | | | * configure.in: Add new --enable-newlib-reent-small option. * configure: Regenerated. * acconfig.h: Add _WANT_REENT_SMALL. * newlib.hin: Regenerated minus PACKAGE macros to add _WANT_REENT_SMALL macro. * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL if not already set. * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if there is no buffer. * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to use reentrant pointer passed in when resetting the file pointer to one of the std streams.
* 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>Jeff Johnston2007-02-201-0/+1
| | | | * libc/include/stdio.h: Add declaration for vsiprintf.
* * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING forCorinna Vinschen2007-02-141-1/+1
| | | | Cygwin.
* * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS forCorinna Vinschen2007-02-081-3/+3
| | | | Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
* * libc/include/sys/features.h: Add definition of all supportedCorinna Vinschen2007-02-073-86/+217
| | | | | | | | | _POSIX_xxx values for Cygwin. * libc/include/sys/types.h (pthread_rwlock_t): Omit definition on Cygwin. (pthread_rwlockattr_t): Ditto. * libc/include/sys/unistd.h: Define all _SC_xxx values as required by SUSv3. Unify formatting.
* 2007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>Jeff Johnston2007-02-021-0/+1
| | | | * libc/include/sys/errno.h: Add ECANCELED.
* 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>Jeff Johnston2007-02-014-3/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kazunori Asayama <asayama@sm.sony.co.jp> * configure.host: Enable SPU specific stdio directory. * libc/machine/spu/Makefile.am: Add objects. * libc/machine/spu/Makefile.in: Regenerated. * libc/machine/spu/c99ppe.h: Add macros and function declarations to initialize SPU specific stdio stuffs. * libc/machine/spu/stdio.c: Add functions to manage Cell SPU specific FILE structures. * libc/machine/spu/perror.c: Add initialization routine of stdio stuffs. * libc/machine/spu/printf.c: Ditto. * libc/machine/spu/putchar.c: Ditto. * libc/machine/spu/puts.c: Ditto. * libc/machine/spu/vprintf.c: Ditto. * libc/machine/spu/clearerr.c: New file. Add a stdio function implementation. * libc/machine/spu/feof.c: Ditto. * libc/machine/spu/ferror.c: Ditto. * libc/machine/spu/fileno.c: Ditto. * libc/machine/spu/fopen.c: Ditto. * libc/machine/spu/fclose.c: Ditto. * libc/machine/spu/freopen.c: Ditto. * libc/machine/spu/fflush.c: Ditto. * libc/machine/spu/fseek.c: Ditto. * libc/machine/spu/ftell.c: Ditto. * libc/machine/spu/rewind.c: Ditto. * libc/machine/spu/fgetpos.c: Ditto. * libc/machine/spu/fsetpos.c: Ditto. * libc/machine/spu/fread.c: Ditto. * libc/machine/spu/fwrite.c: Ditto. * libc/machine/spu/getc.c: Ditto. * libc/machine/spu/getchar.c: Ditto. * libc/machine/spu/gets.c: Ditto. * libc/machine/spu/fgetc.c: Ditto. * libc/machine/spu/fgets.c: Ditto. * libc/machine/spu/ungetc.c: Ditto. * libc/machine/spu/putc.c: Ditto. * libc/machine/spu/fputc.c: Ditto. * libc/machine/spu/fputs.c: Ditto. * libc/machine/spu/vfprintf.c: Ditto. * libc/machine/spu/vfscanf.c: Ditto. * libc/machine/spu/fprintf.c: Ditto. * libc/machine/spu/fscanf.c: Ditto. * libc/machine/spu/scanf.c: Ditto. * libc/machine/spu/vscanf.c: Ditto. * libc/machine/spu/setbuf.c: Ditto. * libc/machine/spu/setvbuf.c: Ditto. * libc/machine/spu/tmpfile.c: Ditto. 2007-02-01 Jeff Johnston <jjohnstn@redhat.com> * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__. * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check around stdio macros that manipulate fields in the normal file structure. * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include <sys/custom_file.h> to define custom FILE structure. * libc/include/sys/custom_file.h: New default header file that generates error if not overridden when __CUSTOM_FILE_IO__ set. * libc/machine/spu/sys/custom_file.h: New file.
* 2006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>Jeff Johnston2006-12-181-1/+1
| | | | * libc/include/machine/setjmp.h: Replace vector with __vector.
* 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>Jeff Johnston2006-12-131-0/+2
| | | | * newlib/include/alloca.h: add undef alloca to work with xlc
* 2006-12-12 Joel Schopp <jschopp@austin.ibm.com>Jeff Johnston2006-12-131-1/+1
| | | | | * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for cell spu
* 2006-11-30 Lev Bishop <lev.bishop@gmail.com>Jeff Johnston2006-11-301-2/+2
| | | | | * libc/include/math.h: Allow C99 functions/macros to be defined for C++ even when __STRICT_ANSI__.