summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys
Commit message (Collapse)AuthorAgeFilesLines
* * libc/include/sys/unistd.h (MAXPATHLEN): Delete.Corinna Vinschen2013-10-181-2/+0
| | | | | | * libc/include/sys/param.h (MAXPATHLEN): Define. * libc/sys/rtems/sys/param.h (MAXPATHLEN): Likewise. * libc/unix/getcwd.c: Include <sys/param.h> for MAXPATHLEN.
* 2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2013-10-151-23/+33
| | | | | * libc/libc/sys/rtems/sys/param.h: Update some parameters to the latest FreeBSD values.
* 2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2013-10-151-0/+3
| | | | * libc/sys/rtems/machine/_types.h (_HAVE_SYSTYPES): Define.
* 2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2013-10-152-0/+4
| | | | | | | * libc/sys/rtems/machine/_types.h (__dev_t): Define. (__dev_t_defined) Likewise. * libc/include/sys/_types.h (__dev_t): Delete RTEMS specific definition.
* 2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2013-10-151-26/+0
| | | | | * libc/sys/rtems/machine/_types.h (_ssize_t): Delete. (__ssize_t_defined) Likewise.
* * libc/sys/arm/crt0.S: Remove 'start'.Corinna Vinschen2013-08-121-1/+0
|
* * libc/sys/linux/include/netdb.h, libc/sys/linux/net/getaddrinfo.c,Corinna Vinschen2013-07-233-9/+12
| | | | | | | | | | | | | libc/sys/linux/net/getnameinfo.c: Add restrict keyword to getnameinfo() and getaddrinfo() to increase standards compliance and match glibc. * libc/include/string.h, libc/string/memccpy.c, libc/string/memcpy.c, libc/string/stpcpy.c, libc/string/stpncpy.c, libc/string/strcat.c, libc/string/strncat.c, libc/string/strncpy.c, libc/string/strtok.c, libc/string/strtok_r.c, libc/string/strxfrm.c libc/machine/microblaze/strcpy.c, libc/machine/xscale/memcpy.c, libc/machine/cris/memcpy.c: Add __restrict to prototype to increase standards compliance.
* * libc/sys/arm/syscalls.c (do_AngelSWI): Delete.Corinna Vinschen2013-07-193-37/+25
| | | | | * libc/sys/arm/libcfuncs.c (do_AngelSWI): Delete. * libc/sys/arm/swi.h: Copy over from libgloss.
* * libc/sys/rtems/sys/queue.h: Delete file.Corinna Vinschen2013-04-161-530/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libc/include/sys/cdefs.h (__containerof): New define. (__DEQUALIFY): Likewise. * libc/include/sys/queue.h (TRACEBUF_INITIALIZER): Likewise. (TRACEBUF): Likewise. (LIST_FOREACH_SAFE): Likewise. (LIST_PREV): Likewise. (LIST_SWAP): Likewise. (QMD_LIST_CHECK_HEAD): Likewise. (QMD_LIST_CHECK_NEXT): Likewise. (QMD_LIST_CHECK_PREV): Likewise. (QMD_SAVELINK): Likewise. (QMD_TAILQ_CHECK_HEAD): Likewise. (QMD_TAILQ_CHECK_NEXT): Likewise. (QMD_TAILQ_CHECK_PREV): Likewise. (QMD_TAILQ_CHECK_TAIL): Likewise. (QMD_TRACE_ELEM): Likewise. (QMD_TRACE_HEAD): Likewise. (SLIST_FOREACH_PREVPTR): Likewise. (SLIST_FOREACH_SAFE): Likewise. (SLIST_REMOVE_AFTER): Likewise. (SLIST_SWAP): Likewise. (STAILQ_FOREACH_SAFE): Likewise. (STAILQ_REMOVE_AFTER): Likewise. (STAILQ_SWAP): Likewise. (TAILQ_FOREACH_REVERSE_SAFE): Likewise. (TAILQ_FOREACH_SAFE): Likewise. (TAILQ_SWAP): Likewise. (TRASHIT): Likewise. (SLIST_REMOVE): Use SLIST_REMOVE_AFTER(). (STAILQ_LAST): Use __containerof(). (STAILQ_REMOVE): Use STAILQ_REMOVE_AFTER().
* * crt0.S: Add recognition of the e3v5 architecture variant.Nick Clifton2013-02-011-2/+2
|
* * libc/sys/sysnecv850/crt0.S (_start): Enable FPU for theNick Clifton2013-01-151-0/+12
| | | | | V850e2v3. * v850/crt0.S (_start): Enable FPU for the V850e2v3.
* 2012-12-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2012-12-20100-1694/+3488
| | | | | | | | | | | | | | | | | | * NEWS: Update with 2.0.0 info. * README: Ditto. * acinclude.m4: Change version number to 2.0.0. * aclocal.m4: Regenerated. * configure: Ditto. * Makefile.in: Regenerated. * 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_2.0
* * libc/sys/mmixware/sbrk.c (_sbrk): Drop unused extern declarationHans-Peter Nilsson2012-10-211-2/+18
| | | | of "end". Mark allocated memory by applying PRELD.
* * libc/sys/sysnecv850/sbrk.c (_sbrk): Change heap_start to be anDJ Delorie2012-10-021-2/+2
| | | | | | | | array of undefined size, to avoid problems when compiled with -msda=4. * v850/sbrk.c (_sbrk): Change heap_start to be an array of undefined size, to avoid problems when compiled with -msda=4.
* * libc/sys/sysnecv850/crt0.S (_start): Use v850e-specificKevin Buettner2012-07-301-1/+1
| | | | start up code for v850e2 and v850e2v3 too.
* 2012-07-18 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2012-07-181-3/+3
| | | | | * libc/sys/rtems/machine/_types.h (_ssize_t): Use signed int for __v850__, __851__.
* 2012-07-13 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2012-07-131-2/+3
| | | | | * libc/sys/rtems/machine/_types.h (_ssize_t): Add __ARM_EABI__, __v850__, __851__.
* * libc/sys/rtems/machine/_types.h: Add Microblaze.Corinna Vinschen2012-05-101-1/+1
|
* * libc/sys/rtems/crt0.c: Add stubs for access(), ftruncate(),Corinna Vinschen2012-05-091-1/+8
| | | | | _getpid_r(), geteuid(), getgid, _getgid_r, getpid(), getppid(), and _getpid_r().
* 2012-03-09 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2012-03-094-4/+4
| | | | | | | | | | | * libc/include/machine/setjmp-dj.h: Modify license to include modification in clause as permitted by DJ Delorie. * libc/machine/arm/access.c: Ditto. * libc/machine/i386/setjmp.S: Ditto. * libc/sys/h8300hms/sys/file.h: Ditto. * libc/sys/linux/machine/i386/setjmp.S: Ditto. * libc/sys/sysmec/access.c: Ditto. * libc/sys/sysnecv850/access.c: Ditto.
* 2012-02-21 Jeremy Bennett <jeremy.bennett@embecosm.com>Jeff Johnston2012-02-218-2/+6416
| | | | | | | | | | | | | Alan Lehotsky <apl@alum.mit.edu> Joern Rennecke <joern.rennecke@embecosm.com> * configure.host: Add Epiphany support. * libc/include/machine/ieeefp.h: Likewise. * libc/include/machine/setjmp.h: Likewise. * libc/machine/configure.in, libc/sys/configure.in: Likewise. * libc/machine/configure, libc/sys/configure: Regenerate. * libc/machine/epiphany, libc/sys/epiphany: New directories. * NEWS: Mention addition of Epiphany.
* * libc/sys/rtems/sys/utime.h: Include <sys/types.h> to provide aCorinna Vinschen2012-02-091-0/+2
| | | | definition of time_h.
* 2011-12-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2011-12-1996-6414/+7883
| | | | | | | | | | | | | | | | | | * NEWS: Update with 1.20.0 info. * README: Ditto. * acinclude.m4: Change version number to 1.20.0. * aclocal.m4: Regenerated. * configure: Ditto. * Makefile.in: Regenerated. * 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.20
* 2011-12-13 Richard Earnshaw <rearnsha@arm.com>Jeff Johnston2011-12-131-8/+36
| | | | | | | | | Thomas Klein <th.r.klein@web.de> * libc/sys/arm/crt0.S: Manually set the target architecture when compiling for Thumb1 on EABI targets. Don't use SWI on M-profile cores. Avoid v6-only Thumb-1 MOV instruction.
* oops - fix typo in previous delta.Nick Clifton2011-10-111-11/+390
|
* oops - omitted from previous delta.Nick Clifton2011-10-111-248/+31
|
* * libc/sys/arm/crt0.S: Synchronise with libgloss version.Nick Clifton2011-10-101-0/+62
| | | | * libc/sys/arm/arm.h: Imported from libgloss.
* 2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-08-231-0/+6
| | | | | * libc/sys/rtems/include/limits.h: Compute SSIZE_MAX based on __SIZE_MAX__, __SIZEOF_SIZE_T__ and __CHAR_BIT__.
* 2011-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-08-201-95/+64
| | | | | | | | * libc/sys/rtems/crt0.c: Rework RTEMS_STUB macro. Include <unistd.h>. Remove C++-style comments. Remove hppa, a29k. Add clock_gettime, gettimeofday, sched_yield.
* 2011-07-26 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-07-261-1/+1
| | | | | * libc/sys/rtems/sys/dirent.h (scandir): Add const to "select" parameter.
* * v8500/sbrk.c (_sbrk): Tidy code.Nick Clifton2011-05-271-19/+12
| | | | | | | Base start of heap on the "heap_start" symbol. * libc/sys/sysnecv850/sbrk.c (_sbrk): Tidy code. Base start of heap on the "heap_start" symbol.
* * libc/include/signal.h (psignal): Declare.Yaakov Selkowitz2011-05-044-44/+19
| | | | | | | | | | | * libc/sys/linux/psignal.c: Move from here... * libc/signal/psignal.c: ... to here. Document. * libc/sys/linux/Makefile.am (GENERAL_SOURCES): Move psignal.c from here... * libc/signal/Makefile.am (LIB_SOURCES): ... to here. (CHEWOUT_FILES): Add psignal.def. * libc/sys/linux/Makefile.in: Regenerate. * libc/signal/Makefile.in: Ditto. * libc/signal/signal.tex: Add references to psignal.
* * libc/sys/sysnecv850/trap.S (___trap0): Fix errno handling.Kevin Buettner2011-03-217-11/+36
| | | | | | | | * libc/sys/sysnecv850/rename.c: New file. * libc/sys/sysnecv850/Makefile.am (lib_a_SOURCES): Add rename.c * libc/sys/sysnecv850/Makefile.in: Regenerate. * libc/sys/sysnecv850/fstat.c (_fstat): Invoke trap for SYS_fstat. * libc/sys/sysnecv850/unlink.c (_unlink): Invoke trap for SYS_unlink.
* * libc/include/linux/sys/signal.h (sig_t): Move from here...Corinna Vinschen2011-01-121-1/+0
| | | | * libc/include/signal.h (sig_t): ...to here.
* 2011-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2011-01-071-2/+2
| | | | | * libc/sys/rtems/crt0.c: Adjust free() and calloc() to match their public decls.
* 2010-12-16 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2010-12-1696-47202/+33265
| | | | | | | | | | | | | | | | | | | | * NEWS: Update with 1.19.0 info. * README: Ditto. * MAINTAINERS: Update. * acinclude.m4: Change version number to 1.19.0. * aclocal.m4: Regenerated. * configure: Ditto. * Makefile.am: Fix stmp-targ-include target. * Makefile.in: Regenerated. * 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.19
* * libc/include/sys/types.h: Add _mode_t for __rtems__.Corinna Vinschen2010-11-161-0/+23
| | | | | | * libc/sys/rtems/machine/_types.h: Provide _mode_t, _fpos_t, _off_t. Add _ssize_t for 64bit sparc. Let arm, i386, m68k, mips, PPC, sparc use 64bit _off_t, _fpos_t.
* * libc/sys/sysnecv850/Makefile.am (lib_a_SOURCES): Provide anKevin Buettner2010-09-092-9/+6
| | | | | empty definition. * libc/sys/sysnecv850/Makefile: Regenerate.
* Add moxie-rtems support.Anthony Green2010-07-301-1/+1
|
* 2010-07-23 Naveen.H.S <naveenh1@kpitcummins.com>Jeff Johnston2010-07-232-20/+57
| | | | | | | | | | Gina Verlekar <gina.verlekar@kpitcummins.com> * configure.host: Compact v850* support and add check for newlib_may_supply_syscalls. * libc/sys/sysnecv850/Makefile.am: Add support for '--disable-newlib-supplied-syscalls' option. * libc/sys/sysnecv850/Makefile.in: Regenerated.
* * libc/posix/rewinddir.c (rewinddir): Remove incorrect cast to off_t.Corinna Vinschen2010-07-062-1/+5
| | | | | | * libc/sys/rtems/sys/dirent.h (_seekdir): Add prototype. * libc/sys/linux/sys/dirent.h (_seekdir): Fix prototype to use long rather than off_t.
* * libm/math/ef_sqrt.c: Delete unused variable sign.Corinna Vinschen2010-03-051-4/+0
| | | | | | | | | | | | * libc/stdlib/getenv.c: Delete "char *_findenv_r ();", as is not a proper prototype, and is properly prototyped in stdlib.h, anyway. * libc/stdlib/getenv_r.c: Ditto. * libc/search/hash.c: Add _DEFUN to __hash_open() declaration; add #define __DBINTERFACE_PRIVATE to activate prototypes from db_local.h. * libc/search/db_local.h: Correct __hash_open() prototype. * libc/sys/linux/cmath/math_private.h: Eliminate compiler warnings: Remove #define INFINITY (redefines from math.h); remove #define __isnanf and #define __isinff isinff.
* 2010-02-24 Charles Wilson <...>Jeff Johnston2010-02-2480-3781/+4818
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Work around issues with new libtool files in .. * configure.in: Unconditionally call _LT_PROG_ECHO_BACKSLASH. * iconvdata/configure.in: Ditto. * libc/configure.in: Ditto. * libc/machine/configure.in: Ditto. * libc/machine/i386/configure.in: Ditto. * libc/sys/configure.in: Ditto. * libc/sys/linux/configure.in: Ditto. * libc/sys/linux/linuxthreads/configure.in: Ditto. * libc/sys/linux/linuxthreads/machine/configure.in: Ditto. * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto. * libc/sys/linux/machine/configure.in: Ditto. * libc/sys/linux/machine/i386/configure.in: Ditto. * libm/configure.in: Ditto. * libm/machine/configure.in: Ditto. * libm/machine/i386/configure.in: Ditto. * libc/machine/sh/configure.in: Ditto. Also, call AC_NO_EXECUTABLES before NEWLIB_CONFIGURE. * aclocal.m4: Regenerated. * configure: Ditto. * Makefile.in: Ditto. * doc/aclocal.m4: Ditto. * doc/Makefile.in: Ditto. * libc/*/aclocal.m4: Ditto. * libc/*/Makefile.in: Ditto. * libc/*/configure: Ditto. * libm/*/aclocal.m4: Ditto. * libm/*/Makefile.in: Ditto. * libm/*/configure: Ditto.
* 2009-12-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2009-12-1733-4145/+5517
| | | | | | | | | | | | | | | | | * NEWS: Update with 1.18.0 info. * README: Ditto. * acinclude.m4: Change version number to 1.18.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.18
* 2009-12-16 Ralf Corsépius <ralf.corsepius@rtems.org>Jeff Johnston2009-12-171-0/+34
| | | | | | | | | | | | | | | | * libc/sys/rtems/machine/_types.h: New (Derived from machine/_default_types.h). * libc/sys/rtems/crt0.c: Rework. Introduce macro RTEMS_STUB. * libc/sys/rtems/sys/param.h: Update copyright notice from FreeBSD. Remove HZ. Add #include <sys/priority.h> Remove priority handling (moved to sys/priority.h). Remove CLBYTES (Unused, abandoned in BSD). * libc/sys/rtems/sys/queue.h: Update copyright (from FreeBSD). Remove CIRCLEQ_*. 2
* 2009-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>Jeff Johnston2009-12-161-0/+4
| | | | | * libc/sys/rtems/machine/param.h: Only use sizeof(double) -1 for ALIGNBYTES on SPARC.
* 2009-12-16 Ralf Corsépius <ralf.corsepius@rtems.org>Jeff Johnston2009-12-163-165/+95
| | | | | | | | | | | | | | * libc/sys/rtems/machine/_types.h: New (Derived from machine/_default_types.h). * libc/sys/rtems/crt0.c: Rework. Introduce macro RTEMS_STUB. * libc/sys/rtems/sys/param.h: Update copyright notice from FreeBSD. Remove HZ. Add #include <sys/priority.h> Remove priority handling (moved to sys/priority.h). Remove CLBYTES (Unused, abandoned in BSD). * libc/sys/rtems/sys/queue.h: Update copyright (from FreeBSD). Remove CIRCLEQ_*.
* 2009-10-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2009-10-2087-68652/+100810
| | | | | | | | | | | | | | | | | | | | | | | | | * configure.host: Don't set -O2 flag in newlib_cflags. Leave that to CFLAGS. * acinclude.m4: Don't reset CFLAGS before calling _AC_PROG_CC_G as it sets the same flags as we are using. * aclocal.m4: Regenerated. * configure: Ditto. * Makefile.in: Ditto. * iconvdata/aclocal.m4: Ditto. * iconvdata/configure: Ditto. * iconvdata/Makefile.in: Ditto. * doc/aclocal.m4: Ditto. * doc/configure: Ditto. * doc/Makefile.in: Ditto. * libc/aclocal.m4: Ditto. * libc/configure: Ditto. * libc/Makefile.in: Ditto. * libc/*Makefile.in: Ditto. * libc/*aclocal.m4: Ditto. * libc/*configure: Ditto. * libm/*Makefile.in: Ditto. * libm/*aclocal.m4: Ditto. * libm/*configure: Ditto.
* * libc/include/sys/unistd.h: Declare getpagesize as returning POSIX-mandatedChristopher Faylor2009-09-191-1/+1
| | | | | int. * libc/sys/linux/sys/unistd.h: Ditto.
* all-local should depend upon crt0, not all.Ralf Wildenhues2009-08-1950-125/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * iconvdata/Makefile.am (all): Remove. * libc/sys/a29khif/Makefile.am (all-am): Rename from ... (all): ... this. * libc/sys/arc/Makefile.am: Likewise. * libc/sys/arm/Makefile.am: Likewise. * libc/sys/d10v/Makefile.am: Likewise. * libc/sys/decstation/Makefile.am: Likewise. * libc/sys/h8300hms/Makefile.am: Likewise. * libc/sys/h8500hms/Makefile.am: Likewise. * libc/sys/linux/Makefile.am: Likewise. * libc/sys/linux/machine/i386/Makefile.am: Likewise. * libc/sys/m88kbug/Makefile.am: Likewise. * libc/sys/mmixware/Makefile.am: Likewise. * libc/sys/netware/Makefile.am: Likewise. * libc/sys/rdos/Makefile.am: Likewise. * libc/sys/rtems/Makefile.am: Likewise. * libc/sys/sh/Makefile.am: Likewise. * libc/sys/sparc64/Makefile.am: Likewise. * libc/sys/sun4/Makefile.am: Likewise. * libc/sys/sysmec/Makefile.am: Likewise. * libc/sys/sysnec810/Makefile.am: Likewise. * libc/sys/sysnecv850/Makefile.am: Likewise. * libc/sys/sysvi386/Makefile.am: Likewise. * libc/sys/sysvnecv70/Makefile.am: Likewise. * libc/sys/tic80/Makefile.am: Likewise. * libc/sys/w65/Makefile.am: Likewise. * libc/sys/z8ksim/Makefile.am: Likewise. * iconvdata/Makefile.in: Regenerate. * libc/sys/a29khif/Makefile.in: Likewise. * libc/sys/arc/Makefile.in: Likewise. * libc/sys/arm/Makefile.in: Likewise. * libc/sys/d10v/Makefile.in: Likewise. * libc/sys/decstation/Makefile.in: Likewise. * libc/sys/h8300hms/Makefile.in: Likewise. * libc/sys/h8500hms/Makefile.in: Likewise. * libc/sys/linux/Makefile.in: Likewise. * libc/sys/linux/machine/i386/Makefile.in: Likewise. * libc/sys/m88kbug/Makefile.in: Likewise. * libc/sys/mmixware/Makefile.in: Likewise. * libc/sys/netware/Makefile.in: Likewise. * libc/sys/rdos/Makefile.in: Likewise. * libc/sys/rtems/Makefile.in: Likewise. * libc/sys/sh/Makefile.in: Likewise. * libc/sys/sparc64/Makefile.in: Likewise. * libc/sys/sun4/Makefile.in: Likewise. * libc/sys/sysmec/Makefile.in: Likewise. * libc/sys/sysnec810/Makefile.in: Likewise. * libc/sys/sysnecv850/Makefile.in: Likewise. * libc/sys/sysvi386/Makefile.in: Likewise. * libc/sys/sysvnecv70/Makefile.in: Likewise. * libc/sys/tic80/Makefile.in: Likewise. * libc/sys/w65/Makefile.in: Likewise. * libc/sys/z8ksim/Makefile.in: Likewise.