summary refs log tree commit diff
path: root/elf/tst-tlsmod2.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-tlsmod2.c')
-rw-r--r--elf/tst-tlsmod2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/tst-tlsmod2.c b/elf/tst-tlsmod2.c
index 1a4c73b8a0..98d9d3e518 100644
--- a/elf/tst-tlsmod2.c
+++ b/elf/tst-tlsmod2.c
@@ -16,6 +16,7 @@ in_dso (int n, int *caller_foop)
   int result = 0;
 
   puts ("foo");			/* Make sure PLT is used before macros.  */
+  asm ("" ::: "memory");
 
   foop = TLS_GD (foo);