summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
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/sparc64
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/sparc64')
-rw-r--r--sys/arch/sparc64/include/elf.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/arch/sparc64/include/elf.h b/sys/arch/sparc64/include/elf.h
new file mode 100644
index 00000000000..cc2a3bb6da6
--- /dev/null
+++ b/sys/arch/sparc64/include/elf.h
@@ -0,0 +1,7 @@
+/* $OpenBSD: elf.h,v 1.1 2024/07/14 09:48:49 jca Exp $ */
+
+/*
+ * This file is in the public domain.
+ */
+
+/* Nothing for now */