summary refs log tree commit diff
path: root/ports/sysdeps/aarch64/dl-link.sym
diff options
context:
space:
mode:
authorMarcus Shawcroft <marcus.shawcroft@linaro.org>2012-11-09 17:53:51 +0000
committerMarcus Shawcroft <marcus.shawcroft@linaro.org>2012-11-09 17:54:04 +0000
commit554066b83b1a0d14e6e7a24a45ef3f65342aae76 (patch)
tree5425871b9ce8abc1ae10dbc711b2b287b139e40a /ports/sysdeps/aarch64/dl-link.sym
parent2c1adbcb765ae5ce9114970324590bbb735c5051 (diff)
downloadglibc-554066b83b1a0d14e6e7a24a45ef3f65342aae76.tar.gz
glibc-554066b83b1a0d14e6e7a24a45ef3f65342aae76.tar.xz
glibc-554066b83b1a0d14e6e7a24a45ef3f65342aae76.zip
AArch64 Port
Diffstat (limited to 'ports/sysdeps/aarch64/dl-link.sym')
-rw-r--r--ports/sysdeps/aarch64/dl-link.sym15
1 files changed, 15 insertions, 0 deletions
diff --git a/ports/sysdeps/aarch64/dl-link.sym b/ports/sysdeps/aarch64/dl-link.sym
new file mode 100644
index 0000000000..d67d28b40c
--- /dev/null
+++ b/ports/sysdeps/aarch64/dl-link.sym
@@ -0,0 +1,15 @@
+#include <stddef.h>
+#include <sysdep.h>
+#include <link.h>
+#include <dl-tlsdesc.h>
+
+DL_SIZEOF_RG		sizeof(struct La_aarch64_regs)
+DL_SIZEOF_RV		sizeof(struct La_aarch64_retval)
+
+DL_OFFSET_RG_X0		offsetof(struct La_aarch64_regs, lr_xreg)
+DL_OFFSET_RG_D0		offsetof(struct La_aarch64_regs, lr_dreg)
+DL_OFFSET_RG_SP		offsetof(struct La_aarch64_regs, lr_sp)
+DL_OFFSET_RG_LR		offsetof(struct La_aarch64_regs, lr_lr)
+
+DL_OFFSET_RV_X0		offsetof(struct La_aarch64_retval, lrv_xreg)
+DL_OFFSET_RV_D0		offsetof(struct La_aarch64_retval, lrv_dreg)