aboutsummaryrefslogtreecommitdiff
path: root/elf/tst-tlsmod3.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-tlsmod3.c')
-rw-r--r--elf/tst-tlsmod3.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/tst-tlsmod3.c b/elf/tst-tlsmod3.c
index 6b7fbccf4e..4a8aad659f 100644
--- a/elf/tst-tlsmod3.c
+++ b/elf/tst-tlsmod3.c
@@ -21,6 +21,7 @@ in_dso2 (void)
int *np;
puts ("foo"); /* Make sure PLT is used before macros. */
+ asm ("" ::: "memory");
foop = TLS_GD (foo);
np = TLS_GD (comm_n);