about summary refs log tree commit diff
path: root/arch/x86_64
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-06-19 15:26:04 -0400
committerRich Felker <dalias@aerifal.cx>2014-06-19 15:26:04 -0400
commit39201d07e41ca4cf5f8c35d4663767aa3f75208f (patch)
tree1e9a074237e67621534ae9d0c4fb1521968b35db /arch/x86_64
parent5ba238e1e48d2fe4107e09903b26b2b36aa9e9ff (diff)
downloadmusl-39201d07e41ca4cf5f8c35d4663767aa3f75208f.tar.gz
musl-39201d07e41ca4cf5f8c35d4663767aa3f75208f.tar.xz
musl-39201d07e41ca4cf5f8c35d4663767aa3f75208f.zip
add tlsdesc support for x86_64
Diffstat (limited to 'arch/x86_64')
-rw-r--r--arch/x86_64/reloc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86_64/reloc.h b/arch/x86_64/reloc.h
index ffab5566..9bc58496 100644
--- a/arch/x86_64/reloc.h
+++ b/arch/x86_64/reloc.h
@@ -25,6 +25,8 @@ static int remap_rel(int type)
 		return REL_DTPOFF;
 	case R_X86_64_TPOFF64:
 		return REL_TPOFF;
+	case R_X86_64_TLSDESC:
+		return REL_TLSDESC;
 	}
 	return 0;
 }