aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-hppa.h
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-hppa.h')
-rw-r--r--gas/config/tc-hppa.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gas/config/tc-hppa.h b/gas/config/tc-hppa.h
index dcd7966..8066c4a 100644
--- a/gas/config/tc-hppa.h
+++ b/gas/config/tc-hppa.h
@@ -176,6 +176,13 @@ void pa_end_of_source PARAMS ((void));
#define md_operand(x)
+/* Allow register expressions to be treated as absolute expressions.
+ A silly fudge required for backwards compatibility. */
+#define md_optimize_expr hppa_force_reg_syms_absolute
+
+int hppa_force_reg_syms_absolute
+ PARAMS ((expressionS *, operatorT, expressionS *));
+
#define TC_FIX_TYPE PTR
#define TC_INIT_FIX_DATA(FIXP) ((FIXP)->tc_fix_data = NULL)