Removed legacy signal trampoline.

This commit is contained in:
Jake Burkholder 2002-08-29 01:59:54 +00:00
parent 4fc642a3d9
commit 0654f7911f
3 changed files with 2 additions and 24 deletions

View File

@ -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[];

View File

@ -64,8 +64,8 @@ struct sysentvec elf64_freebsd_sysvec = {
0,
elf64_freebsd_fixup,
sendsig,
sigcode,
&szsigcode,
NULL,
NULL,
0,
"FreeBSD ELF64",
__elfN(coredump),

View File

@ -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