OSDN Git Service

* config/rs6000/ppc-asm.h: Protect auto-host.h inclusion and
authorfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Jun 2009 18:31:28 +0000 (18:31 +0000)
committerfroydnj <froydnj@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Jun 2009 18:31:28 +0000 (18:31 +0000)
CFI_* definitions with IN_GCC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148221 138bc75d-0d04-0410-961f-82ee72b054a4

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

index a447f05..ae7d48b 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 575187c..147f109 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