summaryrefslogtreecommitdiff
path: root/gas/as.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-09-05 00:01:18 +0000
committerAlan Modra <amodra@bigpond.net.au>2002-09-05 00:01:18 +0000
commita1b21dcdfbd5658dd57ccdecfd95319ec28e6551 (patch)
tree35994cf39ce1f17aa2f18969fe31c3781b146843 /gas/as.h
parentfef4effd994bbc0e0fb17657b9647a16f7957d35 (diff)
downloadbinutils-redhat-a1b21dcdfbd5658dd57ccdecfd95319ec28e6551.tar.gz
gas reloc rewrite.
Diffstat (limited to 'gas/as.h')
-rw-r--r--gas/as.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/gas/as.h b/gas/as.h
index ff434cbed0..3d95d14571 100644
--- a/gas/as.h
+++ b/gas/as.h
@@ -613,8 +613,14 @@ void eh_frame_convert_frag PARAMS ((fragS *));
/* this one starts the chain of target dependant headers */
#include "targ-env.h"
-#ifdef TC_ARC
-#include "struc-symbol.h"
+#ifdef OBJ_MAYBE_ELF
+#define IS_ELF (OUTPUT_FLAVOR == bfd_target_elf_flavour)
+#else
+#ifdef OBJ_ELF
+#define IS_ELF 1
+#else
+#define IS_ELF 0
+#endif
#endif
#include "write.h"