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.
+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.
+
2002-08-25 Andreas Schwab <schwab@suse.de>
* elf/dl-reloc.c (_dl_reloc_bad_type): Nul-terminate message.
/* 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);
int result = 0;
puts ("foo"); /* Make sure PLT is used before macros. */
+ asm ("" ::: "memory");
foop = TLS_GD (foo);
int *np;
puts ("foo"); /* Make sure PLT is used before macros. */
+ asm ("" ::: "memory");
foop = TLS_GD (foo);
np = TLS_GD (comm_n);
int result = 0;
puts ("foo"); /* Make sure PLT is used before macros. */
+ asm ("" ::: "memory");
bazp = TLS_GD (baz);