]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add CFI annotation.
authorJohn David Anglin <danglin@gcc.gnu.org>
Sun, 16 Jul 2017 16:46:50 +0000 (12:46 -0400)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sun, 16 Jul 2017 16:46:50 +0000 (12:46 -0400)
ChangeLog
sysdeps/unix/sysv/linux/hppa/clone.S
sysdeps/unix/sysv/linux/hppa/getcontext.S
sysdeps/unix/sysv/linux/hppa/pt-vfork.S
sysdeps/unix/sysv/linux/hppa/setcontext.S

index a4a41341d629d861c5671949e17c78691cd073ce..03e9ee0e68654f0c5f50d2929372a0f818e7a9ea 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2017-07-16  John David Anglin  <danglin@gcc.gnu.org>
 
+       * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Add .cfi annotation.
+       * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Likewise.
+       * sysdeps/unix/sysv/linux/hppa/pt-vfork.S (__vfork): Likewise.
+       * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
+
        * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Fix stack
        offset for r19 load.
 
index 8c43944c7a8563bbfdfa23fecea2aec32fd7bada..ead3c9227af061e7c926ee716f96ba29f516f761 100644 (file)
 ENTRY(__clone)
        /* Prologue */
        stwm    %r4, 64(%sp)
+       .cfi_def_cfa_offset -64
+       .cfi_offset 4, 0
        stw     %sp, -4(%sp)
 #ifdef PIC
        stw     %r19, -32(%sp)
+       .cfi_offset 19, 32
 #endif
 
        /* Sanity check arguments.  */
index 2d7529b3e8c3a285ba81785e5347842db19f2227..68a74a0b7e46b637005ddc8b0c6271e87c4e5ee8 100644 (file)
@@ -130,8 +130,11 @@ ENTRY(__getcontext)
 
        /* Prologue */
        stwm    %r4, 64(%sp)
+       .cfi_def_cfa_offset -64
+       .cfi_offset 4, 0
 #ifdef PIC
        stw     %r19, -32(%sp)
+       .cfi_offset 19, 32
 #endif
 
        /* Set up the trampoline registers.
index fc4573c86b2057962bc5e66d8b26d528af76f065..8b7d7df2fe8c27b6d49e5d64176f5da0c36a470c 100644 (file)
@@ -58,7 +58,10 @@ ENTRY(__vfork)
           that there is no child now, so it's safe to create
           a frame.  */
        stw     %rp, -20(%sp)
+       .cfi_offset 2, -20
        stwm    %r3, 64(%sp)
+       .cfi_def_cfa_offset -64
+       .cfi_offset 3, 0
        stw     %sp, -4(%sp)
 
        sub     %r0,%ret0,%r3
index 848d02e90875e97e2023682998dfadeac6aec8e1..92cb204f8d6275e1109197b7aef82a9e4805a101 100644 (file)
 ENTRY(__setcontext)
        /* Prologue */
        stwm    %r3, 64(%sp)
+       .cfi_def_cfa_offset -64
+       .cfi_offset 3, 0
 #ifdef PIC
        stw     %r19, -32(%sp)
+       .cfi_offset 19, 32
 #endif
 
        /* Save ucp.  */