aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-21 16:52:38 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-05-21 16:52:38 +0000
commite550e1a2afe7811e47727d18c69fee33bec6fa1a (patch)
tree7d4024ff273c6a4973a572d3aa19d682ed59b955 /gold
parente9e5e6b3fb7b57350bdf798c8c6a49d7b62b65cf (diff)
downloadgdb-e550e1a2afe7811e47727d18c69fee33bec6fa1a.zip
gdb-e550e1a2afe7811e47727d18c69fee33bec6fa1a.tar.gz
gdb-e550e1a2afe7811e47727d18c69fee33bec6fa1a.tar.bz2
Include "config.h" first
* testsuite/tls_test.cc: Include "config.h" first. * testsuite/tls_test_c.c: Likewise.
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/testsuite/tls_test.cc2
-rw-r--r--gold/testsuite/tls_test_c.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index bbfcff2..927d83f 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -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>
diff --git a/gold/testsuite/tls_test.cc b/gold/testsuite/tls_test.cc
index 880bf23..c875752 100644
--- a/gold/testsuite/tls_test.cc
+++ b/gold/testsuite/tls_test.cc
@@ -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) \
diff --git a/gold/testsuite/tls_test_c.c b/gold/testsuite/tls_test_c.c
index 730e46d..896191f 100644
--- a/gold/testsuite/tls_test_c.c
+++ b/gold/testsuite/tls_test_c.c
@@ -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 \