mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 06:17:47 +08:00
* config/tc-mips.c (load_register): Add cast to offsetT when using
a constant with &~.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Mon Oct 14 13:59:12 1996 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
|
* config/tc-mips.c (load_register): Add cast to offsetT when using
|
||||||
|
a constant with &~.
|
||||||
|
|
||||||
Mon Oct 14 11:24:28 1996 Richard Henderson <rth@tamu.edu>
|
Mon Oct 14 11:24:28 1996 Richard Henderson <rth@tamu.edu>
|
||||||
|
|
||||||
* config/obj-elf.c (elf_frob_file): Move ECOFF debug processing to ...
|
* config/obj-elf.c (elf_frob_file): Move ECOFF debug processing to ...
|
||||||
|
@ -1999,7 +1999,7 @@ load_register (counter, reg, ep, dbl)
|
|||||||
|| sizeof (ep->X_add_number) > 4
|
|| sizeof (ep->X_add_number) > 4
|
||||||
|| (ep->X_add_number & 0x80000000) == 0))
|
|| (ep->X_add_number & 0x80000000) == 0))
|
||||||
|| ((mips_isa < 3 || !dbl)
|
|| ((mips_isa < 3 || !dbl)
|
||||||
&& (ep->X_add_number &~ 0xffffffff) == 0))
|
&& (ep->X_add_number &~ (offsetT) 0xffffffff) == 0))
|
||||||
{
|
{
|
||||||
/* 32 bit values require an lui. */
|
/* 32 bit values require an lui. */
|
||||||
macro_build ((char *) NULL, counter, ep, "lui", "t,u", reg,
|
macro_build ((char *) NULL, counter, ep, "lui", "t,u", reg,
|
||||||
|
Reference in New Issue
Block a user