summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2002-06-03 20:30:50 +0000
committerdrahn <drahn@openbsd.org>2002-06-03 20:30:50 +0000
commit6afccae84f3fe39217972e65d5cc1fb565ae1aff (patch)
tree93ad2942270d5f375d87c40bd52e62a54e734048
parentspell transceiver correctly (diff)
downloadwireguard-openbsd-6afccae84f3fe39217972e65d5cc1fb565ae1aff.tar.xz
wireguard-openbsd-6afccae84f3fe39217972e65d5cc1fb565ae1aff.zip
Proper masks for 64 bit relocation types. ok art@
-rw-r--r--libexec/ld.so/sparc64/rtld_machine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/sparc64/rtld_machine.c b/libexec/ld.so/sparc64/rtld_machine.c
index ca188004ef9..dbd4ab254b9 100644
--- a/libexec/ld.so/sparc64/rtld_machine.c
+++ b/libexec/ld.so/sparc64/rtld_machine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtld_machine.c,v 1.13 2002/05/24 04:17:01 deraadt Exp $ */
+/* $OpenBSD: rtld_machine.c,v 1.14 2002/06/03 20:30:50 drahn Exp $ */
/*
* Copyright (c) 1999 Dale Rahn
@@ -194,7 +194,7 @@ static long reloc_target_bitmask[] = {
_BM(10), _BM(13), _BM(22), /* GOT10, GOT13, GOT22 */
_BM(10), _BM(22), /* _PC10, _PC22 */
_BM(30), 0, /* _WPLT30, _COPY */
- _BM(32), _BM(32), _BM(32), /* _GLOB_DAT, JMP_SLOT, _RELATIVE */
+ -1, _BM(32), -1, /* _GLOB_DAT, JMP_SLOT, _RELATIVE */
_BM(32), _BM(32), /* _UA32, PLT32 */
_BM(22), _BM(10), /* _HIPLT22, LOPLT10 */
_BM(32), _BM(22), _BM(10), /* _PCPLT32, _PCPLT22, _PCPLT10 */