Message ID | 20180713161136.29104-21-christophe.lyon@st.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp994407ljj; Fri, 13 Jul 2018 09:19:08 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdzaOdTaam5Ela7O7h9A/RNSPawLm/fMnKeDmjEHkObx0Qqmn+ndTOHjOnueBwM8sGlJChh X-Received: by 2002:a62:990f:: with SMTP id d15-v6mr7794171pfe.162.1531498747866; Fri, 13 Jul 2018 09:19:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531498747; cv=none; d=google.com; s=arc-20160816; b=XZSux677vsN0ixTZM4RK/4zEbX84ztqI7AxX57Dk8sc4H8/TplB/chmIYx3BQU2EyJ eInAbfxwyhBHBb89642OOzIV7nYsLcFB0n9xL1tL/vU6ttwclmZUtLwoqPtA8zRHfFia Aq3TxOxQ4Qzmu30zpDU3ZfVM1MrPT8xXQ4TwM2GdfCOoPg43PaPtYrzz4H9C5prGFHKI 6YvlD9+ag5qptDKNaxrFWWupb+5mV6z/eS/6i5kJ/iluqrmua08eoT+4le4hDPTgR0Ct Z2UKO/Sl/tRLuvS06UITYKoUqgqMcJJX7vqIWir37LQ+TQ1oU3Xxjmo0zpRxryTo3Lip CtKw== 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:cc:to :from:delivered-to:sender:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mailing-list:dkim-signature :domainkey-signature:arc-authentication-results; bh=ffhbWu4YCV7d68Xgd8CrCVtU0fTwUM7bNiYQYnpJIzM=; b=odwk7IGepDGNawJLoJk3mTebHeaWayE/EDX5JeaLYuBQMCWGlSs8biGguXlQmYu8pP yS/zCcS2OA7D5OWrCgpF6dXgGcIVIiMPjxIUVrzyVMjQQhsBmirB59QzYg4TTpbV8dSd jeSLtYjaW1bj0FEppdM2FB+QxGA57N+hYMUTv//1DlbQHpAGG3VFtueoXSumDkz1oswe NspolMwwvXlHxjysfkkwN/pxFlu+5exKUYuJ0Ua8s1wwPfRvuluGdbYr5PsJHNTlez5e fXaiGNTb6cQZgVAVrhSQI48rAi7Mqp+j+FmcCGp8Dv7RRuyVel46+Mng7L0nFu7Fwub/ BP0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=iNYvApVV; spf=pass (google.com: domain of gcc-patches-return-481530-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-481530-patch=linaro.org@gcc.gnu.org" Return-Path: <gcc-patches-return-481530-patch=linaro.org@gcc.gnu.org> Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id e188-v6si25495171pfc.110.2018.07.13.09.19.07 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jul 2018 09:19:07 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-481530-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=iNYvApVV; spf=pass (google.com: domain of gcc-patches-return-481530-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gcc-patches-return-481530-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:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type; q=dns; s=default; b=hoYRN3zF2CyY5xQw vTLpd5FEPBLO1A/eJxAxUGuppYzOO3lcPvaljrgMxBNukDOWWInDGMGGjmtJVQsG u5l9ZKGFefEQtif9Zmllo0tG80PCZeqaYsp2PLMrPXOZ1n0PGYvZwfsJnSEX+k5q Lkb360ZIzijxJI1ge5ImP1NB8yE= 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:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type; s=default; bh=sXLm6QCSOAsnwafxFtJPEx imeMI=; b=iNYvApVV0JGPnzrcu6XbnS4WNmFvESl/gtEs0SstCy2f4rA3ldPFv4 u4IIknKNczs1mw9aPl2OEk0CFiJHiTCZiUbg2duSli5rSt8aUDpd//Y0Rw64MCdq SW7zJ9JociD3gCm78oyzfb3N+YNmceaCdhQ3VrYdwTvAbj7tpuYBU= Received: (qmail 49275 invoked by alias); 13 Jul 2018 16:18:51 -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 49260 invoked by uid 89); 13 Jul 2018 16:18:50 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-27.6 required=5.0 tests=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.2 spammy=Hx-languages-length:1062 X-HELO: mx07-00178001.pphosted.com Received: from mx07-00178001.pphosted.com (HELO mx07-00178001.pphosted.com) (62.209.51.94) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 13 Jul 2018 16:18:49 +0000 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w6DGIlMA011263; Fri, 13 Jul 2018 18:18:47 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2k6y3vr2xx-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 13 Jul 2018 18:18:47 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id CE6F231; Fri, 13 Jul 2018 16:18:44 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node1.st.com [10.75.127.13]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id BCFB7A6E2; Fri, 13 Jul 2018 16:18:44 +0000 (GMT) Received: from gnb.st.com (10.75.127.48) by SFHDAG5NODE1.st.com (10.75.127.13) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 13 Jul 2018 18:18:44 +0200 From: <christophe.lyon@st.com> To: <gcc-patches@gcc.gnu.org> CC: <christophe.lyon@linaro.org> Subject: [ARM/FDPIC v2 20/21] [ARM][testsuite] FDPIC: Adjust pr43698.c to avoid clash with uclibc. Date: Fri, 13 Jul 2018 18:11:15 +0200 Message-ID: <20180713161136.29104-21-christophe.lyon@st.com> In-Reply-To: <20180713161136.29104-1-christophe.lyon@st.com> References: <20180713161136.29104-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. 2018-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