diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-09-02 00:33:28 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-09-02 00:33:28 +0000 |
commit | c874a32e887dd78c1480dcb32052f708dcd5c1e8 (patch) | |
tree | eb7b699b55229d28ae4c15d60981dd0cfbe0c013 /linuxthreads/tst-tls1modf.c | |
parent | e3a88560b94668a5b4de5ca7161f3aea5f02e496 (diff) | |
download | glibc-c874a32e887dd78c1480dcb32052f708dcd5c1e8.tar.gz glibc-c874a32e887dd78c1480dcb32052f708dcd5c1e8.tar.xz glibc-c874a32e887dd78c1480dcb32052f708dcd5c1e8.zip |
Update.
2003-09-01 Jakub Jelinek <jakub@redhat.com> * Makefile (tests): Add tst-tls1. (module-names): Add tst-tls1mod{,a,b,c,d,e,f}. ($(objpfx)tst-tls1mod{,a,b,c,d,e,f}.so-no-z-defs): Set to yes. ($(objpfx)tst-tls1): New. ($(objpfx)tst-tls2.out): Likewise. (tests): Depend on $(objpfx)tst-tls2.out. * tst-tls1.c: New test. * tst-tls1.h: New. * tst-tls1mod.c: New. * tst-tls1moda.c: New. * tst-tls1modb.c: New. * tst-tls1modc.c: New. * tst-tls1modd.c: New. * tst-tls1mode.c: New. * tst-tls1modf.c: New. * tst-tls2.sh: New test.
Diffstat (limited to 'linuxthreads/tst-tls1modf.c')
-rw-r--r-- | linuxthreads/tst-tls1modf.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/linuxthreads/tst-tls1modf.c b/linuxthreads/tst-tls1modf.c new file mode 100644 index 0000000000..a292e56c57 --- /dev/null +++ b/linuxthreads/tst-tls1modf.c @@ -0,0 +1,9 @@ +#include <tst-tls1.h> + +#ifdef TLS_REGISTER +char tst_tls1modf[60] attribute_hidden = { 26 }; +static __thread int f1 = 24; +static __thread char f2 [32] __attribute__ ((aligned (64))); +TLS_REGISTER (f1) +TLS_REGISTER (f2) +#endif |