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

--- Comment #29 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Alan Modra <[email protected]>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bcf8ba6ec3458b0264a967d9f00fc50d7a883682

commit bcf8ba6ec3458b0264a967d9f00fc50d7a883682
Author: Alan Modra <[email protected]>
Date:   Thu Jun 18 11:47:05 2026 +0930

    PR 29655 test: xfail more targets

    Apparently some libraries (Qt5 is called out in PR 29655) want to know
    if one of their functions has been overridden, and do so by comparing
    the address of the function with the address of a local hidden alias.
    This is a bug in every such library that tries that trick, because if
    the main program is non-PIC and calls the function in question then
    the globally visible address of the function is set to the PLT call
    stub code for that function in the main executable.  This will happen
    even when there is no real overriding of the function.

    On the other hand if the main executable is PIC then there should be
    no need to define function addresses on PLT call stub code, but some
    linker target support still does so.  This is a minor bug in the
    linker as it results in more work in ld.so and sligntly slower
    startup.  However, I don't think it is an important issue if target
    maintainers can't fix the problem.

            * testsuite/ld-elf/shared.exp (pr29655): xfail more targets.

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

Reply via email to