diff options
author | Andy Lutomirski <luto@amacapital.net> | 2014-12-04 12:25:37 -0800 |
---|---|---|
committer | Andy Lutomirski <luto@amacapital.net> | 2014-12-04 12:25:37 -0800 |
commit | 74d1ad147f3079da3916c4ce8664b0055aa83cb8 (patch) | |
tree | e03ff3f29957a70f3e49f231b8d3a680e70bcd16 | |
parent | 67b8ffac570cc44cd6f4d975bdf119d378417cba (diff) | |
download | misc-tests-74d1ad147f3079da3916c4ce8664b0055aa83cb8.tar.gz |
sigreturn: Fix trampoline asm to work on all CPUs
-rw-r--r-- | sigreturn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sigreturn.c b/sigreturn.c index e2de0e5..8c26c5d 100644 --- a/sigreturn.c +++ b/sigreturn.c @@ -55,7 +55,7 @@ asm (".pushsection .text\n\t" ".type int3, @function\n\t" ".align 4096\n\t" "int3:\n\t" - "mov %ss,%ax\n\t" + "mov %ss,%eax\n\t" "int3\n\t" ".size int3, . - int3\n\t" ".align 4096, 0xcc\n\t" |