From 9d15d5e7533738f3e80f1aeecb4e30f8c9db1670 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 19 Jun 2014 02:01:06 -0400 Subject: add arch-generic support for tlsdesc relocations to dynamic linker this code is non-functional without further changes to link up the arch-specific reloc types for tlsdesc and add asm implementations of __tlsdesc_static and __tlsdesc_dynamic. --- src/ldso/tlsdesc.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/ldso/tlsdesc.c (limited to 'src/ldso/tlsdesc.c') diff --git a/src/ldso/tlsdesc.c b/src/ldso/tlsdesc.c new file mode 100644 index 00000000..031b5b80 --- /dev/null +++ b/src/ldso/tlsdesc.c @@ -0,0 +1,13 @@ +#ifdef SHARED + +#include +#include "libc.h" + +ptrdiff_t __tlsdesc_static() +{ + return 0; +} + +weak_alias(__tlsdesc_static, __tlsdesc_dynamic); + +#endif -- cgit v1.2.1