]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Sun, 25 Aug 2002 22:34:57 +0000 (22:34 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 25 Aug 2002 22:34:57 +0000 (22:34 +0000)
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.

ChangeLog
elf/tst-tlsmod1.c
elf/tst-tlsmod2.c
elf/tst-tlsmod3.c
elf/tst-tlsmod4.c

index 82d2b82cb705e586f9ce4f0231abe19e8fa81d5a..ee5b9f5eee56d178eef465f97ce749dc7d814a9d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+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.
index 946aa375cccc999e9f6784ddd88d2c66be79e361..c74a617b77a3bc7e3705162b8794fabff6140129 100644 (file)
@@ -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);
index 1a4c73b8a0a521a8fd037e895ecc71cd003d6e8a..98d9d3e5185c2e5a006fb58de7c80ed2076e1854 100644 (file)
@@ -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);
 
index 6b7fbccf4e1d95be8727f89bc21118865749c9f6..4a8aad659f6aee294417b99ddbdeaed5737e7500 100644 (file)
@@ -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);
index c536303b47a85ea97650c38f35afab77619deff3..5285e821b0e94d7df1eda6aef23e7e125514bd77 100644 (file)
@@ -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);