]> sourceware.org Git - newlib-cygwin.git/commit
[arm] Fix syscalls.c for newlib embedded syscalls builds
authorRichard Earnshaw <Richard.Earnshaw@arm.com>
Thu, 15 Mar 2018 09:55:11 +0000 (09:55 +0000)
committerRichard Earnshaw <Richard.Earnshaw@arm.com>
Thu, 15 Mar 2018 09:55:11 +0000 (09:55 +0000)
commit0bb86973336c7c4548f6d2e24878a88f0c556a77
tree06cde730b3c4851619ae0e5528f6c8ce5c95718c
parent829820af6e5bccefe93485023e93821807fb99b8
[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>
newlib/libc/sys/arm/syscalls.c
This page took 0.030205 seconds and 5 git commands to generate.