Joel Sherrill
a2c4eac5d0
2013-11-20 Daniel Ramirez <javamonn@gmail.com>
...
* libc/iconv/lib/iconv.c, libc/include/iconv.h,
libc/sys/linux/iconv/iconv.c: Add restrict keyword.
2013-11-20 13:39:36 +00:00
Joel Sherrill
3007afbca3
3013-11-19 Jennifer Averett <jennifer.averett@oarcorp.com>
...
* libc/sys/rtems/sys/cpuset.h: New file.
2013-11-19 19:11:24 +00:00
Joel Sherrill
aed5f73fa8
2013-11-18 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libc/include/stdlib.h: Add prototype of realpath().
* libc/sys/linux/realpath.c: Add restrict keyword.
2013-11-19 17:32:24 +00:00
Corinna Vinschen
05b637e340
* libc/include/sys/unistd.h (MAXPATHLEN): Delete.
...
* 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-18 08:30:29 +00:00
Joel Sherrill
77e22783e4
2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libc/libc/sys/rtems/sys/param.h: Update some parameters to
the latest FreeBSD values.
2013-10-15 17:40:02 +00:00
Joel Sherrill
50eb944a7c
2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libc/sys/rtems/machine/_types.h (_HAVE_SYSTYPES): Define.
2013-10-15 17:39:19 +00:00
Joel Sherrill
8635dec1a5
2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* 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-15 17:38:32 +00:00
Joel Sherrill
7a75a3aa7c
2013-10-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
...
* libc/sys/rtems/machine/_types.h (_ssize_t): Delete.
(__ssize_t_defined) Likewise.
2013-10-15 17:36:16 +00:00
Corinna Vinschen
454b880298
* libc/sys/arm/crt0.S: Remove 'start'.
2013-08-12 11:28:28 +00:00
Corinna Vinschen
b143d094ee
* libc/sys/linux/include/netdb.h, libc/sys/linux/net/getaddrinfo.c,
...
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.
2013-07-23 07:05:31 +00:00
Corinna Vinschen
320a1e7412
* libc/sys/arm/syscalls.c (do_AngelSWI): Delete.
...
* libc/sys/arm/libcfuncs.c (do_AngelSWI): Delete.
* libc/sys/arm/swi.h: Copy over from libgloss.
2013-07-19 09:57:51 +00:00
Corinna Vinschen
7eb805f68d
* libc/sys/rtems/sys/queue.h: Delete file.
...
* 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().
2013-04-16 10:25:16 +00:00
Nick Clifton
92825fd954
* crt0.S: Add recognition of the e3v5 architecture variant.
2013-02-01 08:29:04 +00:00
Nick Clifton
7d88a8d373
* libc/sys/sysnecv850/crt0.S (_start): Enable FPU for the
...
V850e2v3.
* v850/crt0.S (_start): Enable FPU for the V850e2v3.
2013-01-15 15:41:31 +00:00
Jeff Johnston
f2d223bd0f
2012-12-20 Jeff Johnston <jjohnstn@redhat.com>
...
* 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
2012-12-20 21:10:27 +00:00
Hans-Peter Nilsson
1ad660ece1
* libc/sys/mmixware/sbrk.c (_sbrk): Drop unused extern declaration
...
of "end". Mark allocated memory by applying PRELD.
2012-10-21 03:41:42 +00:00
DJ Delorie
13ab44c05b
* libc/sys/sysnecv850/sbrk.c (_sbrk): Change heap_start to be an
...
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.
2012-10-02 22:55:10 +00:00
Kevin Buettner
217618d3d6
* libc/sys/sysnecv850/crt0.S (_start): Use v850e-specific
...
start up code for v850e2 and v850e2v3 too.
2012-07-30 23:03:47 +00:00
Ralf Corsepius
f9a0f9ad5f
2012-07-18 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libc/sys/rtems/machine/_types.h (_ssize_t): Use signed int for
__v850__, __851__.
2012-07-18 15:22:45 +00:00
Ralf Corsepius
d2f675622f
2012-07-13 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libc/sys/rtems/machine/_types.h (_ssize_t): Add __ARM_EABI__,
__v850__, __851__.
2012-07-13 09:21:45 +00:00
Corinna Vinschen
cc580eddd3
* libc/sys/rtems/machine/_types.h: Add Microblaze.
2012-05-10 06:59:58 +00:00
Corinna Vinschen
a9f0367e1a
* libc/sys/rtems/crt0.c: Add stubs for access(), ftruncate(),
...
_getpid_r(), geteuid(), getgid, _getgid_r, getpid(), getppid(),
and _getpid_r().
2012-05-09 09:03:06 +00:00
Jeff Johnston
eab1d3e125
2012-03-09 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-03-09 20:26:39 +00:00
Jeff Johnston
9edde1d2c4
2012-02-21 Jeremy Bennett <jeremy.bennett@embecosm.com>
...
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.
2012-02-21 22:34:31 +00:00
Corinna Vinschen
e59d6a1469
* libc/sys/rtems/sys/utime.h: Include <sys/types.h> to provide a
...
definition of time_h.
2012-02-09 13:05:15 +00:00
Jeff Johnston
e7c65aae83
2011-12-19 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-19 22:03:51 +00:00
Jeff Johnston
e480bc80c3
2011-12-13 Richard Earnshaw <rearnsha@arm.com>
...
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.
2011-12-13 22:40:45 +00:00
Nick Clifton
eefc33184a
oops - fix typo in previous delta.
2011-10-11 09:29:56 +00:00
Nick Clifton
fa5c739c6e
oops - omitted from previous delta.
2011-10-11 07:38:33 +00:00
Nick Clifton
f9a3814899
* libc/sys/arm/crt0.S: Synchronise with libgloss version.
...
* libc/sys/arm/arm.h: Imported from libgloss.
2011-10-10 13:00:25 +00:00
Ralf Corsepius
74c92a62fe
2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libc/sys/rtems/include/limits.h: Compute SSIZE_MAX based on
__SIZE_MAX__, __SIZEOF_SIZE_T__ and __CHAR_BIT__.
2011-08-23 05:51:04 +00:00
Ralf Corsepius
fe9bdaedff
2011-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* 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-08-20 05:34:22 +00:00
Ralf Corsepius
ce108cc83c
2011-07-26 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libc/sys/rtems/sys/dirent.h (scandir):
Add const to "select" parameter.
2011-07-26 04:04:45 +00:00
Nick Clifton
747a0a5205
* v8500/sbrk.c (_sbrk): Tidy code.
...
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.
2011-05-27 10:46:48 +00:00
Yaakov Selkowitz
307b0a5d4b
* libc/include/signal.h (psignal): Declare.
...
* 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.
2011-05-04 11:26:22 +00:00
Kevin Buettner
3b60b701b1
* libc/sys/sysnecv850/trap.S (___trap0): Fix errno handling.
...
* 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.
2011-03-21 22:11:14 +00:00
Corinna Vinschen
7971c2a29c
* libc/include/linux/sys/signal.h (sig_t): Move from here...
...
* libc/include/signal.h (sig_t): ...to here.
2011-01-12 11:49:28 +00:00
Jeff Johnston
a81dfe76fe
2011-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libc/sys/rtems/crt0.c: Adjust free() and calloc() to match their
public decls.
2011-01-07 19:27:33 +00:00
Jeff Johnston
321b046c80
2010-12-16 Jeff Johnston <jjohnstn@redhat.com>
...
* 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
2010-12-16 21:59:17 +00:00
Corinna Vinschen
f43dea8084
* libc/include/sys/types.h: Add _mode_t for __rtems__.
...
* 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.
2010-11-16 17:29:39 +00:00
Kevin Buettner
b88e4203a9
* libc/sys/sysnecv850/Makefile.am (lib_a_SOURCES): Provide an
...
empty definition.
* libc/sys/sysnecv850/Makefile: Regenerate.
2010-09-09 14:54:24 +00:00
Anthony Green
5a7e00a866
Add moxie-rtems support.
2010-07-30 07:40:26 +00:00
Jeff Johnston
d95769ebd6
2010-07-23 Naveen.H.S <naveenh1@kpitcummins.com>
...
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.
2010-07-23 18:11:27 +00:00
Corinna Vinschen
efc428827b
* libc/posix/rewinddir.c (rewinddir): Remove incorrect cast to off_t.
...
* 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.
2010-07-06 15:23:27 +00:00
Corinna Vinschen
b73e65bb44
* libm/math/ef_sqrt.c: Delete unused variable sign.
...
* 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-03-05 08:55:16 +00:00
Jeff Johnston
9035cfbd12
2010-02-24 Charles Wilson <...>
...
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.
2010-02-24 21:00:08 +00:00
Jeff Johnston
a390368122
2009-12-17 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-17 20:41:44 +00:00
Jeff Johnston
375dbb9d4c
2009-12-16 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* 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-17 16:10:41 +00:00
Jeff Johnston
377b190270
2009-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libc/sys/rtems/machine/param.h: Only use sizeof(double) -1
for ALIGNBYTES on SPARC.
2009-12-16 21:35:51 +00:00
Jeff Johnston
32a08d0e75
2009-12-16 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* 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-12-16 18:28:15 +00:00