]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ppc-asm.h: Protect auto-host.h inclusion and CFI_* definitions with IN_GCC.
authorNathan Froyd <froydnj@codesourcery.com>
Fri, 5 Jun 2009 18:31:28 +0000 (18:31 +0000)
committerNathan Froyd <froydnj@gcc.gnu.org>
Fri, 5 Jun 2009 18:31:28 +0000 (18:31 +0000)
* config/rs6000/ppc-asm.h: Protect auto-host.h inclusion and
CFI_* definitions with IN_GCC.

From-SVN: r148221

gcc/ChangeLog
gcc/config/rs6000/ppc-asm.h

index a447f0558c7ba34623e75aae65ce114abcc19430..ae7d48b7ba7962a22ecb39c53543ed4328cfd309 100644 (file)
@@ -1,3 +1,8 @@
+2009-06-05  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * config/rs6000/ppc-asm.h: Protect auto-host.h inclusion and
+       CFI_* definitions with IN_GCC.
+
 2009-06-05  David Edelsohn  <edelsohn@gnu.org>
 
        * xcoffout.h (xcoffout_source_line): Update prototype.
index 575187c32653a2e75c959b20b8bc4c415f183303..147f1092753349b6cf9a9b55e66a70b935d32e48 100644 (file)
@@ -196,6 +196,7 @@ GLUE(.L,name): \
        .size FUNC_NAME(name),GLUE(.L,name)-FUNC_NAME(name)
 #endif
 
+#ifdef IN_GCC
 /* For HAVE_GAS_CFI_DIRECTIVE.  */
 #include "auto-host.h"
 
@@ -212,6 +213,7 @@ GLUE(.L,name): \
 # define CFI_DEF_CFA_REGISTER(reg)
 # define CFI_RESTORE(reg)
 #endif
+#endif
 
 #if defined __linux__ && !defined __powerpc64__
        .section .note.GNU-stack