aboutsummaryrefslogtreecommitdiff
path: root/elf/tst-tlsmod3.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-08-25 22:34:57 +0000
committerUlrich Drepper <drepper@redhat.com>2002-08-25 22:34:57 +0000
commit046b40694fb1872067a5dad6b937633e4f06ba87 (patch)
tree25c74f1c374b80ca5bfdd32fda85b1caa9ab3fc8 /elf/tst-tlsmod3.c
parent5dd6c2fbcf2f9f34909f263d5055506780786cd7 (diff)
downloadglibc-046b40694fb1872067a5dad6b937633e4f06ba87.tar
glibc-046b40694fb1872067a5dad6b937633e4f06ba87.tar.gz
glibc-046b40694fb1872067a5dad6b937633e4f06ba87.tar.bz2
glibc-046b40694fb1872067a5dad6b937633e4f06ba87.zip
Update.
2002-08-25 Ulrich Drepper <drepper@redhat.com> * elf/tst-tlsmod1.c (in_dso): Make sure the TLS variable access is not moved ahead of the fputs call. * elf/tst-tlsmod2.c (in_dso): Likewise. * elf/tst-tlsmod3.c (in_dso2): Likewise. * elf/tst-tlsmod4.c (in_dso): Likewise.
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);