From 71e17562a8c9cf64635e377753c7350cebf04b1e Mon Sep 17 00:00:00 2001 From: Dave Anglin Date: Tue, 19 Jul 2005 01:14:10 +0000 Subject: [PATCH] * tc-hppa.c (pa_ip): Reject match for '#' immediate if not pa20. --- gas/ChangeLog | 4 ++++ gas/config/tc-hppa.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 8f131be9213..c9aa1b9b2a0 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2005-07-18 John David Anglin + + * tc-hppa.c (pa_ip): Reject match for '#' immediate if not pa20. + 2005-07-18 Jan Beulich * config/tc-i386.c (md_begin): Use IS_ELF. diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index 4e8c7647f8f..75f6dbb361e 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; -- 2.30.2