svn commit: r231617 - head/sys/sys

Oleksandr Tymoshenko gonzo at FreeBSD.org
Tue Feb 14 00:12:55 UTC 2012


Author: gonzo
Date: Tue Feb 14 00:12:55 2012
New Revision: 231617
URL: http://svn.freebsd.org/changeset/base/231617

Log:
  Add ARM relocations types used for thread-local storage
  
  Reviewed by:	cognet

Modified:
  head/sys/sys/elf_common.h

Modified: head/sys/sys/elf_common.h
==============================================================================
--- head/sys/sys/elf_common.h	Tue Feb 14 00:12:15 2012	(r231616)
+++ head/sys/sys/elf_common.h	Tue Feb 14 00:12:55 2012	(r231617)
@@ -633,6 +633,10 @@ typedef struct {
 #define	R_ARM_THM_SWI8		14
 #define	R_ARM_XPC25		15
 #define	R_ARM_THM_XPC22		16
+/* TLS relocations */
+#define	R_ARM_TLS_DTPMOD32	17	/* ID of module containing symbol */
+#define	R_ARM_TLS_DTPOFF32	18	/* Offset in TLS block */
+#define	R_ARM_TLS_TPOFF32	19	/* Offset in static TLS block */
 #define	R_ARM_COPY		20	/* Copy data from shared object. */
 #define	R_ARM_GLOB_DAT		21	/* Set GOT entry to data address. */
 #define	R_ARM_JUMP_SLOT		22	/* Set GOT entry to code address. */


More information about the svn-src-all mailing list