https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99889

Kewen Lin <linkw at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |linkw at gcc dot gnu.org

--- Comment #2 from Kewen Lin <linkw at gcc dot gnu.org> ---
By checking the related materials and discussions, I think the original issue
does still exist even if the recent trunk makes the linking error gone because
of comdat flag being introduced onto the __patchable_function_entries section.

The justification is that the flag SECTION_LINK_ORDER is to ensure
"__patchable_function_entries" section would be discarded or retained as its
link_to section together, it's expected that the link_to section is the section
holding function code, but on ELFv1 64bit the link_to section is section .opd,
it's wrong. And without comdat flag supported, we still need to support
SECTION_LINK_ORDER to work well.

Reply via email to