summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/check_sym3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/check_sym b/lib/check_sym
index 7b91a8f0977..a7dd9c5278b 100755
--- a/lib/check_sym
+++ b/lib/check_sym
@@ -1,5 +1,5 @@
#!/bin/ksh
-# $OpenBSD: check_sym,v 1.9 2019/10/05 00:59:24 guenther Exp $
+# $OpenBSD: check_sym,v 1.10 2019/10/05 01:01:23 guenther Exp $
#
# Copyright (c) 2016,2019 Philip Guenther <guenther@openbsd.org>
#
@@ -223,6 +223,7 @@ jump_slots() {
mips64) # the $((gotsym$1)) converts hex to decimal
awk -v g=$((gotsym$1)) \
'/^Symbol table ..symtab/{exit}
+ $6 == "PROTECTED" { next }
$1+0 >= g && $4 == "FUNC" {print $8}' /tmp/s$1
;;
*) awk '/JU*MP_SL/ && $5 != ""{print $5}' /tmp/r$1