diff options
author | dfr <dfr@FreeBSD.org> | 2004-08-15 16:18:52 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 2004-08-15 16:18:52 +0000 |
commit | 2f90ca8b3cce7d9b8e36a7641f90e8d59ebde4a5 (patch) | |
tree | e8c5fbe955b31ea20466f96e5959370ad849667b /lib/csu/powerpc | |
parent | ce4e47fed011aaea8720c16b940600231fdab789 (diff) | |
download | FreeBSD-src-2f90ca8b3cce7d9b8e36a7641f90e8d59ebde4a5.zip FreeBSD-src-2f90ca8b3cce7d9b8e36a7641f90e8d59ebde4a5.tar.gz |
Add support for TLS in statically linked programs.
Diffstat (limited to 'lib/csu/powerpc')
-rw-r--r-- | lib/csu/powerpc/crt1.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/csu/powerpc/crt1.c b/lib/csu/powerpc/crt1.c index 4c98271..080691c 100644 --- a/lib/csu/powerpc/crt1.c +++ b/lib/csu/powerpc/crt1.c @@ -100,6 +100,8 @@ _start(int argc, char **argv, char **env, if (&_DYNAMIC != NULL) atexit(cleanup); + else + _init_tls(); #ifdef GCRT atexit(_mcleanup); |