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: "joseph at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 02 Oct 2017 15:36:53 +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 #74 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
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).
--
You are receiving this mail because:
You are on the CC list for the bug.