newlib-cygwin/newlib/libc/sys/arm
Richard Earnshaw 0bb8697333 [arm] Fix syscalls.c for newlib embedded syscalls builds
Newlib has a build configuration where syscalls can be directly
embedded in the newlib library rather than relying on libgloss.

This configuration was broken recently by an update to the libgloss
support for Arm that was not propagated to the syscalls interface in
newlib itself.  This patch restores the build.  It's essentially a
copy of https://sourceware.org/ml/newlib/2018/msg00128.html but there
are some other minor cleanups and changes that I've made at the same
time.  None of those cleanups affect functionality.

The prototypes of the following functions have been updated: _link,
_sbrk, _getpid, _write, _swiwrite, _lseek, _swilseek, _read and
_swiread.

Signed-off-by: Richard Earnshaw <Richard.Earnshaw@arm.com>
2018-03-15 09:55:11 +00:00
..
sys Add definitions for NBBY to arm and rtems targets 2015-12-07 16:31:00 +01:00
Makefile.am Move ARM access.c from machine to sys 2017-05-25 12:34:53 -04:00
Makefile.in Move ARM access.c from machine to sys 2017-05-25 12:34:53 -04:00
access.c Move ARM access.c from machine to sys 2017-05-25 12:34:53 -04:00
aclocal.m4 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
aeabi_atexit.c add forward declaration to __cxa_atexit to aeabi_atexit, to prevent warnings 2018-02-16 12:16:07 +01:00
arm.h Make macro checks ARMv8-M baseline proof 2016-01-28 11:26:37 +01:00
configure Bump release to 3.0.0 for yearly snapshot 2018-01-18 13:07:45 -05:00
configure.in 2006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org> 2006-04-13 19:56:32 +00:00
crt0.S Make macro checks ARMv8-M baseline proof 2016-01-28 11:26:37 +01:00
libcfunc.c * libc/sys/arm/syscalls.c (do_AngelSWI): Delete. 2013-07-19 09:57:51 +00:00
swi.h Make macro checks ARMv8-M baseline proof 2016-01-28 11:26:37 +01:00
syscalls.c [arm] Fix syscalls.c for newlib embedded syscalls builds 2018-03-15 09:55:11 +00:00
trap.S 2006-02-07 Paul Brook <paul@codesourcery.com> 2006-02-07 18:44:54 +00:00