From a1b21dcdfbd5658dd57ccdecfd95319ec28e6551 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 5 Sep 2002 00:01:18 +0000 Subject: gas reloc rewrite. --- gas/as.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'gas/as.h') 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" -- cgit v1.2.1