summaryrefslogtreecommitdiff
path: root/gas/config/tc-alpha.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-08-14 16:33:58 +0000
committerNick Clifton <nickc@redhat.com>2002-08-14 16:33:58 +0000
commit856431ae253652bd8fa95843fef227990b6d97e1 (patch)
tree19067759527be65b31b190b48eb6d4483ea5a069 /gas/config/tc-alpha.h
parent7bbb9f3485bb980e7e0e1cc15c3ef219f9f362e3 (diff)
downloadbinutils-redhat-856431ae253652bd8fa95843fef227990b6d97e1.tar.gz
Only define TC_VALIDATE_FIX for ELF builds
Diffstat (limited to 'gas/config/tc-alpha.h')
-rw-r--r--gas/config/tc-alpha.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-alpha.h b/gas/config/tc-alpha.h
index 5505861316..65e0684497 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