about summary refs log tree commit diff
path: root/elf/tst-tlsgap-mod2.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-tlsgap-mod2.c')
-rw-r--r--elf/tst-tlsgap-mod2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/tst-tlsgap-mod2.c b/elf/tst-tlsgap-mod2.c
new file mode 100644
index 0000000000..166c27d7f3
--- /dev/null
+++ b/elf/tst-tlsgap-mod2.c
@@ -0,0 +1,2 @@
+int __thread tls2;
+int *f2(void) { return &tls2; }