diff options
author | Nick Clifton <nickc@redhat.com> | 2009-01-19 15:46:31 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-01-19 15:46:31 +0000 |
commit | f31fef9800987ae12dfb8d8129c1ced6de20f43b (patch) | |
tree | d3d4c471744fa503498ece4701b19dbccee06bca /gas/config/tc-arm.h | |
parent | d3bf77be52ed586abbe4a3158e57d33828d73392 (diff) | |
download | ppe42-binutils-f31fef9800987ae12dfb8d8129c1ced6de20f43b.tar.gz ppe42-binutils-f31fef9800987ae12dfb8d8129c1ced6de20f43b.zip |
* gas/arm/attr-syntax.d: Do not run for non-ELF based ARM targets.
* config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
ELF format ARM targets.
* config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
Diffstat (limited to 'gas/config/tc-arm.h')
-rw-r--r-- | gas/config/tc-arm.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gas/config/tc-arm.h b/gas/config/tc-arm.h index 353c9af869..15e02c7371 100644 --- a/gas/config/tc-arm.h +++ b/gas/config/tc-arm.h @@ -1,6 +1,6 @@ /* This file is tc-arm.h Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, - 2004, 2005, 2006, 2007 Free Software Foundation, Inc. + 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. Contributed by Richard Earnshaw (rwe@pegasus.esprit.ec.org) Modified by David Taylor (dtaylor@armltd.co.uk) @@ -285,5 +285,7 @@ void tc_pe_dwarf2_emit_offset (symbolS *, unsigned int); #endif /* TE_PE */ -extern int arm_convert_symbolic_attribute (const char *); +#ifdef OBJ_ELF #define CONVERT_SYMBOLIC_ATTRIBUTE(name) arm_convert_symbolic_attribute (name) +extern int arm_convert_symbolic_attribute (const char *); +#endif |