* config/tc-mips.c (load_register): If mips_isa < 3, permit a 32

bit value with the high bit set.
This commit is contained in:
Ian Lance Taylor 1996-05-31 05:10:20 +00:00
parent 76bda7a424
commit 98bfd087ca
2 changed files with 16 additions and 13 deletions

View file

@ -1,3 +1,8 @@
Fri May 31 01:08:06 1996 Ian Lance Taylor <ian@cygnus.com>
* config/tc-mips.c (load_register): If mips_isa < 3, permit a 32
bit value with the high bit set.
Thu May 30 19:00:19 1996 Ian Lance Taylor <ian@cygnus.com>
* read.c (s_lcomm): Set section flags for .sbss section.
@ -13,12 +18,8 @@ Thu May 30 19:00:19 1996 Ian Lance Taylor <ian@cygnus.com>
Thu May 30 10:36:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
* config/tc-ppc.c (comment_chars): Under Solaris, make '!' a
comment character.
(ppc_elf_rdata): Add support for .rdata and .rodata to go to the
.rodata section.
* config/ppc-sol.mt (TDEFINES): Define TARGET_SOLARIS_COMMENT.
* config/tc-ppc.c (comment_chars): Make '!' a comment character
for Solaris compatibility.
* stabs.c (s_stab_generic): Under PowerPC Solaris, convert a
.stabd with 4 arguments into a .stabn.

View file

@ -1838,13 +1838,15 @@ load_register (counter, reg, ep, dbl)
(int) BFD_RELOC_LO16);
return;
}
else if (((ep->X_add_number &~ (offsetT) 0x7fffffff) == 0
|| ((ep->X_add_number &~ (offsetT) 0x7fffffff)
== ~ (offsetT) 0x7fffffff))
&& (! dbl
|| ! ep->X_unsigned
|| sizeof (ep->X_add_number) > 4
|| (ep->X_add_number & 0x80000000) == 0))
else if ((((ep->X_add_number &~ (offsetT) 0x7fffffff) == 0
|| ((ep->X_add_number &~ (offsetT) 0x7fffffff)
== ~ (offsetT) 0x7fffffff))
&& (! dbl
|| ! ep->X_unsigned
|| sizeof (ep->X_add_number) > 4
|| (ep->X_add_number & 0x80000000) == 0))
|| (mips_isa < 3
&& (ep->X_add_number &~ 0xffffffff) == 0))
{
/* 32 bit values require an lui. */
macro_build ((char *) NULL, counter, ep, "lui", "t,u", reg,