From a7fda4576dd6f1758e0a721cc083b9fc7879c7cb Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 14 Aug 2002 16:33:58 +0000 Subject: Only define TC_VALIDATE_FIX for ELF builds --- gas/config/tc-alpha.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gas/config/tc-alpha.h') diff --git a/gas/config/tc-alpha.h b/gas/config/tc-alpha.h index 5505861..65e0684 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 -- cgit v1.1