about summary refs log tree commit diff
path: root/arch
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-06-19 02:50:45 -0400
committerRich Felker <dalias@aerifal.cx>2014-06-19 02:50:45 -0400
commit4e0b4a5de735ecb241fadb1e15381c947e16e71f (patch)
treedbb3a6aa3356296b8e66b59ed3fe05e93ef5361c /arch
parent880c479f0e3a798d826c1c91b38d33e2b3e36580 (diff)
downloadmusl-4e0b4a5de735ecb241fadb1e15381c947e16e71f.tar.gz
musl-4e0b4a5de735ecb241fadb1e15381c947e16e71f.tar.xz
musl-4e0b4a5de735ecb241fadb1e15381c947e16e71f.zip
add tlsdesc support for i386
Diffstat (limited to 'arch')
-rw-r--r--arch/i386/reloc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/i386/reloc.h b/arch/i386/reloc.h
index 12224b79..eaf5aae0 100644
--- a/arch/i386/reloc.h
+++ b/arch/i386/reloc.h
@@ -26,6 +26,8 @@ static int remap_rel(int type)
 		return REL_TPOFF;
 	case R_386_TLS_TPOFF32:
 		return REL_TPOFF_NEG;
+	case R_386_TLS_DESC:
+		return REL_TLSDESC;
 	}
 	return 0;
 }