]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - elf/tst-tlsmod4.c
Update copyright dates not handled by scripts/update-copyrights.
[thirdparty/glibc.git] / elf / tst-tlsmod4.c
index c536303b47a85ea97650c38f35afab77619deff3..86889aac7e58bcf54293aab9f7d79de9dc8424bb 100644 (file)
@@ -1,9 +1,6 @@
 #include <stdio.h>
 
-#include <tls.h>
-
-#ifdef USE_TLS
-# include "tls-macros.h"
+#include "tls-macros.h"
 
 
 COMMON_INT_DEF(baz);
@@ -16,6 +13,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);
 
@@ -34,4 +32,3 @@ in_dso (int n, int *caller_bazp)
 
   return result;
 }
-#endif