Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Apr 2004 01:50:47 -0700 (PDT)
From:      Doug Rabson <dfr@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 50651 for review
Message-ID:  <200404080850.i388olQp005701@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=50651

Change 50651 by dfr@dfr_home on 2004/04/08 01:50:46

	Add comments to new relocations for i386

Affected files ...

.. //depot/projects/kse/libexec/rtld-elf/i386/reloc.c#5 edit

Differences ...

==== //depot/projects/kse/libexec/rtld-elf/i386/reloc.c#5 (text+ko) ====

@@ -51,26 +51,26 @@
 
 #ifndef R_386_TLS_TPOFF
 
-#define R_386_TLS_TPOFF		14
-#define R_386_TLS_IE		15
-#define R_386_TLS_GOTIE		16
-#define R_386_TLS_LE		17
-#define R_386_TLS_GD		18
-#define R_386_TLS_LDM		19
-#define R_386_TLS_GD_32		24
-#define R_386_TLS_GD_PUSH	25
-#define R_386_TLS_GD_CALL	26
-#define R_386_TLS_GD_POP	27
-#define R_386_TLS_LDM_32	28
-#define R_386_TLS_LDM_PUSH	29
-#define R_386_TLS_LDM_CALL	30
-#define R_386_TLS_LDM_POP	31
-#define R_386_TLS_LDO_32	32
-#define R_386_TLS_IE_32		33
-#define R_386_TLS_LE_32		34
-#define R_386_TLS_DTPMOD32	35
-#define R_386_TLS_DTPOFF32	36
-#define R_386_TLS_TPOFF32	37
+#define	R_386_TLS_TPOFF		14 /* Negative offset in static TLS block */
+#define	R_386_TLS_IE		15 /* Absolute address of GOT for -ve static TLS */
+#define	R_386_TLS_GOTIE		16 /* GOT entry for negative static TLS block */
+#define	R_386_TLS_LE		17 /* Negative offset relative to static TLS */
+#define	R_386_TLS_GD		18 /* 32 bit offset to GOT (index,off) pair */
+#define	R_386_TLS_LDM		19 /* 32 bit offset to GOT (index,zero) pair */
+#define	R_386_TLS_GD_32		24 /* 32 bit offset to GOT (index,off) pair */
+#define	R_386_TLS_GD_PUSH	25 /* pushl instruction for Sun ABI GD sequence */
+#define	R_386_TLS_GD_CALL	26 /* call instruction for Sun ABI GD sequence */
+#define	R_386_TLS_GD_POP	27 /* popl instruction for Sun ABI GD sequence */
+#define	R_386_TLS_LDM_32	28 /* 32 bit offset to GOT (index,zero) pair */
+#define	R_386_TLS_LDM_PUSH	29 /* pushl instruction for Sun ABI LD sequence */
+#define	R_386_TLS_LDM_CALL	30 /* call instruction for Sun ABI LD sequence */
+#define	R_386_TLS_LDM_POP	31 /* popl instruction for Sun ABI LD sequence */
+#define	R_386_TLS_LDO_32	32 /* 32 bit offset from start of TLS block */
+#define	R_386_TLS_IE_32		33 /* 32 bit offset to GOT static TLS offset entry */
+#define	R_386_TLS_LE_32		34 /* 32 bit offset within static TLS block */
+#define	R_386_TLS_DTPMOD32	35 /* GOT entry containing TLS index */
+#define	R_386_TLS_DTPOFF32	36 /* GOT entry containing TLS offset */
+#define	R_386_TLS_TPOFF32	37 /* GOT entry of -ve static TLS offset */
 
 #endif
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404080850.i388olQp005701>