Only define TC_VALIDATE_FIX for ELF builds
authorNick Clifton <nickc@redhat.com>
Wed, 14 Aug 2002 16:33:58 +0000 (16:33 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 14 Aug 2002 16:33:58 +0000 (16:33 +0000)
gas/config/tc-alpha.h

index 5505861316df44e9a5b7ab782129ad1504caf5bb..65e06844972ddf67065880972608d73c7a45fd86 100644 (file)
@@ -46,7 +46,10 @@ extern int alpha_fix_adjustable PARAMS ((struct fix *));
 extern unsigned long alpha_gprmask, alpha_fprmask;
 extern valueT alpha_gp_value;
 
+#ifdef OBJ_ELF
 #define TC_VALIDATE_FIX(FIXP,SEGTYPE,SKIP) alpha_validate_fix (FIXP)
+#endif
+
 #define TC_FORCE_RELOCATION(FIXP)      alpha_force_relocation (FIXP)
 #define tc_fix_adjustable(FIXP)                alpha_fix_adjustable (FIXP)
 #define RELOC_REQUIRES_SYMBOL