summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/include
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2010-06-27 03:11:45 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2010-06-27 03:11:45 +0000
commitb73b329100b459edcd48a384e4da10fac427afa4 (patch)
treed99fd841d1e189a6c18fb657ca83084e7d89ab96 /sys/arch/sparc/include
parent8a46d785199bcae03d0469a55b99e08fe33263fa (diff)
Add the TPOFF* and DTP{MOD,OFF}* definitions that ld.so will need for
doing thread-local storage and fix a typo in one that was already defined. ok kettenis@ drahn@
Diffstat (limited to 'sys/arch/sparc/include')
-rw-r--r--sys/arch/sparc/include/exec.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/sparc/include/exec.h b/sys/arch/sparc/include/exec.h
index ccd646f74be..0bfa97b9a1c 100644
--- a/sys/arch/sparc/include/exec.h
+++ b/sys/arch/sparc/include/exec.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec.h,v 1.11 2005/12/10 03:16:16 deraadt Exp $ */
+/* $OpenBSD: exec.h,v 1.12 2010/06/27 03:11:44 guenther Exp $ */
/* $NetBSD: exec.h,v 1.7 1994/11/20 20:53:02 deraadt Exp $ */
/*
@@ -105,6 +105,12 @@ struct relocation_info_sparc {
#define R_SPARC_7 43
#define R_SPARC_5 44
#define R_SPARC_6 45
+#define R_SPARC_TLS_DTPMOD32 74
+#define R_SPARC_TLS_DTPMOD64 75
+#define R_SPARC_TLS_DTPOFF32 76
+#define R_SPARC_TLS_DTPOFF64 77
+#define R_SPARC_TLS_TPOFF32 78
+#define R_SPARC_TLS_TPOFF64 79
#define R_TYPE(name) __CONCAT(R_SPARC_,name)
#endif