mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-28 22:40:24 +00:00
* 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.
This commit is contained in:
parent
d1f83f4494
commit
cf897ce253
@ -1,5 +1,11 @@
|
||||
Thu Jul 22 12:09:41 1993 Ian Lance Taylor (ian@cygnus.com)
|
||||
|
||||
* 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.
|
||||
|
||||
* config/tc-h8500.c (md_begin): Use a local variable when
|
||||
initializing md_relax_table to avoid warnings about modifying a
|
||||
supposedly const data structure.
|
||||
|
@ -168,6 +168,8 @@ const pseudo_typeS md_pseudo_table[] =
|
||||
{"string", stringer, 0},
|
||||
{"word", cons, 4},
|
||||
{"zero", s_space, 0},
|
||||
/* Force set to be treated as an instruction. */
|
||||
{"set", NULL, 0},
|
||||
{0}
|
||||
};
|
||||
|
||||
|
@ -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 == '.')
|
||||
|
Loading…
Reference in New Issue
Block a user