This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 09/58] Mark internal wchar functions with attribute_hidden [BZ #18822]
- From: Stefan Liebler <stli at linux dot vnet dot ibm dot com>
- To: libc-alpha at sourceware dot org
- Date: Mon, 13 Nov 2017 11:16:42 +0100
- Subject: Re: [PATCH 09/58] Mark internal wchar functions with attribute_hidden [BZ #18822]
- Authentication-results: sourceware.org; auth=none
- References: <20170901180029.9527-1-hjl.tools@gmail.com> <20170901180029.9527-10-hjl.tools@gmail.com>
On 09/01/2017 07:59 PM, H.J. Lu wrote:
Mark internal wchar functions with attribute_hidden to allow direct
access within libc.so and libc.a without using GOT nor PLT.
On s390 (31bit) various debug/tst-*chk* testcases are failing as the
tests are ending with a segmentation fault.
As some of the wchar functions are IFUNC, those are called via PLT,
but r12 is not loaded with the GOT-pointer. Then it e.g. branches to
address zero which leads to the segmentation fault.
Please have a look at the patch "Use libc_hidden_proto / _def for hidden
wchar ifunc symbols."
(https://www.sourceware.org/ml/libc-alpha/2017-11/msg00391.html).
Bye.
Stefan