* config/tc-mips.c (mips_gprel_offset): New variable.

(s_gpvalue): Use it.
This commit is contained in:
Thiemo Seufer
2002-05-30 21:06:14 +00:00
parent 258093ca1e
commit def2e0dd82
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-05-30 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
* config/tc-mips.c (mips_gprel_offset): New variable.
(s_gpvalue): Use it.
2002-05-30 Diego Novillo <dnovillo@redhat.com>
* gas/config/tc-d10v.c (check_resource_conflict): Only check

View File

@ -423,6 +423,7 @@ static offsetT mips_cprestore_offset = -1;
static offsetT mips_cpreturn_offset = -1;
static int mips_cpreturn_register = -1;
static int mips_gp_register = GP;
static int mips_gprel_offset = 0;
/* Whether mips_cprestore_offset has been set in the current function
(or whether it has already been warned about, if not). */
@ -11786,7 +11787,7 @@ s_gpvalue (ignore)
return;
}
mips_cpreturn_offset = get_absolute_expression ();
mips_gprel_offset = get_absolute_expression ();
demand_empty_rest_of_line ();
}