From: Martin Schwidefsky Date: Tue, 19 Nov 2002 14:58:54 +0000 (+0000) Subject: * config/tc-s390.c (tc_s390_fix_adjustable): Re-add patch to prevent X-Git-Tag: cagney-unwind-20030108-branchpoint~710 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0a00dd48077d518b3e6692f16dcbf553b3ed9975;p=external%2Fbinutils.git * config/tc-s390.c (tc_s390_fix_adjustable): Re-add patch to prevent adjustments to symbols in merge sections. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index e785974..2c3d197 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2002-11-19 Martin Schwidefsky + + * config/tc-s390.c (tc_s390_fix_adjustable): Re-add patch to prevent + adjustments to symbols in merge sections. + 2002-11-19 Luke Deller * config/tc-alpha.c (s_alpha_prologue): as_bad when sym is NULL. diff --git a/gas/config/tc-s390.c b/gas/config/tc-s390.c index 71f0e3b..d7e6fe6 100644 --- a/gas/config/tc-s390.c +++ b/gas/config/tc-s390.c @@ -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