[PATCH] x86: Copy non_got_ref_without_indirect_extern_access
H.J. Lu
hjl.tools@gmail.com
Thu Sep 11 12:57:29 GMT 2025
On Tue, Sep 9, 2025 at 6:44 PM H.J. Lu <hjl.tools@gmail.com> wrote:
>
> Copy non_got_ref_without_indirect_extern_access when copying indirect
> symbol for weak alias so that _bfd_x86_elf_adjust_dynamic_symbol will
> properly handle GNU_PROPERTY_1_NEEDED_INDIRECT_EXTERN_ACCESS.
>
> bfd/
>
> PR ld/33409
> * elfxx-x86.c (_bfd_x86_elf_copy_indirect_symbol): Copy
> non_got_ref_without_indirect_extern_access.
>
> ld/
>
> PR ld/33409
> * testsuite/config/default.exp (NO_DIRECT_EXTERN_ACCESS_CFLAGS):
> New.
> * testsuite/ld-elf/shared.exp: Run PR ld/33409 tests.
> * testsuite/ld-elf/pr33409a.c: New file.
> * testsuite/ld-elf/pr33409b.c: Likewise.
> * testsuite/ld-elf/pr33409c.c: Likewise.
>
> Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
This is the patch I am checking in.
--
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-x86-Copy-non_got_ref_without_indirect_extern_access.patch
Type: text/x-patch
Size: 4861 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20250911/e2801c13/attachment.bin>
More information about the Binutils
mailing list