summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/include
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2024-07-14 09:48:50 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2024-07-14 09:48:50 +0000
commit5d97d781354fd9a672facbf67e35e6f5413c055b (patch)
tree2471113964071307bad212f25e1383074cb898ea /sys/arch/amd64/include
parentca37f40c3a8a098c1b9c69645a39c675aeb5cac1 (diff)
Add elf_aux_info(3)
Designed to let userland peek at AT_HWCAP and AT_HWCAP2 using an already existing interface coming from FreeBSD. Headers bits were snatched from there. Input & ok kettenis@ libc bump and sets sync will follow soon
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r--sys/arch/amd64/include/elf.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/arch/amd64/include/elf.h b/sys/arch/amd64/include/elf.h
new file mode 100644
index 00000000000..1bd15efd8d9
--- /dev/null
+++ b/sys/arch/amd64/include/elf.h
@@ -0,0 +1,7 @@
+/* $OpenBSD: elf.h,v 1.1 2024/07/14 09:48:48 jca Exp $ */
+
+/*
+ * This file is in the public domain.
+ */
+
+/* Nothing for now */