Removed legacy signal trampoline.
This commit is contained in:
parent
4fc642a3d9
commit
0654f7911f
@ -33,8 +33,6 @@
|
||||
#ifndef _MACHINE_MD_VAR_H_
|
||||
#define _MACHINE_MD_VAR_H_
|
||||
|
||||
extern char sigcode[];
|
||||
extern int szsigcode;
|
||||
extern char tl0_base[];
|
||||
extern char _end[];
|
||||
|
||||
|
@ -64,8 +64,8 @@ struct sysentvec elf64_freebsd_sysvec = {
|
||||
0,
|
||||
elf64_freebsd_fixup,
|
||||
sendsig,
|
||||
sigcode,
|
||||
&szsigcode,
|
||||
NULL,
|
||||
NULL,
|
||||
0,
|
||||
"FreeBSD ELF64",
|
||||
__elfN(coredump),
|
||||
|
@ -150,23 +150,3 @@ ENTRY(cpu_setregs)
|
||||
retl
|
||||
nop
|
||||
END(cpu_setregs)
|
||||
|
||||
/*
|
||||
* Signal trampoline, copied out to user stack. Must be 16 byte aligned or
|
||||
* the argv and envp pointers can become misaligned.
|
||||
*/
|
||||
ENTRY(sigcode)
|
||||
call %o4
|
||||
nop
|
||||
add %sp, SPOFF + CCFSZ + SF_UC, %o0
|
||||
mov SYS_sigreturn, %g1
|
||||
ta %xcc, 9
|
||||
mov SYS_exit, %g1
|
||||
ta %xcc, 9
|
||||
illtrap
|
||||
.align 16
|
||||
esigcode:
|
||||
END(sigcode)
|
||||
|
||||
DATA(szsigcode)
|
||||
.long esigcode - sigcode
|
||||
|
Loading…
Reference in New Issue
Block a user