diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2010-06-27 03:11:45 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2010-06-27 03:11:45 +0000 |
commit | b73b329100b459edcd48a384e4da10fac427afa4 (patch) | |
tree | d99fd841d1e189a6c18fb657ca83084e7d89ab96 /sys/arch/sparc64/include | |
parent | 8a46d785199bcae03d0469a55b99e08fe33263fa (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/sparc64/include')
-rw-r--r-- | sys/arch/sparc64/include/reloc.h | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/sys/arch/sparc64/include/reloc.h b/sys/arch/sparc64/include/reloc.h index b099468bf55..05a206f479c 100644 --- a/sys/arch/sparc64/include/reloc.h +++ b/sys/arch/sparc64/include/reloc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: reloc.h,v 1.3 2006/05/07 15:36:40 miod Exp $ */ +/* $OpenBSD: reloc.h,v 1.4 2010/06/27 03:11:44 guenther Exp $ */ /* * Copyright (c) 2001 Artur Grabowski <art@openbsd.org> * @@ -18,15 +18,19 @@ #ifndef _MACH_RELOC_H_ #define _MACH_RELOC_H_ -#define RELOC_NONE 0 +#define RELOC_NONE 0 -#define RELOC_COPY 19 -#define RELOC_GLOB_DAT 20 -#define RELOC_JMP_SLOT 21 -#define RELOC_RELATIVE 22 - -#define RELOC_64 32 - -#define RELOC_UA64 54 +#define RELOC_COPY 19 +#define RELOC_GLOB_DAT 20 +#define RELOC_JMP_SLOT 21 +#define RELOC_RELATIVE 22 +#define RELOC_64 32 +#define RELOC_UA64 54 +#define RELOC_TLS_DTPMOD32 74 +#define RELOC_TLS_DTPMOD64 75 +#define RELOC_TLS_DTPOFF32 76 +#define RELOC_TLS_DTPOFF64 77 +#define RELOC_TLS_TPOFF32 78 +#define RELOC_TLS_TPOFF64 79 #endif /* _MACH_RELOC_H_ */ |