diff options
author | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2024-07-14 09:48:50 +0000 |
---|---|---|
committer | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2024-07-14 09:48:50 +0000 |
commit | 5d97d781354fd9a672facbf67e35e6f5413c055b (patch) | |
tree | 2471113964071307bad212f25e1383074cb898ea /sys/arch/powerpc | |
parent | ca37f40c3a8a098c1b9c69645a39c675aeb5cac1 (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/powerpc')
-rw-r--r-- | sys/arch/powerpc/include/elf.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sys/arch/powerpc/include/elf.h b/sys/arch/powerpc/include/elf.h new file mode 100644 index 00000000000..6624f42f237 --- /dev/null +++ b/sys/arch/powerpc/include/elf.h @@ -0,0 +1,14 @@ +/* $OpenBSD: elf.h,v 1.1 2024/07/14 09:48:48 jca Exp $ */ + +/* + * This file is in the public domain. + */ + +#ifndef _MACHINE_ELF_H_ +#define _MACHINE_ELF_H_ + +/* + * TODO FreeBSD puts PPC_FEATURE* in cpu.h + */ + +#endif /* !_MACHINE_ELF_H_ */ |