mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-09 04:11:27 +08:00
3ce1f29594
Make several tool features mandatory and simplify the code.
12 lines
150 B
C
12 lines
150 B
C
#include <tls.h>
|
|
|
|
__thread int b[2] __attribute__ ((tls_model ("initial-exec")));
|
|
|
|
extern int foo (void);
|
|
|
|
int
|
|
bar (void)
|
|
{
|
|
return foo () + b[0];
|
|
}
|