bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/18718] -fno-plt doesn't work with symbol versioning


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/18718] -fno-plt doesn't work with symbol versioning
Date: Mon, 27 Jul 2015 17:14:26 +0000

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

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by H.J. Lu <address@hidden>:

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

commit c45bd4fd43e5eb0cbad8ec410504e4778c64c65d
Author: H.J. Lu <address@hidden>
Date:   Mon Jul 27 10:04:31 2015 -0700

    Check address of versined symbol

    Since GCC 5 folds symbol address comparison, assuming each symbol has a
    different address, &foo == &bar is always false for GCC 5.  This patch
    adds check_ptr_eq if 2 addresses are the same and uses it to check the
    address of versined symbol.

        PR ld/18718
        * ld-elf/check-ptr-eq.c: New file.
        * ld-elf/pr18718.c (main): Call check_ptr_eq.
        * ld-elf/shared.exp: Add check-ptr-eq.c to PR ld/18718 tests.

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]