From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 40455 invoked by alias); 16 Mar 2017 14:45:51 -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 38079 invoked by uid 89); 16 Mar 2017 14:45:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:477 X-HELO: mx1.redhat.com DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com CA2D47AE81 Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=fweimer@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com CA2D47AE81 Subject: Re: [PATCH 2/2] sparc: Fix .udiv plt on libc To: libc-alpha@sourceware.org References: <1489671790-7611-1-git-send-email-adhemerval.zanella@linaro.org> <1489671790-7611-2-git-send-email-adhemerval.zanella@linaro.org> From: Florian Weimer Message-ID: <0c57bbb9-71b4-7e20-3b70-5e8553c960a0@redhat.com> Date: Thu, 16 Mar 2017 14:45:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <1489671790-7611-2-git-send-email-adhemerval.zanella@linaro.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2017-03/txt/msg00324.txt.bz2 On 03/16/2017 02:43 PM, Adhemerval Zanella wrote: > To avoid it, this patch uses the linker option --wrap to replace all > the internal libc.so .udiv calls to the wrapper __wrap_.udiv. Along > with strong alias in the udiv implementations, it makes linker do > local calls. I think we already use a different mechanism for a similar purpose, via sysdeps/generic/symbol-hacks.h. Maybe it's possible to reuse that? Thanks, Florian