bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/22374] Unnecessary PLT entries


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/22374] Unnecessary PLT entries
Date: Wed, 01 Nov 2017 08:19:05 +0000

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

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Alan Modra <address@hidden>:

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

commit e48f0c8f1b9fdb195394dc7afea02ce55e4ba5e4
Author: Alan Modra <address@hidden>
Date:   Tue Oct 31 11:13:30 2017 +1030

    PR22374 testcase, function pointer references in .data

    Function pointer references in .data ought to use a dynamic reloc.
    There shouldn't be any need for a PLT entry and definitely no copy
    reloc.

    This test fails on quite a few targets, but isn't something that
    anyone should worry about too much.  It's really just a missed
    optimization.

        PR 22374
        * testsuite/ld-elf/pr22374a.s,
        * testsuite/ld-elf/pr22374b.s,
        * testsuite/ld-elf/pr22374-1.r,
        * testsuite/ld-elf/pr22374-2.r: New test.
        * testsuite/ld-elf/elf.exp: Run it.

-- 
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]