diff options
Diffstat (limited to 'contrib/binutils/gas/write.c')
-rw-r--r-- | contrib/binutils/gas/write.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/binutils/gas/write.c b/contrib/binutils/gas/write.c index 323b95f..f8120cb 100644 --- a/contrib/binutils/gas/write.c +++ b/contrib/binutils/gas/write.c @@ -881,7 +881,8 @@ adjust_reloc_syms (abfd, sec, xxx) /* Never adjust a reloc against local symbol in a merge section with non-zero addend. */ - if ((symsec->flags & SEC_MERGE) && fixp->fx_offset) + if ((symsec->flags & SEC_MERGE) != 0 + && (fixp->fx_offset != 0 || fixp->fx_subsy != NULL)) { symbol_mark_used_in_reloc (fixp->fx_addsy); goto done; |