[PATCH] x86: Keep _GLOBAL_OFFSET_TABLE_ for .eh_frame
H.J. Lu
hjl.tools@gmail.com
Thu Oct 2 22:12:50 GMT 2025
On Tue, Sep 30, 2025 at 10:36 AM H.J. Lu <hjl.tools@gmail.com> wrote:
>
> Since x86 .eh_frame section may reference _GLOBAL_OFFSET_TABLE_, keep
> _GLOBAL_OFFSET_TABLE_ if there is dynamic section and the output
> .eh_frame section is non-empty.
>
> PR ld/33499
> * elfxx-x86.c (_bfd_x86_elf_late_size_sections): Keep
> _GLOBAL_OFFSET_TABLE_ if there is dynamic section and the
> output .eh_frame section is non-empty.
>
>
> --
> H.J.
I am checking it in.
--
H.J.
More information about the Binutils
mailing list