summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
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/amd64
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/amd64')
-rw-r--r--sys/arch/amd64/include/reloc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/include/reloc.h b/sys/arch/amd64/include/reloc.h
index d5e2d4d762c..09df798135c 100644
--- a/sys/arch/amd64/include/reloc.h
+++ b/sys/arch/amd64/include/reloc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: reloc.h,v 1.1 2004/02/10 14:30:05 drahn Exp $ */
+/* $OpenBSD: reloc.h,v 1.2 2010/06/27 03:11:44 guenther Exp $ */
/*
* Copyright (c) 2002,2003 Dale Rahn
@@ -44,7 +44,7 @@
#define R_X86_64_PC16 13
#define R_X86_64_8 14
#define R_X86_64_PC8 15
-#define R_X86_64_DPTMOD64 16
+#define R_X86_64_DTPMOD64 16
#define R_X86_64_DTPOFF64 17
#define R_X86_64_TPOFF64 18
#define R_X86_64_TLSGD 19