This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Symbol refcounting for STT_GNU_IFUNC symbols


H.J. Lu wrote:
On Mon, Jul 5, 2010 at 9:05 AM, Stephen Clarke <stephen.clarke@st.com> wrote:
H.J. Lu wrote:
On Fri, Jul 2, 2010 at 7:47 AM, Stephen Clarke <stephen.clarke@st.com>
wrote:
[...] there is no corresponding decrement in the
elf_i386_gc_sweep_hook() if the relocation is removed.
Is this just a minor (safe) inaccuracy, or is there some reason why the
refcount cannot be decremented in elf_i386_gc_sweep_hook()?

It could be an oversight. Do you have an testcase?
[...]
here's a synthetic testcase:
[...]
I am testing this patch. Totally removing .got.plt section will
be tricky since it is created before garbage collection.
Please open another bug if it is really needed.

Works fine for me. Thanks, Steve.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]