mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-28 22:40:24 +00:00
* config/tc-mips.c (s_cpsetup): Fix initialization of
mips_cpreturn_register and mips_cpreturn_offset.
This commit is contained in:
parent
dbec3bef45
commit
8024528581
@ -1,3 +1,8 @@
|
||||
2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
|
||||
|
||||
* config/tc-mips.c (s_cpsetup): Fix initialization of
|
||||
mips_cpreturn_register and mips_cpreturn_offset.
|
||||
|
||||
2002-05-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
|
||||
|
||||
* config/tc-mips.c (s_cpsetup): Fix comment.
|
||||
|
@ -11876,12 +11876,18 @@ s_cpsetup (ignore)
|
||||
return;
|
||||
}
|
||||
else
|
||||
input_line_pointer++;
|
||||
++input_line_pointer;
|
||||
SKIP_WHITESPACE ();
|
||||
if (*input_line_pointer == '$')
|
||||
mips_cpreturn_register = tc_get_register (0);
|
||||
{
|
||||
mips_cpreturn_register = tc_get_register (0);
|
||||
mips_cpreturn_offset = -1;
|
||||
}
|
||||
else
|
||||
mips_cpreturn_offset = get_absolute_expression ();
|
||||
{
|
||||
mips_cpreturn_offset = get_absolute_expression ();
|
||||
mips_cpreturn_register = -1;
|
||||
}
|
||||
SKIP_WHITESPACE ();
|
||||
if (*input_line_pointer != ',')
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user