summaryrefslogtreecommitdiff
path: root/sysdeps/x86/rtld-global-offsets.sym
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86/rtld-global-offsets.sym')
-rw-r--r--sysdeps/x86/rtld-global-offsets.sym7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/x86/rtld-global-offsets.sym b/sysdeps/x86/rtld-global-offsets.sym
new file mode 100644
index 0000000000..a9d53d195f
--- /dev/null
+++ b/sysdeps/x86/rtld-global-offsets.sym
@@ -0,0 +1,7 @@
+#define SHARED 1
+
+#include <ldsodefs.h>
+
+#define rtld_global_ro_offsetof(mem) offsetof (struct rtld_global_ro, mem)
+
+RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET rtld_global_ro_offsetof (_dl_x86_cpu_features)