mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 15:18:37 +08:00
* tc-mips.c (load_address): Don't clobber $at when loading a
64-bit address in non-PIC code if noat is in effect. (macro): Likewise.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
|
||||||
|
|
||||||
|
* tc-mips.c (load_address): Don't clobber $at when loading a
|
||||||
|
64-bit address in non-PIC code if noat is in effect.
|
||||||
|
(macro): Likewise.
|
||||||
|
|
||||||
2002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
|
2002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
|
||||||
|
|
||||||
* config/tc-mips.c (macro): Use codes 6 and 7 in trap instructions
|
* config/tc-mips.c (macro): Use codes 6 and 7 in trap instructions
|
||||||
|
@ -3519,7 +3519,7 @@ load_address (counter, reg, ep, used_at)
|
|||||||
/* We don't do GP optimization for now because RELAX_ENCODE can't
|
/* We don't do GP optimization for now because RELAX_ENCODE can't
|
||||||
hold the data for such large chunks. */
|
hold the data for such large chunks. */
|
||||||
|
|
||||||
if (*used_at == 0)
|
if (*used_at == 0 && ! mips_opts.noat)
|
||||||
{
|
{
|
||||||
macro_build (p, counter, ep, "lui", "t,u",
|
macro_build (p, counter, ep, "lui", "t,u",
|
||||||
reg, (int) BFD_RELOC_MIPS_HIGHEST);
|
reg, (int) BFD_RELOC_MIPS_HIGHEST);
|
||||||
@ -4534,7 +4534,7 @@ macro (ip)
|
|||||||
/* We don't do GP optimization for now because RELAX_ENCODE can't
|
/* We don't do GP optimization for now because RELAX_ENCODE can't
|
||||||
hold the data for such large chunks. */
|
hold the data for such large chunks. */
|
||||||
|
|
||||||
if (used_at == 0)
|
if (used_at == 0 && ! mips_opts.noat)
|
||||||
{
|
{
|
||||||
macro_build (p, &icnt, &offset_expr, "lui", "t,u",
|
macro_build (p, &icnt, &offset_expr, "lui", "t,u",
|
||||||
tempreg, (int) BFD_RELOC_MIPS_HIGHEST);
|
tempreg, (int) BFD_RELOC_MIPS_HIGHEST);
|
||||||
@ -5487,7 +5487,7 @@ macro (ip)
|
|||||||
/* We don't do GP optimization for now because RELAX_ENCODE can't
|
/* We don't do GP optimization for now because RELAX_ENCODE can't
|
||||||
hold the data for such large chunks. */
|
hold the data for such large chunks. */
|
||||||
|
|
||||||
if (used_at == 0)
|
if (used_at == 0 && ! mips_opts.noat)
|
||||||
{
|
{
|
||||||
macro_build (p, &icnt, &offset_expr, "lui", "t,u",
|
macro_build (p, &icnt, &offset_expr, "lui", "t,u",
|
||||||
tempreg, (int) BFD_RELOC_MIPS_HIGHEST);
|
tempreg, (int) BFD_RELOC_MIPS_HIGHEST);
|
||||||
|
Reference in New Issue
Block a user