about summary refs log tree commit diff
path: root/sysdeps/aarch64/rtld-global-offsets.sym
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/aarch64/rtld-global-offsets.sym')
-rw-r--r--sysdeps/aarch64/rtld-global-offsets.sym10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/aarch64/rtld-global-offsets.sym b/sysdeps/aarch64/rtld-global-offsets.sym
new file mode 100644
index 0000000000..23cdaf7d9e
--- /dev/null
+++ b/sysdeps/aarch64/rtld-global-offsets.sym
@@ -0,0 +1,10 @@
+#define SHARED 1
+
+#include <ldsodefs.h>
+
+#define GLRO_offsetof(name) offsetof (struct rtld_global_ro, _##name)
+
+-- Offsets of _rtld_global_ro in libc.so
+
+GLRO_DL_HWCAP_OFFSET	GLRO_offsetof (dl_hwcap)
+GLRO_DL_HWCAP2_OFFSET	GLRO_offsetof (dl_hwcap2)