about summary refs log tree commit diff
path: root/REORG.TODO/sysdeps/powerpc/rtld-global-offsets.sym
diff options
context:
space:
mode:
Diffstat (limited to 'REORG.TODO/sysdeps/powerpc/rtld-global-offsets.sym')
-rw-r--r--REORG.TODO/sysdeps/powerpc/rtld-global-offsets.sym8
1 files changed, 8 insertions, 0 deletions
diff --git a/REORG.TODO/sysdeps/powerpc/rtld-global-offsets.sym b/REORG.TODO/sysdeps/powerpc/rtld-global-offsets.sym
new file mode 100644
index 0000000000..f5ea5a1466
--- /dev/null
+++ b/REORG.TODO/sysdeps/powerpc/rtld-global-offsets.sym
@@ -0,0 +1,8 @@
+#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)
+RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET	rtld_global_ro_offsetof (_dl_hwcap2)