about summary refs log tree commit diff
path: root/sysdeps/aarch64/ldsodefs.h
diff options
context:
space:
mode:
authorSteve Ellcey <sellcey@caviumnetworks.com>2017-03-15 16:46:26 -0700
committerSteve Ellcey <sellcey@caviumnetworks.com>2017-03-15 16:46:26 -0700
commitd2e4346a30683cc42c57bd1bfd457897d78c6d7e (patch)
tree3f6933eeba1b30fe0da795ca6cd7db50f792b55d /sysdeps/aarch64/ldsodefs.h
parentfbe355fbd1973d6e29561084b3eaeb4bfe9d515a (diff)
downloadglibc-d2e4346a30683cc42c57bd1bfd457897d78c6d7e.tar.gz
glibc-d2e4346a30683cc42c57bd1bfd457897d78c6d7e.tar.xz
glibc-d2e4346a30683cc42c57bd1bfd457897d78c6d7e.zip
Add ifunc support for aarch64.
	* sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
	(DL_PLATFORM_INIT): New define.
	(dl_platform_init): New function.
	* sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
	* sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
	* sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
	* sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
	* sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
Diffstat (limited to 'sysdeps/aarch64/ldsodefs.h')
-rw-r--r--sysdeps/aarch64/ldsodefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/aarch64/ldsodefs.h b/sysdeps/aarch64/ldsodefs.h
index f277074194..ba4ada3a04 100644
--- a/sysdeps/aarch64/ldsodefs.h
+++ b/sysdeps/aarch64/ldsodefs.h
@@ -20,6 +20,7 @@
 #define _AARCH64_LDSODEFS_H 1
 
 #include <elf.h>
+#include <cpu-features.h>
 
 struct La_aarch64_regs;
 struct La_aarch64_retval;