]> git.ipfire.org Git - thirdparty/glibc.git/blame - elf/tst-tls12.c
install.texi: Build was tested with binutils 2.41 (just released)
[thirdparty/glibc.git] / elf / tst-tls12.c
CommitLineData
94c24227
UD
1#include "tst-tls10.h"
2
3#define CHECK(N, S) \
4 p = &a##N; \
5 if (p->a != S || p->b != S + 1 || p->c != S + 2) \
6 abort ()
7
29955b5d
AS
8static int
9do_test (void)
94c24227 10{
94c24227
UD
11 struct A *p;
12 check1 ();
13 CHECK (1, 4);
14 CHECK (2, 7);
3ce1f295 15
94c24227
UD
16 exit (0);
17}
29955b5d 18
36fe25fd 19#include <support/test-driver.c>