mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 04:00:07 +08:00
* config/tc-mips.c (md_estimate_size_before_relax): Do not modify
the EXTENDED bit here; report the estimate according to the current size.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2002-03-18 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
|
* config/tc-mips.c (md_estimate_size_before_relax): Do not modify
|
||||||
|
the EXTENDED bit here; report the estimate according to the
|
||||||
|
current size.
|
||||||
|
|
||||||
2002-03-18 Tom Rix <trix@redhat.com>
|
2002-03-18 Tom Rix <trix@redhat.com>
|
||||||
|
|
||||||
* configure.in: Add AIX 5 support.
|
* configure.in: Add AIX 5 support.
|
||||||
|
@ -12193,18 +12193,9 @@ md_estimate_size_before_relax (fragp, segtype)
|
|||||||
boolean linkonce = false;
|
boolean linkonce = false;
|
||||||
|
|
||||||
if (RELAX_MIPS16_P (fragp->fr_subtype))
|
if (RELAX_MIPS16_P (fragp->fr_subtype))
|
||||||
{
|
/* We don't want to modify the EXTENDED bit here; it might get us
|
||||||
if (mips16_extended_frag (fragp, segtype, 0))
|
into infinite loops. We change it only in mips_relax_frag(). */
|
||||||
{
|
return (RELAX_MIPS16_EXTENDED (fragp->fr_subtype) ? 4 : 2);
|
||||||
fragp->fr_subtype = RELAX_MIPS16_MARK_EXTENDED (fragp->fr_subtype);
|
|
||||||
return 4;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
fragp->fr_subtype = RELAX_MIPS16_CLEAR_EXTENDED (fragp->fr_subtype);
|
|
||||||
return 2;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (mips_pic == NO_PIC)
|
if (mips_pic == NO_PIC)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user