From: Nick Clifton Date: Wed, 14 Aug 2002 16:33:58 +0000 (+0000) Subject: Only define TC_VALIDATE_FIX for ELF builds X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a7fda4576dd6f1758e0a721cc083b9fc7879c7cb;p=binutils-gdb.git Only define TC_VALIDATE_FIX for ELF builds --- diff --git a/gas/config/tc-alpha.h b/gas/config/tc-alpha.h index 5505861316d..65e06844972 100644 --- a/gas/config/tc-alpha.h +++ b/gas/config/tc-alpha.h @@ -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