mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-31 14:04:12 +00:00
* config/tc-mips.c (md_pseudo_table): Ignore .livereg pseudo-op.
(s_option): Ignore .option O* and .option pic*. (s_ent): Skip whitespace between symbol and optional digit.
This commit is contained in:
parent
478826389e
commit
dd3f1f765f
@ -1,5 +1,9 @@
|
||||
Thu Oct 14 16:51:00 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
||||
|
||||
* config/tc-mips.c (md_pseudo_table): Ignore .livereg pseudo-op.
|
||||
(s_option): Ignore .option O* and .option pic*.
|
||||
(s_ent): Skip whitespace between symbol and optional digit.
|
||||
|
||||
* app.c (do_scrub_next_char): Always accept 'x' and 'X' as escape
|
||||
characters in state 6.
|
||||
* read.c (next_char_of_string): Accept \Xh* and \xh* where h* are
|
||||
|
@ -247,8 +247,9 @@ const pseudo_typeS md_pseudo_table[] =
|
||||
/* MIPS specific pseudo-ops. */
|
||||
{"option", s_option, 0},
|
||||
{"set", s_mipsset, 0},
|
||||
{"rdata", s_change_sec, 'r',},
|
||||
{"sdata", s_change_sec, 's',},
|
||||
{"rdata", s_change_sec, 'r'},
|
||||
{"sdata", s_change_sec, 's'},
|
||||
{"livereg", s_ignore, 0},
|
||||
|
||||
/* Relatively generic pseudo-ops that happen to be used on MIPS
|
||||
chips. */
|
||||
@ -4284,9 +4285,21 @@ static void
|
||||
s_option (x)
|
||||
int x;
|
||||
{
|
||||
if (strcmp (input_line_pointer, "O1") != 0
|
||||
&& strcmp (input_line_pointer, "O2") != 0)
|
||||
as_warn ("Unrecognized option");
|
||||
char *opt;
|
||||
char c;
|
||||
|
||||
opt = input_line_pointer;
|
||||
c = get_symbol_end ();
|
||||
|
||||
/* FIXME: What do these options mean? */
|
||||
if (*opt == 'O')
|
||||
;
|
||||
else if (strncmp (opt, "pic", 3) == 0)
|
||||
;
|
||||
else
|
||||
as_warn ("Unrecognized option \"%s\"", opt);
|
||||
|
||||
*input_line_pointer = c;
|
||||
demand_empty_rest_of_line ();
|
||||
}
|
||||
|
||||
@ -4676,6 +4689,7 @@ s_ent (aent)
|
||||
symbolP = get_symbol ();
|
||||
if (*input_line_pointer == ',')
|
||||
input_line_pointer++;
|
||||
SKIP_WHITESPACE ();
|
||||
if (isdigit (*input_line_pointer) || *input_line_pointer == '-')
|
||||
number = get_number ();
|
||||
if (now_seg != text_section)
|
||||
|
Loading…
x
Reference in New Issue
Block a user