aboutsummaryrefslogtreecommitdiff
path: root/elf/tst-tlsmod1.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-tlsmod1.c')
-rw-r--r--elf/tst-tlsmod1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/tst-tlsmod1.c b/elf/tst-tlsmod1.c
index 946aa375cc..c74a617b77 100644
--- a/elf/tst-tlsmod1.c
+++ b/elf/tst-tlsmod1.c
@@ -23,6 +23,7 @@ in_dso (void)
/* Get variables using initial exec model. */
fputs ("get sum of foo and bar (IE)", stdout);
+ asm ("" ::: "memory");
ap = TLS_IE (foo);
bp = TLS_IE (bar);
printf (" = %d\n", *ap + *bp);