Skip to content

Commit

Permalink
Merge pull request #116 from olebole/PLT
Browse files Browse the repository at this point in the history
Use PLT when calling sigsetjmp on i386
  • Loading branch information
olebole committed Jul 29, 2020
2 parents 815d0d9 + 0002968 commit ba22d13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unix/as.linux/zsvjmp.S
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ zsvjmp_:
addl $4, %ecx // change stack to point to &jmpbuf[1]
movl %ecx, 4(%esp) // ...
movl $0, 8(%esp) // change arg2 to zero
jmp __sigsetjmp // let sigsetjmp do the rest
jmp __sigsetjmp@PLT // let sigsetjmp do the rest

#elif defined(__x86_64__) // linux x32 ABI

Expand Down

0 comments on commit ba22d13

Please sign in to comment.