Fix alignment of AVX safe area on x86-64.
[glibc.git] / elf / tst-tls15.c
blob7ac963aa2d9c17e16c141d51ca6dd66ad359f005
1 #include <dlfcn.h>
2 #include <stdio.h>
4 static int
5 do_test (void)
7 void *h = dlopen ("tst-tlsmod15a.so", RTLD_NOW);
8 if (h != NULL)
10 puts ("unexpectedly succeeded to open tst-tlsmod15a.so");
11 exit (1);
14 h = dlopen ("tst-tlsmod15b.so", RTLD_NOW);
15 if (h == NULL)
17 puts ("failed to open tst-tlsmod15b.so");
18 exit (1);
21 int (*fp) (void) = (int (*) (void)) dlsym (h, "in_dso");
22 if (fp == NULL)
24 puts ("cannot find in_dso");
25 exit (1);
28 return fp ();
31 #define TEST_FUNCTION do_test ()
32 #include "../test-skeleton.c"