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 <h...@sourceware.org>:

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

commit c45bd4fd43e5eb0cbad8ec410504e4778c64c65d
Author: H.J. Lu <hjl.to...@gmail.com>
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.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to