[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/22374] Unnecessary PLT entries
From: |
amodra at gmail dot com |
Subject: |
[Bug ld/22374] Unnecessary PLT entries |
Date: |
Wed, 01 Nov 2017 00:45:04 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22374
--- Comment #2 from Alan Modra <amodra at gmail dot com> ---
Thanks HJ. The powerpc patch I'm testing doesn't need reference counting of
function pointers now that check_relocs is running after gc_sections (and
probably x86 also doesn't need ref counting nowadays). It's quite a simple
patch, making use of the fact that needs_plt is set on powerpc only when
encountering branch relocs or relocs that explicitly create a plt entry. So if
needs_plt is not set I can do without a plt entry if there are no dynamic
relocs in read-only sections.
--
You are receiving this mail because:
You are on the CC list for the bug.