+2001-11-06 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * config/tc-mips.c (my_getSmallParser): Fix small parser bug.
+
2001-11-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
* config/tc-s390.c (tc_s390_force_relocation): Force all relocations
(do_fp_{ctrl,ldst,ldstm,dyadic,monadic,cmp,from_reg,to_reg}): Rename
to do_fpa_*. All callers changed.
- * tc-arm.c (insns): Add two temporary instructions to handle
+ * tc-arm.c (insns): Add two temporary instructions to handle
ldrd/strd.
2001-11-01 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2001-10-08 Tom Rix <trix@redhat.com>
- * config/tc-ppc (ppc_bf, ppc_biei) : Set first .bi lineno value to
+ * config/tc-ppc (ppc_bf, ppc_biei) : Set first .bi lineno value to
location of next .bf
* config/obj-coff.c (coff_frob_symbol) : XCOFF does not use endndx.
lui $reg,<sym> (BFD_RELOC_HI16_S)
addiu $reg,$reg,<sym> (BFD_RELOC_LO16)
If we have an addend, we always use the latter form.
-
+
With 64bit address space and a usable $at we want
lui $reg,<sym> (BFD_RELOC_MIPS_HIGHEST)
lui $at,<sym> (BFD_RELOC_HI16_S)
daddiu $at,<sym> (BFD_RELOC_LO16)
dsll32 $reg,0
dadd $reg,$reg,$at
-
+
If $at is already in use, we use an path which is suboptimal
on superscalar processors.
lui $reg,<sym> (BFD_RELOC_MIPS_HIGHEST)
addiu $tempreg,$tempreg,<sym> (BFD_RELOC_LO16)
If we have a constant, we need two instructions anyhow,
so we may as well always use the latter form.
-
+
With 64bit address space and a usable $at we want
lui $tempreg,<sym> (BFD_RELOC_MIPS_HIGHEST)
lui $at,<sym> (BFD_RELOC_HI16_S)
daddiu $at,<sym> (BFD_RELOC_LO16)
dsll32 $tempreg,0
dadd $tempreg,$tempreg,$at
-
+
If $at is already in use, we use an path which is suboptimal
on superscalar processors.
lui $tempreg,<sym> (BFD_RELOC_MIPS_HIGHEST)
symbol, relative to a base register, e.g.:
<op> $treg, <sym>-<localsym>($breg)
This is used by the compiler for switch statements. */
- if (mips_pic == EMBEDDED_PIC
+ if (mips_pic == EMBEDDED_PIC
&& offset_expr.X_op == O_subtract
&& (symbol_constant_p (offset_expr.X_op_symbol)
? S_GET_SEGMENT (offset_expr.X_op_symbol) == now_seg
addu $tempreg,$tempreg,$breg
<op> $treg,<sym>($tempreg) (BFD_RELOC_LO16)
With a constant we always use the latter case.
-
+
With 64bit address space and no base register and $at usable,
we want
lui $tempreg,<sym> (BFD_RELOC_MIPS_HIGHEST)
return;
}
-
+
if (breg == 0)
{
if ((valueT) offset_expr.X_add_number > MAX_GPREL_OFFSET
*str = b;
goto percent_op;
}
- else
- /* Some other expression in the braces. */
- *len = strcspn (*str, ")") + 1;
+
+ /* Some other expression in the braces. */
+ *len = strcspn (*str, ")") + 1;
}
/* Check for percent_op. */
else if (*str[0] == '%')
/* Don't update oldstr if the last call had nested percent_op's. */
if (! oldstr)
oldstr = str;
-
+
do
{
oldc = c;
|| fixP->fx_r_type == BFD_RELOC_HI16_S
|| fixP->fx_r_type == BFD_RELOC_LO16
|| fixP->fx_r_type == BFD_RELOC_GPREL16
- || fixP->fx_r_type == BFD_RELOC_MIPS_LITERAL
+ || fixP->fx_r_type == BFD_RELOC_MIPS_LITERAL
|| fixP->fx_r_type == BFD_RELOC_GPREL32
|| fixP->fx_r_type == BFD_RELOC_64
|| fixP->fx_r_type == BFD_RELOC_CTOR
/* Handle the .cpreturn pseudo-op defined for NewABI PIC code. If an offset
was given in the preceeding .gpsetup, it results in:
ld $gp, offset($sp)
-
+
If a register $reg2 was given there, it results in:
daddiu $gp, $gp, $reg2
*/