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/powerpc/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/powerpc/include')
-rw-r--r-- | sys/arch/powerpc/include/reloc.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/sys/arch/powerpc/include/reloc.h b/sys/arch/powerpc/include/reloc.h index 2474859a86e..bf77daec8eb 100644 --- a/sys/arch/powerpc/include/reloc.h +++ b/sys/arch/powerpc/include/reloc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: reloc.h,v 1.2 2001/03/29 18:52:19 drahn Exp $ */ +/* $OpenBSD: reloc.h,v 1.3 2010/06/27 03:11:44 guenther Exp $ */ /* $NetBSD: reloc.h,v 1.1 1996/09/30 16:34:33 ws Exp $ */ /*- @@ -72,6 +72,19 @@ enum reloc_type { RELOC_PLT16_HA, /* ABI defines this as 32nd entry, but we ignore this, at least for now */ RELOC_SDAREL, + + RELOC_TLSC = 67, + RELOC_DTPMOD32, + RELOC_TPREL16, + RELOC_TPREL16_LO, + RELOC_TPREL16_HI, + RELOC_TPREL16_HA, + RELOC_TPREL32, + RELOC_DTPREL16, + RELOC_DTPREL16_LO, + RELOC_DTPREL16_HI, + RELOC_DTPREL16_HA, + RELOC_DTPREL32, RELOC_MAX }; |