summaryrefslogtreecommitdiff
path: root/gas/config/tc-frv.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-09-19 10:00:40 +0000
committerAlan Modra <amodra@gmail.com>2008-09-19 10:00:40 +0000
commit5db484ff3d77b5241c7cbef02788962fa6aeedd8 (patch)
tree5c557d1a5d8ca291d9d076e7cec357e574741d52 /gas/config/tc-frv.h
parente79f59555a009cc9b5ef8233debb948c795a9cca (diff)
downloadbinutils-gdb-5db484ff3d77b5241c7cbef02788962fa6aeedd8.tar.gz
* write.c (TC_FORCE_RELOCATION_SUB_LOCAL): Heed md_register_arithmetic.
(TC_VALIDATE_FIX_SUB): Likewise. * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise. * config/tc-hppa.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise. * config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Likewise. * config/tc-sh.h (TC_VALIDATE_FIX_SUB): Likewise. (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise. * config/tc-sh64.h (TC_VALIDATE_FIX_SUB): Likewise. * config/tc-xtensa.h (TC_VALIDATE_FIX_SUB): Likewise. * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS, TC_FORCE_RELOCATION_SUB_LOCAL, TC_VALIDATE_FIX_SUB): Show new param.
Diffstat (limited to 'gas/config/tc-frv.h')
-rw-r--r--gas/config/tc-frv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-frv.h b/gas/config/tc-frv.h
index ad7eee0d353..732dacd43c4 100644
--- a/gas/config/tc-frv.h
+++ b/gas/config/tc-frv.h
@@ -61,7 +61,7 @@ extern int frv_force_relocation (struct fix *);
/* If we simplify subtractions that aren't SUB_SAME or SUB_ABS, we end
up with PCrel fixups, but since we don't have any PCrel relocs, we
crash. Preventing simplification gets us a good, early error. */
-#define TC_FORCE_RELOCATION_SUB_LOCAL(fixP) 1
+#define TC_FORCE_RELOCATION_SUB_LOCAL(FIX, SEG) 1
#undef GAS_CGEN_MAX_FIXUPS
#define GAS_CGEN_MAX_FIXUPS 1