* symtab.h: Check for GOLD_SYMTAB_H before header includes. Remove
authorSriraman Tallam <tmsriram@google.com>
Tue, 13 Oct 2009 00:39:31 +0000 (00:39 +0000)
committerSriraman Tallam <tmsriram@google.com>
Tue, 13 Oct 2009 00:39:31 +0000 (00:39 +0000)
includes to gc.h and icf.h.
* arm.cc: Include gc.h.
* gold.cc: Likewise.
* i386.cc: Likewise.
* powerpc.cc: Likewise.
* sparc.cc: Likewise.
* x86_64.cc: Likewise.
* gc.h: Include icf.h.

gold/ChangeLog
gold/arm.cc
gold/gc.h
gold/gold.cc
gold/i386.cc
gold/powerpc.cc
gold/sparc.cc
gold/symtab.h
gold/x86_64.cc

index 8f0b895..c3c0dea 100644 (file)
@@ -1,3 +1,15 @@
+2009-10-12  Sriraman Tallam  <tmsriram@google.com>
+
+       * symtab.h: Check for GOLD_SYMTAB_H before header includes. Remove
+       includes to gc.h and icf.h.
+       * arm.cc: Include gc.h.
+       * gold.cc: Likewise.
+       * i386.cc: Likewise.
+       * powerpc.cc: Likewise.
+       * sparc.cc: Likewise.
+       * x86_64.cc: Likewise.
+       * gc.h: Include icf.h.
+
 2009-10-11  Ian Lance Taylor  <iant@google.com>
 
        * plugin.cc: Include "gold.h" before other header files.
index 7067de7..dd5f67d 100644 (file)
@@ -42,6 +42,7 @@
 #include "target-select.h"
 #include "tls.h"
 #include "defstd.h"
+#include "gc.h"
 
 namespace
 {
index ffb721c..8cc7767 100644 (file)
--- a/gold/gc.h
+++ b/gold/gc.h
@@ -28,6 +28,7 @@
 
 #include "elfcpp.h"
 #include "symtab.h"
+#include "icf.h"
 
 namespace gold
 {
index ac2f62c..01a518f 100644 (file)
@@ -41,6 +41,7 @@
 #include "reloc.h"
 #include "defstd.h"
 #include "plugin.h"
+#include "gc.h"
 #include "icf.h"
 #include "incremental.h"
 
index c01b5f2..18eb849 100644 (file)
@@ -38,6 +38,7 @@
 #include "target-select.h"
 #include "tls.h"
 #include "freebsd.h"
+#include "gc.h"
 
 namespace
 {
index 637cbbd..71f2ae4 100644 (file)
@@ -37,6 +37,7 @@
 #include "target-select.h"
 #include "tls.h"
 #include "errors.h"
+#include "gc.h"
 
 namespace
 {
index 3d31dd6..eac983f 100644 (file)
@@ -40,6 +40,7 @@
 #include "target-select.h"
 #include "tls.h"
 #include "errors.h"
+#include "gc.h"
 
 namespace
 {
index 148634e..d186cc1 100644 (file)
 // Symbol_table
 //   The symbol table.
 
+#ifndef GOLD_SYMTAB_H
+#define GOLD_SYMTAB_H
+
 #include <string>
 #include <utility>
 #include <vector>
 
-#include "gc.h"
-#include "icf.h"
 #include "elfcpp.h"
 #include "parameters.h"
 #include "stringpool.h"
 #include "object.h"
 
-#ifndef GOLD_SYMTAB_H
-#define GOLD_SYMTAB_H
-
 namespace gold
 {
 
index 46e879d..3562065 100644 (file)
@@ -38,6 +38,7 @@
 #include "target-select.h"
 #include "tls.h"
 #include "freebsd.h"
+#include "gc.h"
 
 namespace
 {