diff options
author | Dave Brolley <brolley@redhat.com> | 2009-09-18 18:21:30 -0400 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2009-09-18 18:21:30 -0400 |
commit | 0d50e4d06218f7a08aad4c8d3d348b2a81344e95 (patch) | |
tree | 33116716bb8a8718175e64d4a43122944a8e3e13 /includes | |
parent | a6a2869a0f4f784bab36410722f6161eab0f4503 (diff) | |
parent | 825ae5b246c81fae746c93324a05d207103529a9 (diff) | |
download | systemtap-steved-0d50e4d06218f7a08aad4c8d3d348b2a81344e95.tar.gz systemtap-steved-0d50e4d06218f7a08aad4c8d3d348b2a81344e95.tar.xz systemtap-steved-0d50e4d06218f7a08aad4c8d3d348b2a81344e95.zip |
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'includes')
-rw-r--r-- | includes/sys/sdt.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/includes/sys/sdt.h b/includes/sys/sdt.h index 104973df..7affade6 100644 --- a/includes/sys/sdt.h +++ b/includes/sys/sdt.h @@ -18,12 +18,10 @@ #endif /* Allocated section needs to be writable when creating pic shared objects - because we store relocatable addresses in them. */ -#ifdef __PIC__ + because we store relocatable addresses in them. We used to make this + read only for non-pic executables, but the new semaphore support relies + on having a writable .probes section to put the enabled variables in. */ #define ALLOCSEC "\"aw\"" -#else -#define ALLOCSEC "\"a\"" -#endif /* An allocated section .probes that holds the probe names and addrs. */ #define STAP_PROBE_DATA_(probe,guard,arg) \ |