https://sourceware.org/bugzilla/show_bug.cgi?id=32260

--- Comment #5 from Alan Modra <amodra at gmail dot com> ---
Yes, I see now that the error from sec_merge_maybe_resize is passed up to
record_section and _bfd_merge_sections, but elflink.c:_bfd_elf_merge_sections
ignores an error from _bfd_merge_sections.  ldlang.c:lang_process ignores
errors from bfd_merge_sections (aka _bfd_elf_merge_sections in this case) too.

I think I'll leave fixing this to Michael, but my guess is that record_section
ought to clear out the section merge data for a section that gets any error
from sec_merge_maybe_resize, and not return false at that point.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to