diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2006-01-05 22:19:50 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2006-01-05 22:19:50 +0000 |
commit | 58b16dda99bbbbebc098058800131a783dbed215 (patch) | |
tree | f2cad210cd8aa303a05e8d307f00f16666598818 /lib/libc/arch/hppa64 | |
parent | 475a245e08bd55854e56e3d1183e8bf3245cfc90 (diff) |
System call stubs don't have a frame of their own, so use EMTRY_LEAF instead
of ENTRY. This avoids emitting bogus unwind entries, which makes gdb a lot
happier.
ok mickey@
Diffstat (limited to 'lib/libc/arch/hppa64')
-rw-r--r-- | lib/libc/arch/hppa64/SYS.h | 10 | ||||
-rw-r--r-- | lib/libc/arch/hppa64/sys/Ovfork.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/hppa64/sys/brk.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/hppa64/sys/fork.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/hppa64/sys/rfork.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/hppa64/sys/sbrk.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/hppa64/sys/sigpending.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/hppa64/sys/sigprocmask.S | 4 | ||||
-rw-r--r-- | lib/libc/arch/hppa64/sys/sigsuspend.S | 4 |
9 files changed, 21 insertions, 21 deletions
diff --git a/lib/libc/arch/hppa64/SYS.h b/lib/libc/arch/hppa64/SYS.h index 0e80aa1705b..2e0b7ff7685 100644 --- a/lib/libc/arch/hppa64/SYS.h +++ b/lib/libc/arch/hppa64/SYS.h @@ -1,4 +1,4 @@ -/* $OpenBSD: SYS.h,v 1.1 2005/04/01 10:54:27 mickey Exp $ */ +/* $OpenBSD: SYS.h,v 1.2 2006/01/05 22:19:49 kettenis Exp $ */ /* * Copyright (c) 1998-2002 Michael Shalayeff @@ -33,8 +33,8 @@ #include <machine/vmparam.h> #undef _LOCORE -#define SYSENTRY(x,n) !\ -ENTRY(__CONCAT(_thread_sys_,x),n) !\ +#define SYSENTRY(x) !\ +LEAF_ENTRY(__CONCAT(_thread_sys_,x)) !\ .weak x ! .set x, __CONCAT(_thread_sys_,x) #define SYSEXIT(x) !\ EXIT(__CONCAT(_thread_sys_,x)) @@ -49,14 +49,14 @@ EXIT(__CONCAT(_thread_sys_,x)) ldd HPPA_FRAME_ERP(sr0,sp), rp #define PSEUDO(x,y) !\ -SYSENTRY(x,0) !\ +SYSENTRY(x) !\ SYSCALL(y) !\ bv r0(rp) !\ nop !\ SYSEXIT(x) #define PSEUDO_NOERROR(x,y) !\ -SYSENTRY(x,0) !\ +SYSENTRY(x) !\ std rp, HPPA_FRAME_ERP(sr0,sp) !\ ldil L%SYSCALLGATE, r1 !\ ble 4(sr7, r1) !\ diff --git a/lib/libc/arch/hppa64/sys/Ovfork.S b/lib/libc/arch/hppa64/sys/Ovfork.S index 2651d794001..13cb503c717 100644 --- a/lib/libc/arch/hppa64/sys/Ovfork.S +++ b/lib/libc/arch/hppa64/sys/Ovfork.S @@ -1,4 +1,4 @@ -/* $OpenBSD: Ovfork.S,v 1.2 2005/08/07 16:40:14 espie Exp $ */ +/* $OpenBSD: Ovfork.S,v 1.3 2006/01/05 22:19:49 kettenis Exp $ */ /* * Copyright (c) 1999,2002 Michael Shalayeff @@ -28,7 +28,7 @@ #include "SYS.h" -SYSENTRY(vfork,0) +SYSENTRY(vfork) .import errno, data copy rp, t4 ldil L%SYSCALLGATE, r1 diff --git a/lib/libc/arch/hppa64/sys/brk.S b/lib/libc/arch/hppa64/sys/brk.S index 8df7e5908c0..fd7022d8729 100644 --- a/lib/libc/arch/hppa64/sys/brk.S +++ b/lib/libc/arch/hppa64/sys/brk.S @@ -1,4 +1,4 @@ -/* $OpenBSD: brk.S,v 1.2 2005/08/07 16:40:14 espie Exp $ */ +/* $OpenBSD: brk.S,v 1.3 2006/01/05 22:19:49 kettenis Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -36,7 +36,7 @@ minbrk .long end -SYSENTRY(brk,0) +SYSENTRY(brk) #ifdef PIC addil LT%minbrk, r19 ldd RT%minbrk(r1), t1 diff --git a/lib/libc/arch/hppa64/sys/fork.S b/lib/libc/arch/hppa64/sys/fork.S index 1ed060dba68..c18ac975d9c 100644 --- a/lib/libc/arch/hppa64/sys/fork.S +++ b/lib/libc/arch/hppa64/sys/fork.S @@ -1,4 +1,4 @@ -/* $OpenBSD: fork.S,v 1.2 2005/08/07 16:40:14 espie Exp $ */ +/* $OpenBSD: fork.S,v 1.3 2006/01/05 22:19:49 kettenis Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -28,7 +28,7 @@ #include "SYS.h" -SYSENTRY(fork,0) +SYSENTRY(fork) SYSCALL(fork) addi -1, ret1, ret1 bv r0(rp) diff --git a/lib/libc/arch/hppa64/sys/rfork.S b/lib/libc/arch/hppa64/sys/rfork.S index d2a55757f77..0ee732a2cb7 100644 --- a/lib/libc/arch/hppa64/sys/rfork.S +++ b/lib/libc/arch/hppa64/sys/rfork.S @@ -1,4 +1,4 @@ -/* $OpenBSD: rfork.S,v 1.2 2005/08/07 16:40:14 espie Exp $ */ +/* $OpenBSD: rfork.S,v 1.3 2006/01/05 22:19:49 kettenis Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -28,7 +28,7 @@ #include "SYS.h" -SYSENTRY(rfork,0) +SYSENTRY(rfork) SYSCALL(rfork) addi -1, ret1, ret1 bv r0(rp) diff --git a/lib/libc/arch/hppa64/sys/sbrk.S b/lib/libc/arch/hppa64/sys/sbrk.S index b41ddbd46c1..bc83767d2b1 100644 --- a/lib/libc/arch/hppa64/sys/sbrk.S +++ b/lib/libc/arch/hppa64/sys/sbrk.S @@ -1,4 +1,4 @@ -/* $OpenBSD: sbrk.S,v 1.2 2005/08/07 16:40:14 espie Exp $ */ +/* $OpenBSD: sbrk.S,v 1.3 2006/01/05 22:19:49 kettenis Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -35,7 +35,7 @@ __curbrk .long end -SYSENTRY(sbrk,0) +SYSENTRY(sbrk) #ifdef PIC addil LT%__curbrk, r19 ldd RT%__curbrk(r1), t1 diff --git a/lib/libc/arch/hppa64/sys/sigpending.S b/lib/libc/arch/hppa64/sys/sigpending.S index 58bf9a58fcf..4955ac41ce6 100644 --- a/lib/libc/arch/hppa64/sys/sigpending.S +++ b/lib/libc/arch/hppa64/sys/sigpending.S @@ -1,4 +1,4 @@ -/* $OpenBSD: sigpending.S,v 1.2 2005/08/07 16:40:14 espie Exp $ */ +/* $OpenBSD: sigpending.S,v 1.3 2006/01/05 22:19:49 kettenis Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -28,7 +28,7 @@ #include "SYS.h" -SYSENTRY(sigpending,0) +SYSENTRY(sigpending) SYSCALL(sigpending) ldd HPPA_FRAME_ARG(0)(sp), t1 std ret0, 0(t1) diff --git a/lib/libc/arch/hppa64/sys/sigprocmask.S b/lib/libc/arch/hppa64/sys/sigprocmask.S index cb2eac357bd..468064d435d 100644 --- a/lib/libc/arch/hppa64/sys/sigprocmask.S +++ b/lib/libc/arch/hppa64/sys/sigprocmask.S @@ -1,4 +1,4 @@ -/* $OpenBSD: sigprocmask.S,v 1.2 2005/08/07 16:40:14 espie Exp $ */ +/* $OpenBSD: sigprocmask.S,v 1.3 2006/01/05 22:19:49 kettenis Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -28,7 +28,7 @@ #include "SYS.h" -SYSENTRY(sigprocmask,0) +SYSENTRY(sigprocmask) /* just in case compiler forgot about this */ std arg2, HPPA_FRAME_ARG(2)(sp) diff --git a/lib/libc/arch/hppa64/sys/sigsuspend.S b/lib/libc/arch/hppa64/sys/sigsuspend.S index e1298bc5325..cf2526a0f1e 100644 --- a/lib/libc/arch/hppa64/sys/sigsuspend.S +++ b/lib/libc/arch/hppa64/sys/sigsuspend.S @@ -1,4 +1,4 @@ -/* $OpenBSD: sigsuspend.S,v 1.2 2005/08/07 16:40:14 espie Exp $ */ +/* $OpenBSD: sigsuspend.S,v 1.3 2006/01/05 22:19:49 kettenis Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -28,7 +28,7 @@ #include "SYS.h" -SYSENTRY(sigsuspend,0) +SYSENTRY(sigsuspend) ldd 0(arg0), arg0 std arg0, HPPA_FRAME_ARG(0)(sp) |