diff options
author | Dave Anglin <dave.anglin@nrc.ca> | 2005-07-19 01:14:10 +0000 |
---|---|---|
committer | Dave Anglin <dave.anglin@nrc.ca> | 2005-07-19 01:14:10 +0000 |
commit | 71e17562a8c9cf64635e377753c7350cebf04b1e (patch) | |
tree | 017e6b91cbd1abfa3f617e7ffcf6f267f9b4ada9 /gas/config/tc-hppa.c | |
parent | 32204df4ce4e81e235a335ee509921f698abaf06 (diff) | |
download | gdb-71e17562a8c9cf64635e377753c7350cebf04b1e.zip gdb-71e17562a8c9cf64635e377753c7350cebf04b1e.tar.gz gdb-71e17562a8c9cf64635e377753c7350cebf04b1e.tar.bz2 |
* tc-hppa.c (pa_ip): Reject match for '#' immediate if not pa20.
Diffstat (limited to 'gas/config/tc-hppa.c')
-rw-r--r-- | gas/config/tc-hppa.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |