From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 123664 invoked by alias); 2 Aug 2018 07:58:52 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 123275 invoked by uid 89); 2 Aug 2018 07:58:18 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-5.0 required=5.0 tests=AWL,BAYES_00,KAM_SHORT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:683 X-HELO: mx0a-001b2d01.pphosted.com From: Ilya Leoshkevich To: libc-alpha@sourceware.org Cc: stli@linux.ibm.com Subject: [PATCH 00/12] S390: Implement __fentry__ Date: Thu, 02 Aug 2018 07:58:00 -0000 x-cbid: 18080207-0008-0000-0000-0000025B8FF8 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18080207-0009-0000-0000-000021C22DE3 Message-Id: <20180802075735.3457-1-iii@linux.ibm.com> X-SW-Source: 2018-08/txt/msg00027.txt.bz2 This patch series adds the runtime support in glibc for the -mfentry gcc feature introduced in [1] and [2]. Patches 1-9 deal with avoiding clobbering %r0 when calling lazily bound functions, so that the new __fentry__ symbol could be called with return address in that register. Patch 10 removes the assumption that only Intel implements __fentry__. Patch 11 adds __fentry__ implementation. Patch 12 is a cleanup of problems in 31-bit mcount, which are similar to those found while implementing 64-bit __fentry__. [1] https://gcc.gnu.org/ml/gcc-patches/2018-07/msg00784.html [2] https://gcc.gnu.org/ml/gcc-patches/2018-07/msg00912.html