* config/tc-s390.c (tc_s390_fix_adjustable): Re-add patch to prevent

adjustments to symbols in merge sections.
This commit is contained in:
Martin Schwidefsky 2002-11-19 14:58:54 +00:00
parent fd0e9d45dd
commit 0a00dd4807
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-11-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
* config/tc-s390.c (tc_s390_fix_adjustable): Re-add patch to prevent
adjustments to symbols in merge sections.
2002-11-19 Luke Deller <luked@cse.unsw.edu.au>
* config/tc-alpha.c (s_alpha_prologue): as_bad when sym is NULL.

View File

@ -1629,6 +1629,9 @@ int
tc_s390_fix_adjustable (fixP)
fixS *fixP;
{
/* Don't adjust references to merge sections. */
if ((S_GET_SEGMENT (fixP->fx_addsy)->flags & SEC_MERGE) != 0)
return 0;
/* adjust_reloc_syms doesn't know about the GOT. */
if ( fixP->fx_r_type == BFD_RELOC_32_GOTOFF
|| fixP->fx_r_type == BFD_RELOC_390_PLT16DBL