Add arch-x86_64/bionic.
This is basically half of I5de76f6c46ac87779f207d568a86bb453e2414de from Pavel Chupin <pavel.v.chupin@intel.com>, but with the stock upstream setjump/sigsetjmp and H.J. Lu's suggested changes to __rt_sigreturn. Change-Id: I8167ec228faeb2065391e5bec0413cca662f3d33
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#include <linux/err.h>
|
||||
#include <machine/asm.h>
|
||||
|
||||
ENTRY(arch_prctl)
|
||||
ENTRY(__arch_prctl)
|
||||
movl $__NR_arch_prctl, %eax
|
||||
syscall
|
||||
cmpq $-MAX_ERRNO, %rax
|
||||
@@ -14,4 +14,4 @@ ENTRY(arch_prctl)
|
||||
orq $-1, %rax
|
||||
1:
|
||||
ret
|
||||
END(arch_prctl)
|
||||
END(__arch_prctl)
|
||||
Reference in New Issue
Block a user