aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-02-05 13:01:08 +0100
committerFlorian Weimer <fweimer@redhat.com>2019-02-05 13:01:08 +0100
commitf1ac7455831546e5dca0ed98fe8af2686fae7ce6 (patch)
treebf2b9fc08d06a3ee6807988dd8c74e64a8cfacbb /include
parent77dc0d8643aa99c92bf671352b0a8adde705896f (diff)
downloadglibc-f1ac7455831546e5dca0ed98fe8af2686fae7ce6.tar
glibc-f1ac7455831546e5dca0ed98fe8af2686fae7ce6.tar.gz
glibc-f1ac7455831546e5dca0ed98fe8af2686fae7ce6.tar.bz2
glibc-f1ac7455831546e5dca0ed98fe8af2686fae7ce6.zip
arm: Use "nr" constraint for Systemtap probes [BZ #24164]
With the default "nor" constraint, current GCC will use the "o" constraint for constants, after emitting the constant to memory. That results in unparseable Systemtap probe notes such as "-4@.L1052". Removing the "o" alternative and using "nr" instead avoids this.
Diffstat (limited to 'include')
-rw-r--r--include/stap-probe.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/stap-probe.h b/include/stap-probe.h
index c53dd86592..8c26292edd 100644
--- a/include/stap-probe.h
+++ b/include/stap-probe.h
@@ -21,6 +21,7 @@
#ifdef USE_STAP_PROBE
+# include <stap-probe-machine.h>
# include <sys/sdt.h>
/* Our code uses one macro LIBC_PROBE (name, n, arg1, ..., argn).