summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2002-10-22 15:15:39 +0000
committerjake <jake@FreeBSD.org>2002-10-22 15:15:39 +0000
commit675ba849a80d7c109b50ea116bddbeffad2de77b (patch)
tree7f092640873aea0185d6c3c73a6d46b6b85a200b /lib/libc
parent35c355e2f2817a04cf13bc31e7bafec746390fe2 (diff)
downloadFreeBSD-src-675ba849a80d7c109b50ea116bddbeffad2de77b.zip
FreeBSD-src-675ba849a80d7c109b50ea116bddbeffad2de77b.tar.gz
Rename the libc signal trampoline to __sigtramp to match netbsd. This
should allow gdb to detect when we're executing in a signal trampoline.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sparc64/sys/__sparc_sigtramp_setup.c4
-rw-r--r--lib/libc/sparc64/sys/sigcode.S4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/sparc64/sys/__sparc_sigtramp_setup.c b/lib/libc/sparc64/sys/__sparc_sigtramp_setup.c
index b0c190b..63fcb82 100644
--- a/lib/libc/sparc64/sys/__sparc_sigtramp_setup.c
+++ b/lib/libc/sparc64/sys/__sparc_sigtramp_setup.c
@@ -34,9 +34,9 @@ __FBSDID("$FreeBSD$");
#include <stdlib.h>
-extern char __sigcode[];
+extern char __sigtramp[];
-static const struct sparc_sigtramp_install_args sia = { __sigcode, NULL };
+static const struct sparc_sigtramp_install_args sia = { __sigtramp, NULL };
void
__sparc_sigtramp_setup(void)
diff --git a/lib/libc/sparc64/sys/sigcode.S b/lib/libc/sparc64/sys/sigcode.S
index 5ebc4c7..be3cb45 100644
--- a/lib/libc/sparc64/sys/sigcode.S
+++ b/lib/libc/sparc64/sys/sigcode.S
@@ -29,7 +29,7 @@ __FBSDID("$FreeBSD$");
#include "assym.s"
-ENTRY(__sigcode)
+ENTRY(__sigtramp)
call %o4
nop
call sigreturn
@@ -37,4 +37,4 @@ ENTRY(__sigcode)
call exit
mov 1, %o0
illtrap
-END(__sigcode)
+END(__sigtramp)
OpenPOWER on IntegriCloud