From patchwork Thu Oct 26 19:06:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 117276 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp1128284qgn; Thu, 26 Oct 2017 12:12:00 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TsYWSt6N2zO1CWy3L1NfYGeIbP0vre0njT9zIv9xDS8/hNxmetNx5nQ2S20KK2yhSBrYag X-Received: by 10.101.65.200 with SMTP id b8mr5795931pgq.274.1509045120832; Thu, 26 Oct 2017 12:12:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509045120; cv=none; d=google.com; s=arc-20160816; b=c2nfJJ7ltgjJkIbAGR7EXe3N7QRNKGD/OXABMSLm1MUtcbA4vI0XqsONnXnBKz9Ycd NG3B9lfXVhcytBkeMld0pwxRyuN2pUWYal0tvNbd7qs6+BItDgRoFiZdrKJjZ0B2EWPu 89bZfHx5a3RKCtBdjJA9LWx4aQAZZgxjd1Y4sfp6vgBFoZZ8dYYpQL8MYTujpy5Nsh4O kh9JH/FDgmUS7MLZvAu4PM6XFQycnReW0LjOuFIJxAJq6q3+K8YQsM3SLgqVwdNfVNnw d/m8U2XX66cOdzyp/hi/4LIeVoZLrJoomP2ES6EX+GYEYTiCCleOko3NwWPe272w94Hh ie0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:to:from:delivered-to :sender:list-help:list-post:list-archive:list-subscribe :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=B04fKwtMmjVpM07uY/FUrl0kb0aRHyCd26Kn3u9g9GQ=; b=M9UsBO4x+ycsBC5DvI8sNZoXJKP8yP9lMTsvcVXPL6NCFYi3MFDiYxvsZ9aPC0iSFN Qe+bdqn03u2Iv6Z/86Xy56lpdQwMiI4AZbqdB2w6yb98vBbKEoSDqltYalpEMEvtbmHY IfUMc4pjbuWFcfPqTah5Rdb09UUpauQosGoV8sXo1JAUAICi1l+4ne/UJ1PfMWTselVB 53PAEXTK+AKL9EXf2QmjiPP8dhETjGYh4oT9NtKSXeozs50qSTJKQDZkbaMQmET04wDj L1O1PTHW+KcWXkF+O7FkyqqiNL0ISCpDDMBPTcNjZzV2RCMlRiDnrT6BUItzSEJp8oSA dyyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=XqRqjbMf; spf=pass (google.com: domain of libc-alpha-return-86427-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=libc-alpha-return-86427-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id b184si3741357pgc.627.2017.10.26.12.12.00 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Oct 2017 12:12:00 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-return-86427-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=XqRqjbMf; spf=pass (google.com: domain of libc-alpha-return-86427-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=libc-alpha-return-86427-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=wvY3d1HxLSzW8nqgq5DoGk+4qKp4sVt Z/MSEVb1xY4baIxV5tTWUGWS7BL7trJuT9wNoFwgf0bIPDYgC9NqajgoBIv7t+WL ZiPPkgS11lEmaZ2EHiyGbTXptYlY0QKrvUpL3lGbY1j64bXOxfemebZzBcLlFPx0 /uFi9KXOBevw= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=oz4fGmjCKnNXC/beSt8au+u8M+8=; b=XqRqj bMftBFOSguxjM2AattjfUkPSA13/LtNZWRJDvXjIlQeGd0Gza/bI1wyrNWVZ3clG jIbPteGlZSfLl/2issH22oaNO2ZV//JXiZn/TPBpBQSZJ5MPQwLIUM0t+0JC6VY+ l5HrZeb6ASydxKpTgh2TAu50rLax/ZxLWjdgrQ= Received: (qmail 101346 invoked by alias); 26 Oct 2017 19:07:44 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 100867 invoked by uid 89); 26 Oct 2017 19:07:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.4 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-qk0-f196.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=B04fKwtMmjVpM07uY/FUrl0kb0aRHyCd26Kn3u9g9GQ=; b=T1SwdnGDQcy9NdnSgyWEUS0gTHLNLOOrwrwmF5qiQDJ0Fw/bGmQ9ompDHMXRTAdsd+ bMdPWW0ElmoRfCGfy78eB5UWW+HQXBov4Re49svQ6JVBaUMhqPTH5b4kfdDNBMC7K4at XPv9oWLsD1Sn28dNdaDClUh2Vkz9CaItRelYwJpRZ/88aMQYyT2DkVYvCM/kH3GzgKZ9 WV6Kzm+m8KkRAFx+mjZ6vDP6d+lK312qzT9pime2aVKkqFcOFizXFK0aLLH2F4yCxgcL fBtI6UUa7x36vk1zDiM+OEkDK9TyEHYZO9nImoYN5ykZz5xDNe3kWXYi/H4mTkW/cFKm Xmag== X-Gm-Message-State: AMCzsaVOqgabD3x4GR0gvmUkHyLj2Rlq2+mgZwDeTMfASjhNRhDsYgK7 1V9sedcaPlvMsRNRy+13GiTAPJiNi0g= X-Received: by 10.55.136.67 with SMTP id k64mr9925694qkd.26.1509044855828; Thu, 26 Oct 2017 12:07:35 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH 25/25] x32: Remove unused getcpu implementation Date: Thu, 26 Oct 2017 17:06:53 -0200 Message-Id: <1509044813-9951-26-git-send-email-adhemerval.zanella@linaro.org> In-Reply-To: <1509044813-9951-1-git-send-email-adhemerval.zanella@linaro.org> References: <1509044813-9951-1-git-send-email-adhemerval.zanella@linaro.org> Checked on x86_64-linux-gnu-x32. * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file. Signed-off-by: Adhemerval Zanella --- ChangeLog | 2 ++ sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c | 32 ----------------------------- 2 files changed, 2 insertions(+), 32 deletions(-) delete mode 100644 sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c -- 2.7.4 diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c b/sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c deleted file mode 100644 index cd26d2e..0000000 --- a/sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c +++ /dev/null @@ -1,32 +0,0 @@ -/* Copyright (C) 2012-2017 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see - . */ - -#ifdef SHARED -# include - -void *getcpu_ifunc (void) __asm__ ("__getcpu"); - -void * -inhibit_stack_protector -getcpu_ifunc (void) -{ - PREPARE_VERSION (linux26, "LINUX_2.6", 61765110); - - return _dl_vdso_vsym ("__vdso_getcpu", &linux26); -} -__asm (".type __getcpu, %gnu_indirect_function"); -#endif