15 h = dlopen("src/functional/tls_align_dso.so", RTLD_LAZY);
17 t_error("dlopen failed\n");
20 t_error("dlsym failed\n");
22 for (i = 0; i < 4; i++) {
24 t_error("name is not set for t[%d]\n", i);
25 if (t[i].addr & (t[i].align-1))
26 t_error("bad alignment: %s, size: %u, align: %u, addr: 0x%lx\n",
27 t[i].name, t[i].size, t[i].align, t[i].addr);