diff options
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r-- | bfd/elflink.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h index 9a3bfd3..d465bcc 100644 --- a/bfd/elflink.h +++ b/bfd/elflink.h @@ -6375,6 +6375,8 @@ elf_link_input_bfd (finfo, input_bfd) isec = section_from_elf_index (input_bfd, isym->st_shndx); if (isec && elf_section_data (isec)->sec_info_type == ELF_INFO_TYPE_MERGE + && (finfo->info->relocateable + || ! (isec->flags & SEC_EXCLUDE)) && ELF_ST_TYPE (isym->st_info) != STT_SECTION) isym->st_value = _bfd_merged_section_offset (output_bfd, &isec, |