diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2006-11-22 02:56:27 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2006-11-22 02:56:27 +0000 |
commit | 2830d4ec6664a7656caef34631c430ef55c8857f (patch) | |
tree | cf3dfeeb2a73b764d50e496645fb7f9a9be3939f | |
parent | f7b4d23e16ce2b17dc826ca881546df41248c8b0 (diff) |
also save gp for them dynamic executables; todd@ ok
-rw-r--r-- | usr.sbin/afs/src/lwp/process.hpux.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/afs/src/lwp/process.hpux.S b/usr.sbin/afs/src/lwp/process.hpux.S index d83df98eb47..2502ae3246d 100644 --- a/usr.sbin/afs/src/lwp/process.hpux.S +++ b/usr.sbin/afs/src/lwp/process.hpux.S @@ -258,6 +258,7 @@ savecontext stw %r16, -0x10(%r30) stw %r17, -0x0c(%r30) stw %r18, -0x08(%r30) + stw %r19, -0x04(%r30) LDI 1,%r1 /* Store a (char) 1 in */ LDW T%PRE_Block(%sr0,%r19),%r31 /* global variable */ @@ -294,6 +295,7 @@ returnto /* No ENTRY is used since this is a magic routine. */ LDWS 0(0,%arg0),%r30 /* Load the stack pointer from area2 */ + ldw -0x04(%r30), %r19 ldw -0x08(%r30), %r18 ldw -0x0c(%r30), %r17 ldw -0x10(%r30), %r16 @@ -366,6 +368,7 @@ savecontext stw %r16, -0x10(%r30) stw %r17, -0x0c(%r30) stw %r18, -0x08(%r30) + stw %r19, -0x04(%r30) LDI 1,%r31 /* Store a (char) 1 in */ ADDIL L%PRE_Block-$global$,%r27 /* global variable */ @@ -405,6 +408,7 @@ returnto LDWS 0(0,%r26),%r30 /* Load the stack pointer from area2 */ ADDIL L%PRE_Block-$global$,%r27 /* PRE_Block = 0 */ + ldw -0x04(%r30), %r19 ldw -0x08(%r30), %r18 ldw -0x0c(%r30), %r17 ldw -0x10(%r30), %r16 |