* config/tc-mips.c (macro_build_lui): _gp_disp is not special on
NEWABI, but we should still emit HI16_S for non-PIC n32.
This commit is contained in:
parent
4facf7e890
commit
78e1bb4045
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-11-07 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
* config/tc-mips.c (macro_build_lui): _gp_disp is not special on
|
||||
NEWABI, but we should still emit HI16_S for non-PIC n32.
|
||||
|
||||
2002-11-06 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* config/tc-alpha.c (alpha_validate_fix): Move code ...
|
||||
|
|
|
@ -3268,12 +3268,13 @@ macro_build_lui (place, counter, ep, regnum)
|
|||
>> 16) & 0xffff;
|
||||
*r = BFD_RELOC_UNUSED;
|
||||
}
|
||||
else if (! HAVE_NEWABI)
|
||||
else
|
||||
{
|
||||
assert (ep->X_op == O_symbol);
|
||||
/* _gp_disp is a special case, used from s_cpload. */
|
||||
assert (mips_pic == NO_PIC
|
||||
|| strcmp (S_GET_NAME (ep->X_add_symbol), "_gp_disp") == 0);
|
||||
|| (! HAVE_NEWABI
|
||||
&& strcmp (S_GET_NAME (ep->X_add_symbol), "_gp_disp") == 0));
|
||||
*r = BFD_RELOC_HI16_S;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue