Message ID | 20190909154526.11630-20-christophe.lyon@st.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp4540866ilq; Mon, 9 Sep 2019 08:52:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqxNxdMwTOfhXkCYTksE7RLchCBck9T3RUt2XTpm4xiRw6A8kzKKOLk3+nAHbHUDnqzJTZi/ X-Received: by 2002:a17:906:3659:: with SMTP id r25mr4386622ejb.53.1568044336785; Mon, 09 Sep 2019 08:52:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568044336; cv=none; d=google.com; s=arc-20160816; b=CfhhNCk3+7s9n/a+PaR0OK1IQxIySu2BkaxKeUz81VfE87fCHtcpM5TT3wlPgERcA4 bupbhoZieSwE8Xuv2FrkE0MYADYZz8Cbh7dfsObyzcsB6JNY1adYn9EfNumbiDAt3oaM NIXYGDm07hhyIvEe5r+B8mznst5RWEG3HMFFPEcNA2t8rW8GJn/rdIJMUueItRHaMcxd t6b0sF0EwASRg8UlM5P4FYj+AJTkj70MSkviPleYqPhxI5fWalsWVUWvwmHuenhDkwGL 1mFvzv1psMWH/PUw6pVQp13vIRYDa1S/D8CXiEcbd85WghCSdeEsDddGz2d6dl1BNRSi fsJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to:sender:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature; bh=dQRMLgAbo1vMy722l76MCjA0bw6FaldqVVCKZLG9wTA=; b=MvK/5f7J5jJlWUc10mhG0XQKCU54ZZwOlOQHhy/TBCatc3j/f2LahEOXHdKIypD7AE 6KpgmlfyLc5cFlGV4PQBkxx+DCkHSq7hcYkD52sspn+jxU3vF+DKaM27zYWnHAhL+tW0 4Z9872jT/s2m+Tqlo/S7WLfy58SiNVGkmLrpWfPwS1Bd62hHqeS5DJT1VDhoVUykzwqO 5cPZtEg+eJi8o3bv2Gd59UEJc+OD5BKh5ab9gBbp3L7M2+LntJ3kAH3xYmIoPLYe5uvb dPvaABbztAbHz2kRAbzAzUSaV8SGkk+7C8/tkV25dhGOU9UpYhebdyxlTBnzR2/PNBlB i/nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=qmpWmjz0; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=XKsoUxOT; spf=pass (google.com: domain of gcc-patches-return-508661-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-508661-patch=linaro.org@gcc.gnu.org" Return-Path: <gcc-patches-return-508661-patch=linaro.org@gcc.gnu.org> Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id q15si7629867eja.36.2019.09.09.08.52.16 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Sep 2019 08:52:16 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-508661-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=qmpWmjz0; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=XKsoUxOT; spf=pass (google.com: domain of gcc-patches-return-508661-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-508661-patch=linaro.org@gcc.gnu.org" DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:in-reply-to:references:mime-version :content-type; q=dns; s=default; b=NvKWoB2tNRa6Aqbe0s18xY9hwEHZe HmF4yHd8ZM2p5qcYHApwugDuO2uIkQgH9FswZX6aE3L4iaIcORI2hXzTZl9RhC1R lm/RCVHt63uFfziHQqit6I60/EeczxV3snaMQUsWYFOnE+IMyMp+ZQZUhh5JwnHu bzcvCkxbJG1MxY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:in-reply-to:references:mime-version :content-type; s=default; bh=zvBazwAUnEE7NnlGQXb55aDbnto=; b=qmp Wmjz0iUJ73jY4kOJy2hproM9Z8dojV0miyVWgYWS5s0enJ8ffr1/AjB3cxxQj5Up sZynCf/rldv3Sm6CsPiYqmgm3yHxrVV6hk4lr7q5VqWPoSoIxHl1veM+2RdkMgQ9 2m32M1tBwSUDc2VG9A0mOX6bzTeOn0l+5YCPWqso= Received: (qmail 11130 invoked by alias); 9 Sep 2019 15:52:03 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-patches.gcc.gnu.org> List-Unsubscribe: <mailto:gcc-patches-unsubscribe-patch=linaro.org@gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-help@gcc.gnu.org> Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 11111 invoked by uid 89); 9 Sep 2019 15:52:03 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-27.0 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mx07-00178001.pphosted.com Received: from mx08-00178001.pphosted.com (HELO mx07-00178001.pphosted.com) (91.207.212.93) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 09 Sep 2019 15:52:02 +0000 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x89Fovrx007207 for <gcc-patches@gcc.gnu.org>; Mon, 9 Sep 2019 17:52:00 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=dQRMLgAbo1vMy722l76MCjA0bw6FaldqVVCKZLG9wTA=; b=XKsoUxOT9Ta1QDrpQy+ZcSWc56OlJaIa3mtE1erk2m2MGvj2w/04qCDHaSxy4jU1DJly dt/3uP3TZIHv8dDHFUVS8DH0irkJyTOazNLevN4V9gtZUqM3ovgyWwwircMzR7aKW4MR NREnrKAAAgHGgvL2NCBY5PXgSh5SGbs4X5OC36bjtlJfIe9PtHA20hg2KeJpAErHxFWD OLh2JZFYr5viIO6JdRIcRPqcYxzYWVbNAvexAM85IxFk+GFBDnAB/Acgjup1K7UApKM/ /24PVSXxzL6a/9XiBKI2FYGwMwkkjAVLI9qbhX7psnGCp747D5VYtc0qNMm/Dsy7w+MR Cg== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx08-00178001.pphosted.com with ESMTP id 2uv1pa71b4-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT) for <gcc-patches@gcc.gnu.org>; Mon, 09 Sep 2019 17:52:00 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 84F6E23 for <gcc-patches@gcc.gnu.org>; Mon, 9 Sep 2019 15:51:57 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node1.st.com [10.75.127.13]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id EA3EB2B0DEF for <gcc-patches@gcc.gnu.org>; Mon, 9 Sep 2019 17:51:56 +0200 (CEST) Received: from gnb.st.com (10.75.127.46) by SFHDAG5NODE1.st.com (10.75.127.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 9 Sep 2019 17:51:56 +0200 From: Christophe Lyon <christophe.lyon@st.com> To: <gcc-patches@gcc.gnu.org> Subject: [ARM/FDPIC v6 19/24] [ARM][testsuite] FDPIC: Adjust pr43698.c to avoid clash with uclibc. Date: Mon, 9 Sep 2019 17:45:01 +0200 Message-ID: <20190909154526.11630-20-christophe.lyon@st.com> In-Reply-To: <20190909154526.11630-1-christophe.lyon@st.com> References: <20190909154526.11630-1-christophe.lyon@st.com> MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes |
Series |
FDPIC ABI for ARM
|
expand
|
diff --git a/gcc/testsuite/gcc.target/arm/pr43698.c b/gcc/testsuite/gcc.target/arm/pr43698.c index 1fc497c..3b5dad0 100644 --- a/gcc/testsuite/gcc.target/arm/pr43698.c +++ b/gcc/testsuite/gcc.target/arm/pr43698.c @@ -6,7 +6,7 @@ char do_reverse_endian = 0; -# define bswap_32(x) \ +# define my_bswap_32(x) \ ((((x) & 0xff000000) >> 24) | \ (((x) & 0x00ff0000) >> 8) | \ (((x) & 0x0000ff00) << 8) | \ @@ -16,7 +16,7 @@ char do_reverse_endian = 0; (__extension__ ({ \ uint64_t __res; \ if (!do_reverse_endian) { __res = (X); \ - } else if (sizeof(X) == 4) { __res = bswap_32((X)); \ + } else if (sizeof(X) == 4) { __res = my_bswap_32((X)); \ } \ __res; \ }))
From: Christophe Lyon <christophe.lyon@linaro.org> uclibc defines bswap_32, so use a different name in this test. 2019-XX-XX Christophe Lyon <christophe.lyon@st.com> gcc/testsuite/ * gcc.target/arm/pr43698.c (bswap_32): Rename as my_bswap_32. Change-Id: I2591bd911030814331cabf97ee5cf6cf8124b4f3 -- 2.6.3