+Thu Feb 6 16:52:57 1997 Ian Lance Taylor <ian@cygnus.com>
+
+ * config/tc-mips.c (mips_fix_adjustable): Don't adjust relocations
+ against any mips16 symbols, not just externally visible ones.
+ (md_apply_fix): Corresponding change.
+
Wed Feb 5 11:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
* config/tc-mips.c (mips16_ip): Accept floating point registers in
symbol, we need to adjust the value. */
#ifdef S_GET_OTHER
if (fixP->fx_addsy != NULL
- && (S_IS_EXTERNAL (fixP->fx_addsy)
- || S_IS_WEAK (fixP->fx_addsy))
&& OUTPUT_FLAVOR == bfd_target_elf_flavour
&& S_GET_OTHER (fixP->fx_addsy) == STO_MIPS16)
{
should be converted into a reloc against a section. Don't adjust
MIPS16 jump relocations, so we don't have to worry about the format
of the offset in the .o file. Don't adjust relocations against
- externally visible mips16 symbols, so that the linker can find them
- if it needs to set up a stub. */
+ mips16 symbols, so that the linker can find them if it needs to set
+ up a stub. */
int
mips_fix_adjustable (fixp)
return 0;
if (fixp->fx_addsy == NULL)
return 1;
- if (! S_IS_EXTERNAL (fixp->fx_addsy)
- && ! S_IS_WEAK (fixp->fx_addsy))
- return 1;
#ifdef S_GET_OTHER
if (OUTPUT_FLAVOR == bfd_target_elf_flavour
&& S_GET_OTHER (fixp->fx_addsy) == STO_MIPS16)