aboutsummaryrefslogtreecommitdiff
path: root/gas
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
commit71e17562a8c9cf64635e377753c7350cebf04b1e (patch)
tree017e6b91cbd1abfa3f617e7ffcf6f267f9b4ada9 /gas
parent32204df4ce4e81e235a335ee509921f698abaf06 (diff)
downloadgdb-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')
-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 8f131be..c9aa1b9 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 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;