From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 93890 invoked by alias); 21 Aug 2017 13:26:46 -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 93120 invoked by uid 89); 21 Aug 2017 13:26:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_RED autolearn=ham version=3.3.2 spammy=Hx-languages-length:743 X-HELO: relay1.mentorg.com Date: Mon, 21 Aug 2017 13:26:00 -0000 From: Joseph Myers To: Martin Sebor CC: GNU C Library Subject: Re: [PATCH] have ifunc resolver's return type match target In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-SW-Source: 2017-08/txt/msg00974.txt.bz2 On Sun, 20 Aug 2017, Martin Sebor wrote: > To let Glibc take advantage of this type checking and avoid > warnings when using the patched GCC when the change above is > committed, the patch below adjusts the Glibc __ifunc_resolver > macro to declare the ifunc resolver so that its return type > matches that of the target. (I was going to wait to submit it > until after the GCC patch has been accepted but per Joseph's > suggestion I'm posting it here ahead of time.) > > The patch has been tested on its own with the system GCC 6.3 > and with the patched GCC on x86_64-linux with no regressions. OK (with a ChangeLog entry, of course). -- Joseph S. Myers joseph@codesourcery.com