aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sparc/elf/rtld-global-offsets.sym
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/sparc/elf/rtld-global-offsets.sym')
-rw-r--r--sysdeps/sparc/elf/rtld-global-offsets.sym7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/sparc/elf/rtld-global-offsets.sym b/sysdeps/sparc/elf/rtld-global-offsets.sym
new file mode 100644
index 0000000000..ff4e97f2a6
--- /dev/null
+++ b/sysdeps/sparc/elf/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_HWCAP_OFFSET rtld_global_ro_offsetof (_dl_hwcap)