mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 20:28:28 +08:00
* config/tc-sparc.c (md_apply_fix3): Handle relocs against SEC_MERGE
section symbols the same way as externs.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2001-09-08 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* config/tc-sparc.c (md_apply_fix3): Handle relocs against SEC_MERGE
|
||||||
|
section symbols the same way as externs.
|
||||||
|
|
||||||
2001-09-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
|
2001-09-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
|
||||||
|
|
||||||
* config/tc-mips.c (s_mipsset): Reallow unrestricted use of .set mipsX
|
* config/tc-mips.c (s_mipsset): Reallow unrestricted use of .set mipsX
|
||||||
|
@ -2908,6 +2908,7 @@ md_apply_fix3 (fixP, value, segment)
|
|||||||
if (symbol_used_in_reloc_p (fixP->fx_addsy)
|
if (symbol_used_in_reloc_p (fixP->fx_addsy)
|
||||||
&& (S_IS_EXTERNAL (fixP->fx_addsy)
|
&& (S_IS_EXTERNAL (fixP->fx_addsy)
|
||||||
|| S_IS_WEAK (fixP->fx_addsy)
|
|| S_IS_WEAK (fixP->fx_addsy)
|
||||||
|
|| (S_GET_SEGMENT (fixP->fx_addsy)->flags & SEC_MERGE)
|
||||||
|| (sparc_pic_code && ! fixP->fx_pcrel)
|
|| (sparc_pic_code && ! fixP->fx_pcrel)
|
||||||
|| (S_GET_SEGMENT (fixP->fx_addsy) != segment
|
|| (S_GET_SEGMENT (fixP->fx_addsy) != segment
|
||||||
&& ((bfd_get_section_flags (stdoutput,
|
&& ((bfd_get_section_flags (stdoutput,
|
||||||
|
Reference in New Issue
Block a user