From patchwork Tue Jun 5 05:11:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian La Roche X-Patchwork-Id: 925301 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=uclibc-ng.org (client-ip=89.238.66.15; helo=helium.openadk.org; envelope-from=devel-bounces@uclibc-ng.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=quarantine dis=none) header.from=googlemail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=googlemail.com header.i=@googlemail.com header.b="LEy6aRas"; dkim-atps=neutral Received: from helium.openadk.org (helium.openadk.org [89.238.66.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 410Kf35LFjz9s0W for ; Tue, 5 Jun 2018 15:11:22 +1000 (AEST) Received: from helium.openadk.org (localhost [IPv6:::1]) by helium.openadk.org (Postfix) with ESMTP id B811210296; Tue, 5 Jun 2018 07:11:18 +0200 (CEST) X-Original-To: devel@uclibc-ng.org Delivered-To: devel@helium.openadk.org Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by helium.openadk.org (Postfix) with ESMTPS id E5FA210296 for ; Tue, 5 Jun 2018 07:11:14 +0200 (CEST) Received: by mail-wr0-f195.google.com with SMTP id h10-v6so847856wrq.8 for ; Mon, 04 Jun 2018 22:11:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=QSGxSAXoE7zmZHFybRy5kwhm48I2UmEjlzLpraCfazY=; b=LEy6aRasO/HFSuXmBhAuB5AolFekWFVlP6V02fyV5pYrGG5lnHsm2Bvbqm5rVpIsqK HbRWAMmPbnzNrzkem70bGO4WUx/7Wl3nB33fDjJ5qGEfTKVzGFuxXtGX3KaAdA4wuvcb lXJmUFe9/SQoBY1yUOu63USgw1JDwRUGuiExFvGzQ9yXBKVJ/xl+Yj1Ydbe+NnM8e9Yw jfMyn0qGm04KMCfWXmSxnq8DW8glzqpd85F7Rj63oslkTj4tRHgbOoVLhmGHUb6MX4OF 33LfJV/6siHbaN8yJ5ChqIcE5kxLpKnYPZJd6p4preAF2HAId2MqDz+dkQY5RW3MxvUZ iMSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=QSGxSAXoE7zmZHFybRy5kwhm48I2UmEjlzLpraCfazY=; b=NQAf5los67q5A2zlIchIwjJdSZ0dsb2XfUklgFJbW1WK6rc8TuIWM6zp0l1O6SJ8TY dqBD1sdouqgX1+bJrqTHYc32QrDTDNPaSLO/YAX9g9Itz+1/V5XW2OadNvwUQ5pl3HcJ PPZcLjfbPq9I+hiraA/03PbfvtDS6txFXT6YTYFEqVgxzl4fVwhlOgrMGbOxBB1SpWLP BBCQd+Z2iH5Va4HqqytJtDxyEIy3bEflk5NobDQjzN/LWDtgs8naSjHoHfy5hqr3ucLD hPgW/+RWi+Z1mBwFesRQatWLBy/WlozbVH9+Hmn9rKPTEHh4gIR196FUkgyjM33CM3Ck YALA== X-Gm-Message-State: APt69E3UNydXKG1OO/3I2tvaC5zFtXv/VKAlUVXl4xfSk8r3hIpqXiND ddrQLEDtSsiEfIDOyc1Js5+zZA== X-Google-Smtp-Source: ADUXVKItANp7g/hA/M0hY2kAJQ/5eAi5Vsd3nSUx/s5o4sMes+L45sHIP/wiUhrjdD6iv98pI3kEOg== X-Received: by 2002:adf:e285:: with SMTP id v5-v6mr4038096wri.54.1528175474134; Mon, 04 Jun 2018 22:11:14 -0700 (PDT) Received: from winie.fritz.box (dslb-178-002-182-238.178.002.pools.vodafone-ip.de. [178.2.182.238]) by smtp.gmail.com with ESMTPSA id r75-v6sm796394wmg.31.2018.06.04.22.11.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Jun 2018 22:11:13 -0700 (PDT) From: Florian La Roche X-Google-Original-From: Florian La Roche To: devel@uclibc-ng.org Date: Tue, 5 Jun 2018 07:11:08 +0200 Message-Id: <20180605051108.13942-1-Florian.LaRoche@googlemail.com> X-Mailer: git-send-email 2.17.0 Subject: [uclibc-ng-devel] [PATCH 1/1] remove unused assembler functions for arm X-BeenThere: devel@uclibc-ng.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: uClibc-ng Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: devel-bounces@uclibc-ng.org Sender: "devel" These assembler functions seem to be unused/referenced, so we can remove them completely. Signed-off-by: Florian La Roche --- ldso/ldso/arm/thumb_atomics.S | 78 ----------------------------------- 1 file changed, 78 deletions(-) delete mode 100644 ldso/ldso/arm/thumb_atomics.S diff --git a/ldso/ldso/arm/thumb_atomics.S b/ldso/ldso/arm/thumb_atomics.S deleted file mode 100644 index f88da2b9c..000000000 --- a/ldso/ldso/arm/thumb_atomics.S +++ /dev/null @@ -1,78 +0,0 @@ -/* Copyright (C) 2006 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. - - In addition to the permissions in the GNU Lesser General Public - License, the Free Software Foundation gives you unlimited - permission to link the compiled version of this file with other - programs, and to distribute those programs without any restriction - coming from the use of this file. (The GNU Lesser General Public - License restrictions do apply in other respects; for example, they - cover modification of the file, and distribution when not linked - into another program.) - - Note that people who make modified versions of this file are not - obligated to grant this special exception for their modified - versions; it is their choice whether to do so. The GNU Lesser - General Public License gives permission to release a modified - version without this exception; this exception also makes it - possible to release a modified version which carries forward this - exception. - - 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 - . */ - -#include - -#ifdef __UCLIBC_HAS_THREADS_NATIVE__ - -#include - -#if defined __thumb__ - -/* Out-of-line atomic operations that we can't do in Thumb mode. - This ends up in various libraries where it is needed (and - a few .a archives where it isn't). */ - - .hidden __thumb_swpb -ENTRY (__thumb_swpb) - swpb r0, r0, [r1] - bx lr -END (__thumb_swpb) - - .hidden __thumb_swp -ENTRY (__thumb_swp) - swp r0, r0, [r1] - bx lr -END (__thumb_swp) - - .hidden __thumb_cmpxchg -ENTRY (__thumb_cmpxchg) - stmdb sp!, {r4, lr} - mov r4, r0 -0: ldr r3, [r2] - cmp r3, r4 - bne 1f - mov r0, r4 - mov r3, #0xffff0fff - mov lr, pc - add pc, r3, #(0xffff0fc0 - 0xffff0fff) - bcc 0b - mov r3, r4 -1: mov r0, r3 - ldmia sp!, {r4, pc} -END (__thumb_cmpxchg) - -#endif /* __thumb__ */ -#endif /* __UCLIBC_HAS_THREADS_NATIVE__ */ -