Include "config.h" first
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 21 May 2012 16:52:38 +0000 (16:52 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 21 May 2012 16:52:38 +0000 (16:52 +0000)
* testsuite/tls_test.cc: Include "config.h" first.
* testsuite/tls_test_c.c: Likewise.

gold/ChangeLog
gold/testsuite/tls_test.cc
gold/testsuite/tls_test_c.c

index bbfcff2..927d83f 100644 (file)
@@ -1,3 +1,8 @@
+2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/tls_test.cc: Include "config.h" first.
+       * testsuite/tls_test_c.c: Likewise.
+
 2012-05-17  Daniel Richard G.  <skunk@iskunk.org>
            Nick Clifton  <nickc@redhat.com>
 
index 880bf23..c875752 100644 (file)
@@ -44,8 +44,8 @@
 // last  Verify that the above tests left the variables set correctly.
 
 
-#include <cstdio>
 #include "config.h"
+#include <cstdio>
 #include "tls_test.h"
 
 #define CHECK_EQ_OR_RETURN(var, expected)                              \
index 730e46d..896191f 100644 (file)
@@ -23,8 +23,8 @@
 /* The only way I know to get gcc to generate a TLS common symbol is
    to use a C file and an OpenMP directive.  */
 
-#include <stdio.h>
 #include "config.h"
+#include <stdio.h>
 
 #define CHECK_EQ_OR_RETURN(var, expected)                              \
   do                                                                   \