Message ID | 57BDF232.3090700@arm.com |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-return-434631-incoming=patchwork.ozlabs.org@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3sKH8F6pFKz9sCg for <incoming@patchwork.ozlabs.org>; Thu, 25 Aug 2016 05:15:41 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=qkt7/0GE; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:cc:subject:content-type; q=dns; s=default; b=RlmWYRh+G+jmq25Pztd6isSi+lqyb0Op8hnfdPWLwap hoBxgwmizaWh1dpyJCk4GWDJgT99yreF8FCVrQC+Rkd0jKK9YpgyWDVkEE9xEQT0 kGVuOJpUkE2jwLQ++FqBpcRh3k3Rxd+7jCi3H/Dhj0esqq6IDEPeBRemDBwUFd3A = 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 :message-id:date:from:mime-version:to:cc:subject:content-type; s=default; bh=+C4yFb10gS8Becz8jcXJxOnK28M=; b=qkt7/0GENqcKH9h5F 634Zj04Rj7j1yaKWd+xNUCQtj70/0wcDJRFdC0B+L7UOl1C0deasfuSpYlZz0YID YbTEtUOcY5ZUJ/ew7EhxOhwK3HY0CkjBfyFMr+W/TwDvALLeOPATh4LeQFD4tAAg B/45OzhSk7YlhU1TpVmRhMngSg= Received: (qmail 127517 invoked by alias); 24 Aug 2016 19:15:28 -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-incoming=patchwork.ozlabs.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 125374 invoked by uid 89); 24 Aug 2016 19:15:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, SPF_PASS autolearn=ham version=3.3.2 spammy=structs, Hx-languages-length:764 X-HELO: eu-smtp-delivery-143.mimecast.com Received: from eu-smtp-delivery-143.mimecast.com (HELO eu-smtp-delivery-143.mimecast.com) (207.82.80.143) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 24 Aug 2016 19:15:14 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01lp0247.outbound.protection.outlook.com [213.199.154.247]) (Using TLS) by eu-smtp-1.mimecast.com with ESMTP id uk-mta-58-VJEg8b3QODWmlD2Oqr6Ncw-1; Wed, 24 Aug 2016 20:15:06 +0100 Received: from [10.2.206.73] (217.140.96.140) by VI1PR0802MB2159.eurprd08.prod.outlook.com (10.172.12.16) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.557.21; Wed, 24 Aug 2016 19:15:04 +0000 Message-ID: <57BDF232.3090700@arm.com> Date: Wed, 24 Aug 2016 20:14:58 +0100 From: Szabolcs Nagy <szabolcs.nagy@arm.com> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org> CC: <nd@arm.com>, Matthew Fortune <matthew.fortune@imgtec.com> Subject: [PATCH][mips] Fix linux header use in libgcc X-ClientProxiedBy: HE1PR06CA0077.eurprd06.prod.outlook.com (10.164.28.173) To VI1PR0802MB2159.eurprd08.prod.outlook.com (10.172.12.16) X-MS-Office365-Filtering-Correlation-Id: d3257c7a-2a64-4bc7-44bd-08d3cc52f442 X-Microsoft-Exchange-Diagnostics: 1; VI1PR0802MB2159; 2:GLUQCnEVSfvY/Q9YPqQfdSCxAf1boHDE+Hquen2csGIJZPVS1BSRBZBqmcwANzFFKmy0yaDn4Zdy5x8q+Uvt8/C1+HFr0u+FHQ9G68/yfaNYLC9qny2yH55MK7muOoPLsz8rstfUnrgk9/Y3NYFVS3W4RiRWAPeP9Fugzz43ARkyGAO0TxKXDBnxViOg2iZv; 3:AYs8vcYlmW//xdxGW3C5uKl1I/hkgvkL8a6giat5c1ST7L0mkrc3uJl08TSB3gTOWqoM8pwSWH6Ly8PvR5NbClaN1ydzjlpN3jzTS0PHSC/isLsozmwfpPWldTDekjN5 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:VI1PR0802MB2159; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0802MB2159; 25:Bs6l8CNP0/tn5FoI+KEqofKPtZ0gkcy4AsvvaOQLoKAB2CtLs6do2kLBFCoe1sab6a9SQAQle0s10njn5qf2kKEaicxR+LpudGb+IEv0ydN2OZdYBMJv/3s17OhbsIntlQ1BVhr18onR44xpkuGZN+NkweL2mQArggPSBQTu7foQ5mQY0+TLG9YZjIkb4ytOWdK1HX/qCTq2qAzLSZuIfohHWtHBCna6nUL6pHLBVsTZINUyIkPMijLeGc57vkSx9DsiytxV1gP5TlO0YFCmZb67jRnGmtTEqVWlkPWW2wB40ZoRo7FG/hqnKxUbb/8O+7ypMxrE2dfukDt85S+0m9LzDOCXQvJW/TXCNsb4vCxQRKO/6lLqDwyUw4UcfYxDx7EbWTfVNm6CSHWVHJZI8BYVpr36EK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JH9dsPq6R/8GCvBjVhfM0xqBRu3F9D2K1zS3HTbzT6Y86RK2ST39QwrVtQC+brgjbQZftuc6bG0kWIAGTpuQqjAq14D0s9RZzSlOgSd+eJj1rFiUCCW5M+ehuaxZ3YvEkZEIXL/yq90Im3fCuCIKdSE4+dHCp9lFr8Y+bI4czohA2PrSo4I3MKhlSfn37XWzHq3cYMOwgkFXzcOyBo+YrxMzcIiFm0a7hqDhlWn6coisug6qdYPiL+TaqewSoexjRlndyTAX19LkYWC8RZwjrfJebiXBT121pzrsSIuPxCZK+5zedig= NoDisclaimer: True X-Microsoft-Antispam-PRVS: <VI1PR0802MB2159DDB9B28A245FE6106091EDEA0@VI1PR0802MB2159.eurprd08.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(180628864354917); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(102415321)(6040176)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026); SRVR:VI1PR0802MB2159; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0802MB2159; X-Forefront-PRVS: 0044C17179 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6049001)(7916002)(377424004)(189002)(199003)(36756003)(7846002)(4610100001)(305945005)(2906002)(84326002)(586003)(7736002)(83506001)(110136002)(21490400002)(59896002)(68736007)(512874002)(33656002)(4001350100001)(97736004)(2476003)(19580405001)(189998001)(86362001)(564344004)(3846002)(19580395003)(4326007)(66066001)(65956001)(65806001)(64126003)(229853001)(101416001)(5000100001)(2501003)(5890100001)(92566002)(77096005)(105586002)(81166006)(8676002)(568964002)(81156014)(6116002)(80316001)(42186005)(87266999)(65816999)(270700001)(2351001)(50986999)(106356001)(54356999)(5660300001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0802MB2159; H:[10.2.206.73]; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR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iZmPDGMYjE8batbwV+2v1tHkuyBJfrgJQ==; 5:A2OVhBdo/boR2PTZsJ/QiYYHcJhk1IJ+RU+1ZXjiFKAuBCFcGsE6bPXyCfnrlRek4I7lIKypaok/4Ih17rvXLHrIE25Apz0bobkJZ3zndzlVde5bB7rLPpa15ImxDEgSkO/8xeggAtt6VdCwyUaAbw==; 24:iLTn/OZeFhQcLDRN6pRJPTwdPR6r8d20NRVV56hO4qjpozxkO3CObhMduazgCQuwlk+1uaKhqWOAQTJsIu9GtGNjWpVY51M3yok37KRRuPE=; 7:dPaCsIir9SWdpEd89QGghTfBamH1eK3K5ktFiE+OmYk2qrfDUIBWww68ipE8rFByHOMkd1J5lJRrI4BD14ZyA1XKi8GEmili9MltndDX8IKczh+UGj/ptgEBCodpjamUcsjlbKCS20sU/Ivy3xx3QolosHdxH+ZNzwig1ZC4j1irId3gRtXCRuBjeKFUWONW9dg14Z+29uYhy+FchY09Idy6sm/uxRq9GTLFkpwsmNCiv7g1ycVQWhdyqlTEqtnz SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR0802MB2159; 20:/wbemSCGzsxSBxw+uonSK5GN5Yc75P06GetDiEUUUk+YkGy5SzGRpx2RBSHKWAM7QjbwnaUTRCsly/xBvnzWvdPM7wio3g81rT1iNJEjGYQK4wn4m36+xcAB/rdjvpDFezV4gPVUtHCXCMBzWRxRZQuQ1Vg+6IRFxPd4N6vEi0Y= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Aug 2016 19:15:04.2526 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0802MB2159 X-MC-Unique: VJEg8b3QODWmlD2Oqr6Ncw-1 Content-Type: multipart/mixed; boundary="------------040605040602030806090500" X-IsSubscribed: yes |
Szabolcs Nagy <szabolcs.nagy@arm.com> writes: > gcc should use libc headers, not kernel headers. > > libgcc/ > 2016-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com> > > * config/mips/linux-unwind.h: Use sys/syscall.h. OK. Thanks for the fix. Matthew
diff --git a/libgcc/config/mips/linux-unwind.h b/libgcc/config/mips/linux-unwind.h index bf12de5..4035c121 100644 --- a/libgcc/config/mips/linux-unwind.h +++ b/libgcc/config/mips/linux-unwind.h @@ -27,7 +27,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see state data appropriately. See unwind-dw2.c for the structs. */ #include <signal.h> -#include <asm/unistd.h> +#include <sys/syscall.h> /* The third parameter to the signal handler points to something with * this structure defined in asm/ucontext.h, but the name clashes with