This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/18822] Internal functions are called via PLT
- From: "hjl.tools at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 02 Oct 2017 21:37:03 +0000
- Subject: [Bug libc/18822] Internal functions are called via PLT
- Auto-submitted: auto-generated
- References: <bug-18822-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=18822
--- Comment #75 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to joseph@codesourcery.com from comment #74)
> I don't think this will stay fixed without a checked-in testcase.
>
> Such a testcase, to be machine-independent, should not be checking names
> of relocations. Instead it needs to look at properties of (global/weak)
> symbols in objects that go into shared libraries. Symbols (defined or
> undefined) that are not hidden, but are not exported from those shared
> libraries, are suspect, but I'm not sure how reliably GCC will mark
> undefined symbols hidden even given appropriate declarations (and there
> may also be issues with undefined symbols properly called from .S sources
> but not marked hidden there). So likely lists of exceptions to any such
> tests would be needed (including architecture-specific exceptions for e.g.
> libgcc symbols).
I opened PR 22237 to track it.
--
You are receiving this mail because:
You are on the CC list for the bug.