From: Nathan Froyd Date: Fri, 5 Jun 2009 18:31:28 +0000 (+0000) Subject: ppc-asm.h: Protect auto-host.h inclusion and CFI_* definitions with IN_GCC. X-Git-Tag: releases/gcc-4.5.0~5350 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=16702e196eb0130c89e5058ef5b9d0fc5aa74f5d;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a447f0558c7b..ae7d48b7ba79 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 575187c32653..147f10927533 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