summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Anglin <dave.anglin@nrc.ca>2005-07-19 01:14:10 +0000
committerDave Anglin <dave.anglin@nrc.ca>2005-07-19 01:14:10 +0000
commitf6e24cefb27a288240437dd01ea1c3acc0a28138 (patch)
tree79573de05c8b16a756534ff78b84372adfefefce
parent5a1fe284c7c74db635a368064c18a3e1087d2aba (diff)
downloadbinutils-redhat-f6e24cefb27a288240437dd01ea1c3acc0a28138.tar.gz
* tc-hppa.c (pa_ip): Reject match for '#' immediate if not pa20.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-hppa.c2
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;