This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [PATCH 09/58] Mark internal wchar functions with attribute_hidden [BZ #18822]


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


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