From 71e17562a8c9cf64635e377753c7350cebf04b1e Mon Sep 17 00:00:00 2001 From: Dave Anglin Date: Tue, 19 Jul 2005 01:14:10 +0000 Subject: * tc-hppa.c (pa_ip): Reject match for '#' immediate if not pa20. --- gas/config/tc-hppa.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gas/config/tc-hppa.c') diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index 4e8c764..75f6dbb 100644 --- a/gas/config/tc-hppa.c +++ b/gas/config/tc-hppa.c @@ -3066,6 +3066,8 @@ pa_ip (str) /* Handle 14 bit immediate, shifted left three times. */ case '#': + if (bfd_get_mach (stdoutput) != pa20) + break; the_insn.field_selector = pa_chk_field_selector (&s); get_expression (s); s = expr_end; -- cgit v1.1