diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-06-19 02:01:06 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-06-19 02:01:06 -0400 |
commit | 9d15d5e7533738f3e80f1aeecb4e30f8c9db1670 (patch) | |
tree | ed434d3c3e552d208220d9dfbe0d085c3745d884 /src/ldso/tlsdesc.c | |
parent | cef0f289f666b6c963bfd11537a6d80916ff889e (diff) | |
download | musl-9d15d5e7533738f3e80f1aeecb4e30f8c9db1670.tar.gz musl-9d15d5e7533738f3e80f1aeecb4e30f8c9db1670.tar.bz2 musl-9d15d5e7533738f3e80f1aeecb4e30f8c9db1670.tar.xz musl-9d15d5e7533738f3e80f1aeecb4e30f8c9db1670.zip |
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.
Diffstat (limited to 'src/ldso/tlsdesc.c')
-rw-r--r-- | src/ldso/tlsdesc.c | 13 |
1 files changed, 13 insertions, 0 deletions
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 <stddef.h> +#include "libc.h" + +ptrdiff_t __tlsdesc_static() +{ + return 0; +} + +weak_alias(__tlsdesc_static, __tlsdesc_dynamic); + +#endif |