diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-07-11 22:46:53 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-07-11 22:46:53 +0000 |
commit | f05bf186c119ff068fd4e7ca85756b9439fc7778 (patch) | |
tree | 01a8c8564456483299a0af10be81991c4d6dd675 /sysdeps/unix/sysv/linux/s390 | |
parent | 7fbf17e45756f31b6cb53fcae6174e41a2e67661 (diff) | |
download | glibc-f05bf186c119ff068fd4e7ca85756b9439fc7778.zip glibc-f05bf186c119ff068fd4e7ca85756b9439fc7778.tar.gz glibc-f05bf186c119ff068fd4e7ca85756b9439fc7778.tar.bz2 |
Update.
2003-07-11 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (__socket): Add
cfi directives.
* sysdeps/unix/sysv/linux/s390/s390-32/socket.S (__socket): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/socket.S (__socket): Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/s390')
-rw-r--r-- | sysdeps/unix/sysv/linux/s390/s390-32/socket.S | 13 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/s390/s390-64/socket.S | 14 |
2 files changed, 27 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/socket.S b/sysdeps/unix/sysv/linux/s390/s390-32/socket.S index c4eb2ca..2047709 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-32/socket.S +++ b/sysdeps/unix/sysv/linux/s390/s390-32/socket.S @@ -47,12 +47,24 @@ .globl __socket ENTRY(__socket) + cfi_startproc /* Save registers and setup stack. */ stm %r6,%r15,24(%r15) /* save registers */ + cfi_offset (%r15, -36) + cfi_offset (%r14, -40) + cfi_offset (%r13, -44) + cfi_offset (%r12, -48) + cfi_offset (%r11, -52) + cfi_offset (%r10, -56) + cfi_offset (%r9, -60) + cfi_offset (%r8, -64) + cfi_offset (%r7, -68) + cfi_offset (%r6, -72) lr %r1,%r15 l %r0,4(0,%r15) /* load eos */ ahi %r15,-120 /* buy stack space */ + cfi_adjust_cfa_offset (120) st %r1,0(0,%r15) /* store back chain */ st %r0,4(0,%r15) /* store eos */ @@ -124,6 +136,7 @@ L(socket_cancel): 2: .long CENABLE-1b 3: .long CDISABLE-1b #endif + cfi_endproc SYSCALL_ERROR_HANDLER END (__socket) diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/socket.S b/sysdeps/unix/sysv/linux/s390/s390-64/socket.S index 3a2454e..3985a9c 100644 --- a/sysdeps/unix/sysv/linux/s390/s390-64/socket.S +++ b/sysdeps/unix/sysv/linux/s390/s390-64/socket.S @@ -47,12 +47,24 @@ .globl __socket ENTRY(__socket) + cfi_startproc /* Save registers and setup stack. */ stmg %r6,%r15,48(%r15) /* Save registers. */ + cfi_offset (%r15,-40) + cfi_offset (%r14,-48) + cfi_offset (%r13,-56) + cfi_offset (%r12,-64) + cfi_offset (%r11,-72) + cfi_offset (%r10,-80) + cfi_offset (%r9,-88) + cfi_offset (%r8,-96) + cfi_offset (%r7,-104) + cfi_offset (%r6,-112) lgr %r1,%r15 lg %r0,8(%r15) /* Load eos. */ ahi %r15,-208 /* Buy stack space. */ + cfi_adjust_cfa_offset (208) stg %r1,0(%r15) /* Store back chain. */ stg %r0,8(%r15) /* Store eos. */ @@ -118,6 +130,8 @@ L(socket_cancel): j 4b #endif + cfi_endproc + PSEUDO_END (__socket) #ifndef NO_WEAK_ALIAS |