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 | f6e24cefb27a288240437dd01ea1c3acc0a28138 (patch) | |
tree | 79573de05c8b16a756534ff78b84372adfefefce | |
parent | 5a1fe284c7c74db635a368064c18a3e1087d2aba (diff) | |
download | binutils-redhat-f6e24cefb27a288240437dd01ea1c3acc0a28138.tar.gz |
* tc-hppa.c (pa_ip): Reject match for '#' immediate if not pa20.
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-hppa.c | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 8f131be921..c9aa1b9b2a 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2005-07-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * tc-hppa.c (pa_ip): Reject match for '#' immediate if not pa20. + 2005-07-18 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (md_begin): Use IS_ELF. diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index 4e8c7647f8..75f6dbb361 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; |