summaryrefslogtreecommitdiffstats
path: root/libitm/config
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2014-04-09 14:49:59 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2014-04-09 14:49:59 +0000
commite5599f779d24361d252ea9a8feb9c941cbfbcb71 (patch)
treee6eaf7540c8c1403baf68824777258cdb00d6512 /libitm/config
parenta4f867b1a0516f1ac6c186981ac2e4c6efb0c17a (diff)
downloadppe42-gcc-e5599f779d24361d252ea9a8feb9c941cbfbcb71.tar.gz
ppe42-gcc-e5599f779d24361d252ea9a8feb9c941cbfbcb71.zip
Check if GCC uses assembler cfi support
* config/generic/asmcfi.h: Also check for __GCC_HAVE_DWARF2_CFI_ASM. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209242 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libitm/config')
-rw-r--r--libitm/config/generic/asmcfi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libitm/config/generic/asmcfi.h b/libitm/config/generic/asmcfi.h
index 999409ae96f..398cb4564de 100644
--- a/libitm/config/generic/asmcfi.h
+++ b/libitm/config/generic/asmcfi.h
@@ -24,7 +24,7 @@
#include "config.h"
-#ifdef HAVE_AS_CFI_PSEUDO_OP
+#if defined(HAVE_AS_CFI_PSEUDO_OP) && defined(__GCC_HAVE_DWARF2_CFI_ASM)
#define cfi_startproc .cfi_startproc
#define cfi_endproc .cfi_endproc
@@ -50,4 +50,4 @@
#define cfi_restore(r)
#define cfi_undefined(r)
-#endif /* HAVE_AS_CFI_PSEUDO_OP */
+#endif /* HAVE_AS_CFI_PSEUDO_OP && __GCC_HAVE_DWARF2_CFI_ASM */
OpenPOWER on IntegriCloud