summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2020-06-28 19:36:55 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2020-06-28 19:36:55 +0000
commit5d26ee3375cbe6dd0d2115752c37ac41efee8673 (patch)
tree6e933455b9d14e26eaa2922743f6e5dfc851c7eb
parente2b7aadefdf51f0af9a65ebd598955df5b53efe6 (diff)
Add processor specific dynamic tag values.
ok drahn@
-rw-r--r--sys/arch/powerpc64/include/exec.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/powerpc64/include/exec.h b/sys/arch/powerpc64/include/exec.h
index f85c8361bcf..6ce09861984 100644
--- a/sys/arch/powerpc64/include/exec.h
+++ b/sys/arch/powerpc64/include/exec.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec.h,v 1.2 2020/05/27 22:22:04 gkoehler Exp $ */
+/* $OpenBSD: exec.h,v 1.3 2020/06/28 19:36:54 kettenis Exp $ */
/*
* Copyright (c) 2014 Patrick Wildt <patrick@blueri.se>
@@ -27,4 +27,10 @@
#define ELF_TARG_DATA ELFDATA2MSB
#define ELF_TARG_MACH EM_PPC64
+/* Processor sepcific dynamic tag values. */
+#define DT_PPC64_GLINK 0x70000000
+#define DT_PPC64_OPT 0x70000003
+
+#define DT_PROCNUM (DT_PPC64_OPT - DT_LOPROC + 1)
+
#endif