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: 23891 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-Google-Smtp-Source: ABhQp+ScSrh9w0TC3nq3OOzUDYQ5ZkJYWT7gdOxvFjyPHpwkIN69GDMn7Bh8Sccs9+Blswp+FmFAmQ== 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 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