aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2002-11-19 14:58:54 +0000
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2002-11-19 14:58:54 +0000
commit0a00dd48077d518b3e6692f16dcbf553b3ed9975 (patch)
treeacd9210d67fa077c27ea1d251387c7a923da516a /gas/config
parentfd0e9d45dd14af2106351eedf1f5133a5b7a75b8 (diff)
downloadgdb-0a00dd48077d518b3e6692f16dcbf553b3ed9975.zip
gdb-0a00dd48077d518b3e6692f16dcbf553b3ed9975.tar.gz
gdb-0a00dd48077d518b3e6692f16dcbf553b3ed9975.tar.bz2
* config/tc-s390.c (tc_s390_fix_adjustable): Re-add patch to prevent
adjustments to symbols in merge sections.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-s390.c3
1 files changed, 3 insertions, 0 deletions
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