Add CFI annotation.

This commit is contained in:
John David Anglin 2017-07-16 12:46:50 -04:00
parent cc407f4e81
commit ce1917d0bf
5 changed files with 17 additions and 0 deletions

View File

@ -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.

View File

@ -64,9 +64,12 @@
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. */

View 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.

View 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

View File

@ -26,8 +26,11 @@
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. */