aboutsummaryrefslogtreecommitdiff
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
commita7fda4576dd6f1758e0a721cc083b9fc7879c7cb (patch)
treee734bb92970eab8a452480ddacdc59780a8e6846
parent691120ec30b4f9c3b9e959ed800431346f75ab43 (diff)
downloadgdb-a7fda4576dd6f1758e0a721cc083b9fc7879c7cb.zip
gdb-a7fda4576dd6f1758e0a721cc083b9fc7879c7cb.tar.gz
gdb-a7fda4576dd6f1758e0a721cc083b9fc7879c7cb.tar.bz2
Only define TC_VALIDATE_FIX for ELF builds
-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 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