diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2011-09-19 13:01:29 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2011-09-19 13:01:29 +0000 |
commit | 7234b4b613e174d2877e651ea5d7dab67740b7d3 (patch) | |
tree | 43699cd8d5a148e7bf1132b5d7086d18c19272b4 /lib/libc/arch/hppa64 | |
parent | adf7a559634127930121d492ea0d9caa20fa6a1a (diff) |
Use a long-displacement branch instruction to call __cerror, since the
linker doesn't generate stubs yet.
Diffstat (limited to 'lib/libc/arch/hppa64')
-rw-r--r-- | lib/libc/arch/hppa64/SYS.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/arch/hppa64/SYS.h b/lib/libc/arch/hppa64/SYS.h index 87d86f1d721..d60f389285d 100644 --- a/lib/libc/arch/hppa64/SYS.h +++ b/lib/libc/arch/hppa64/SYS.h @@ -1,4 +1,4 @@ -/* $OpenBSD: SYS.h,v 1.5 2011/09/19 08:10:13 kettenis Exp $ */ +/* $OpenBSD: SYS.h,v 1.6 2011/09/19 13:01:28 kettenis Exp $ */ /* * Copyright (c) 1998-2002 Michael Shalayeff @@ -46,7 +46,8 @@ EXIT(__CONCAT(_thread_sys_,x)) ble 4(%sr7, %r1) !\ ldi __CONCAT(SYS_,x), %r1 !\ .import __cerror, code !\ - comb,<> %r0, %r1, __cerror !\ + sub,*= %r0, %r1, %r0 !\ + b,l __cerror, %rp !\ ldd HPPA_FRAME_RP(%sr0,%sp), %rp #define PSEUDO(x,y) !\ |