https://sourceware.org/bugzilla/show_bug.cgi?id=33127
Indu Bhagat <indu.bhagat at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |indu.bhagat at oracle dot com
--- Comment #13 from Indu Bhagat <indu.bhagat at oracle dot com> ---
Thanks HJ. So in the current report, there were two different issues:
- #1 stale relas for .sframe section when ld -r.
- #2 .sframe sections are concatenated instead of merged for .gnu_object_only
for LTO and non-LTO mixed lto -r.
For #1, your fix may work. But I am considering whether a better solution is
to mark such .sframe sections SEC_EXCLUDE in bfd_elf_discard_info, by setting
their size to zero. I tried a makeshift patch and that also gets rid of the
extra RELA. In _bfd_elf_merge_section_sframe, we check if the section is
marked for deletion, and the section is not merged anyway.
For #2, there is a new issue 33146 opened.
--
You are receiving this mail because:
You are on the CC list for the bug.