aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@codesourcery.com>2009-06-05 18:31:28 +0000
committerNathan Froyd <froydnj@gcc.gnu.org>2009-06-05 18:31:28 +0000
commit16702e196eb0130c89e5058ef5b9d0fc5aa74f5d (patch)
treeee0eefccf12943ed21df57088572280b5f5bb284 /gcc
parenta735afd1e96a3f1530103ee806c40c70e55ae26f (diff)
downloadgcc-16702e196eb0130c89e5058ef5b9d0fc5aa74f5d.zip
gcc-16702e196eb0130c89e5058ef5b9d0fc5aa74f5d.tar.gz
gcc-16702e196eb0130c89e5058ef5b9d0fc5aa74f5d.tar.bz2
ppc-asm.h: Protect auto-host.h inclusion and CFI_* definitions with IN_GCC.
* config/rs6000/ppc-asm.h: Protect auto-host.h inclusion and CFI_* definitions with IN_GCC. From-SVN: r148221
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/ppc-asm.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a447f05..ae7d48b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/rs6000/ppc-asm.h b/gcc/config/rs6000/ppc-asm.h
index 575187c..147f109 100644
--- a/gcc/config/rs6000/ppc-asm.h
+++ b/gcc/config/rs6000/ppc-asm.h
@@ -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