about summary refs log tree commit diff
path: root/misc/sbrk.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-02-03 12:00:19 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-02-14 21:09:12 -0300
commit861be5fd6601bed58b63ae0eb23097abf1ac0e1c (patch)
tree68ef62a9898692a0aef9d5c192266dcb70285f25 /misc/sbrk.c
parentcf1e05f5990aba073864cd0bc681cd017e663351 (diff)
downloadglibc-861be5fd6601bed58b63ae0eb23097abf1ac0e1c.tar.gz
glibc-861be5fd6601bed58b63ae0eb23097abf1ac0e1c.tar.xz
glibc-861be5fd6601bed58b63ae0eb23097abf1ac0e1c.zip
nios2: Use Linux kABI for syscall return
It changes the nios INTERNAL_SYSCALL_RAW macro to return a negative
value instead of the 'r2' register value on the 'err' macro argument.

The macro INTERNAL_SYSCALL_DECL is no longer required, and the
INTERNAL_SYSCALL_ERROR_P macro follows the other Linux kABIs.

Checked with a build against nios2-linux-gnu.
Diffstat (limited to 'misc/sbrk.c')
0 files changed, 0 insertions, 0 deletions