From 16702e196eb0130c89e5058ef5b9d0fc5aa74f5d Mon Sep 17 00:00:00 2001 From: Nathan Froyd Date: Fri, 5 Jun 2009 18:31:28 +0000 Subject: 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 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/ppc-asm.h | 2 ++ 2 files changed, 7 insertions(+) (limited to 'gcc') 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 + + * config/rs6000/ppc-asm.h: Protect auto-host.h inclusion and + CFI_* definitions with IN_GCC. + 2009-06-05 David Edelsohn * 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 -- cgit v1.1