]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/unix/sysv/linux/s390/s390-64/syscall.S
Fix three GNU license URLs, along with trailing-newline issues.
[thirdparty/glibc.git] / sysdeps / unix / sysv / linux / s390 / s390-64 / syscall.S
index 390f974316e4eb7380e88655b2693ec5265c8093..bbe4d79848d70ebb238700345441ef6200cb0207 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001-2014 Free Software Foundation, Inc.
+/* Copyright (C) 2001-2019 Free Software Foundation, Inc.
    Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com).
    This file is part of the GNU C Library.
 
@@ -14,7 +14,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, see
-   <http://www.gnu.org/licenses/>.  */
+   <https://www.gnu.org/licenses/>.  */
 
 #include <sysdep.h>
 
@@ -49,20 +49,13 @@ ENTRY (syscall)
        lg     %r6,320(%r15)       /* Fifth parameter.  */
        lg     %r7,328(%r15)       /* Sixth parameter.  */
 
-       basr   %r8,0
-0:     clg    %r1,4f-0b(%r8)      /* svc number < 256? */
-       jl     2f
-1:     svc    0
-       j      3f
-2:     ex     %r1,1b-0b(%r8)      /* lsb of R1 is subsituted as SVC number */
-3:     lg     %r15,0(%r15)        /* load back chain */
+       svc    0
+       lg     %r15,0(%r15)        /* Load back chain.  */
        cfi_adjust_cfa_offset (-160)
-       lmg     %r6,15,48(%r15)    /* Load registers.  */
+       lmg    %r6,%r15,48(%r15)   /* Load registers.  */
 
        lghi   %r0,-4095
        clgr   %r2,%r0             /* Check R2 for error.  */
        jgnl   SYSCALL_ERROR_LABEL
        br     %r14                /* Return to caller.  */
-4:     .quad  256
 PSEUDO_END (syscall)
-