summaryrefslogtreecommitdiff
path: root/gas/config/tc-bfin.h
diff options
context:
space:
mode:
authorBernd Schmidt <bernd.schmidt@analog.com>2005-10-24 18:35:59 +0000
committerBernd Schmidt <bernd.schmidt@analog.com>2005-10-24 18:35:59 +0000
commit9d4aa0f83ed86902e0b164b70c4e07e01ae4f9c5 (patch)
treec51e4a7dc4110b5b0336b65e025882b478be0db0 /gas/config/tc-bfin.h
parenta894518e717f5c1d723243d1cf8b78a1ef9b9ad1 (diff)
downloadbinutils-redhat-9d4aa0f83ed86902e0b164b70c4e07e01ae4f9c5.tar.gz
* config/tc-bfin.c (Expr_Node_Gen_Reloc): If have symbol + constant,
make a single reloc with an offset rather than a stack. * config/tc-bfin.h (MD_APPLY_SYM_VALUE): Define to 0.
Diffstat (limited to 'gas/config/tc-bfin.h')
-rw-r--r--gas/config/tc-bfin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-bfin.h b/gas/config/tc-bfin.h
index 9252e25d9a..773030cbb7 100644
--- a/gas/config/tc-bfin.h
+++ b/gas/config/tc-bfin.h
@@ -72,4 +72,7 @@ extern int bfin_force_relocation PARAMS ((struct fix *));
#define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
extern long md_pcrel_from_section PARAMS ((struct fix *, segT));
+/* Values passed to md_apply_fix3 don't include symbol values. */
+#define MD_APPLY_SYM_VALUE(FIX) 0
+
/* end of tc-bfin.h */