aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/aarch64/ldsodefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/aarch64/ldsodefs.h')
-rw-r--r--sysdeps/aarch64/ldsodefs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/aarch64/ldsodefs.h b/sysdeps/aarch64/ldsodefs.h
index ab42b05..b0b23df 100644
--- a/sysdeps/aarch64/ldsodefs.h
+++ b/sysdeps/aarch64/ldsodefs.h
@@ -22,6 +22,11 @@
#include <elf.h>
#include <cpu-features.h>
+#ifdef __CHERI_PURE_CAPABILITY__
+# define DO_ELF_MACHINE_REL_RELATIVE(map, l_addr, relative) \
+ elf_machine_rela_relative (map, relative)
+#endif
+
struct La_aarch64_regs;
struct La_aarch64_retval;