aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-07-23 02:55:25 +0000
committerIan Lance Taylor <ian@airs.com>1993-07-23 02:55:25 +0000
commitcf897ce253ab6d0b0d584af1811c32e9cfaa06a3 (patch)
tree5cf13eb5c2bee772bf2a8c3948862c3b8d4d84d0 /gas/read.c
parentd1f83f4494d509f4cfe9d0cb0a8b69ee8b34e1c4 (diff)
downloadgdb-cf897ce253ab6d0b0d584af1811c32e9cfaa06a3.zip
gdb-cf897ce253ab6d0b0d584af1811c32e9cfaa06a3.tar.gz
gdb-cf897ce253ab6d0b0d584af1811c32e9cfaa06a3.tar.bz2
* read.c (read_a_source_file): In NO_PSEUDO_DOT case, if we find a
pseudo-op with a poc_handler field of NULL, ignore it and treat it as an instruction instead. * config/tc-m88k.c (md_pseudo_table): Add "set" with a NULL poc_handler field.
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/read.c b/gas/read.c
index 20b0527..1ef3e0c 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -451,6 +451,8 @@ read_a_source_file (name)
#ifdef NO_PSEUDO_DOT
/* The m88k uses pseudo-ops without a period. */
pop = (pseudo_typeS *) hash_find (po_hash, s);
+ if (pop != NULL && pop->poc_handler == NULL)
+ pop = NULL;
#endif
if (pop != NULL || *s == '.')