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