[PATCH 09/58] Mark internal wchar functions with attribute_hidden [BZ #18822]
Stefan Liebler
stli@linux.vnet.ibm.com
Mon Nov 13 10:16:00 GMT 2017
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
More information about the Libc-alpha
mailing list