diff options
author | Richard Henderson <rth@redhat.com> | 2014-05-29 12:14:49 -0400 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2014-05-30 14:11:51 -0400 |
commit | f0712b543eaddeca8fc6d7a8eb6b5b8d24105ce2 (patch) | |
tree | 679bcf4ee73f9501e6389b954525ec08b548446d /sysdeps/unix | |
parent | 74f31c18593111725478a991b395ae45661985a3 (diff) | |
download | glibc-f0712b543eaddeca8fc6d7a8eb6b5b8d24105ce2.tar glibc-f0712b543eaddeca8fc6d7a8eb6b5b8d24105ce2.tar.gz glibc-f0712b543eaddeca8fc6d7a8eb6b5b8d24105ce2.tar.bz2 glibc-f0712b543eaddeca8fc6d7a8eb6b5b8d24105ce2.zip |
aarch64: Remove PSEUDO_RET
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/sysv/linux/aarch64/sysdep.h | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/sysdeps/unix/sysv/linux/aarch64/sysdep.h b/sysdeps/unix/sysv/linux/aarch64/sysdep.h index 4686599a7e..3f3c709683 100644 --- a/sysdeps/unix/sysv/linux/aarch64/sysdep.h +++ b/sysdeps/unix/sysv/linux/aarch64/sysdep.h @@ -61,15 +61,6 @@ cmn x0, #4095; \ b.cs .Lsyscall_error; -/* Notice the use of 'RET' instead of 'ret' the assembler is case - insensitive and eglibc already uses the preprocessor symbol 'ret' - so we use the upper case 'RET' to force through a ret instruction - to the assembler */ -# define PSEUDO_RET \ - RET; -# undef ret -# define ret PSEUDO_RET - # undef PSEUDO_END # define PSEUDO_END(name) \ SYSCALL_ERROR_HANDLER \ @@ -81,20 +72,12 @@ ENTRY (name); \ DO_CALL (syscall_name, args); -/* Notice the use of 'RET' instead of 'ret' the assembler is case - insensitive and eglibc already uses the preprocessor symbol 'ret' - so we use the upper case 'RET' to force through a ret instruction - to the assembler */ -# define PSEUDO_RET_NOERRNO \ - RET; - -# undef ret_NOERRNO -# define ret_NOERRNO PSEUDO_RET_NOERRNO - # undef PSEUDO_END_NOERRNO # define PSEUDO_END_NOERRNO(name) \ END (name) +# define ret_NOERRNO ret + /* The function has to return the error code. */ # undef PSEUDO_ERRVAL # define PSEUDO_ERRVAL(name, syscall_name, args) \ @@ -107,7 +90,7 @@ # define PSEUDO_END_ERRVAL(name) \ END (name) -# define ret_ERRVAL PSEUDO_RET_NOERRNO +# define ret_ERRVAL ret # if NOT_IN_libc # define SYSCALL_ERROR .Lsyscall_error |