about summary refs log tree commit diff
path: root/elf/tst-tlsgap-mod1.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-tlsgap-mod1.c')
-rw-r--r--elf/tst-tlsgap-mod1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/tst-tlsgap-mod1.c b/elf/tst-tlsgap-mod1.c
new file mode 100644
index 0000000000..b10fc3702c
--- /dev/null
+++ b/elf/tst-tlsgap-mod1.c
@@ -0,0 +1,2 @@
+int __thread tls1[100]; /* Size > glibc.rtld.optional_static_tls / 2.  */
+int *f1(void) { return tls1; }