summaryrefslogtreecommitdiffstats
path: root/runtime/autoconf-module-nsections.c
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-04-15 01:22:46 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-04-15 01:22:46 -0400
commitd9bdb83d6f14ddfb2980b62655a12cd11771af88 (patch)
tree38330b0f1865bae9baab8a9343bc501371aade71 /runtime/autoconf-module-nsections.c
parent184b2d42207667089c20208d8c63c4fcb2d481aa (diff)
downloadsystemtap-steved-d9bdb83d6f14ddfb2980b62655a12cd11771af88.tar.gz
systemtap-steved-d9bdb83d6f14ddfb2980b62655a12cd11771af88.tar.xz
systemtap-steved-d9bdb83d6f14ddfb2980b62655a12cd11771af88.zip
PR6405: unwinder build compatibility with RHEL5
Diffstat (limited to 'runtime/autoconf-module-nsections.c')
-rw-r--r--runtime/autoconf-module-nsections.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/autoconf-module-nsections.c b/runtime/autoconf-module-nsections.c
new file mode 100644
index 00000000..c1ce58b7
--- /dev/null
+++ b/runtime/autoconf-module-nsections.c
@@ -0,0 +1,8 @@
+#include <linux/module.h>
+
+struct module_sect_attrs x;
+
+void foo (void)
+{
+ (void) x.nsections;
+}