runtime: fix freebsd build

Fixes #2078.

R=rsc
CC=golang-dev
https://golang.org/cl/4800052
This commit is contained in:
Mikio Hara 2011-07-26 00:49:32 -04:00 committed by Russ Cox
parent 55dfdb64ab
commit e5437ab065
2 changed files with 4 additions and 0 deletions

View File

@ -111,6 +111,8 @@ runtime·sighandler(int32 sig, Siginfo *info, void *context, G *gp)
runtime·exit(2);
}
// Called from kernel on signal stack, so no stack split.
#pragma textflag 7
void
runtime·sigignore(void)
{

View File

@ -119,6 +119,8 @@ runtime·sighandler(int32 sig, Siginfo *info, void *context, G *gp)
runtime·exit(2);
}
// Called from kernel on signal stack, so no stack split.
#pragma textflag 7
void
runtime·sigignore(void)
{