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 bbfcff2aa3470d5fc0fbab3fe4c78dcc47f3d831..927d83f85127f3bfd5a2a4d060166e5614381dc4 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 880bf238309875f7fc545a40c203c5d54bdd6651..c8757529514e43ffcfd46fe2cce044b80a630971 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 730e46ddad8bb9d435c90192d55fbc8a9895fd51..896191fa8c3a29cd24b2037365dcd6ae6474b5d6 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                                                                   \