From patchwork Tue Jan 16 19:30:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yaakov Selkowitz X-Patchwork-Id: 124764 Delivered-To: patch@linaro.org Received: by 10.46.64.148 with SMTP id r20csp1123888lje; Tue, 16 Jan 2018 11:31:19 -0800 (PST) X-Google-Smtp-Source: ACJfBovdwQSz0WlpueBqMJX2gyzcmRwQVtLRUFhYwCFn+yJXu2/NElfjN2IgicGCyK55EEY0wSmg X-Received: by 10.84.224.135 with SMTP id s7mr11087174plj.6.1516131079517; Tue, 16 Jan 2018 11:31:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516131079; cv=none; d=google.com; s=arc-20160816; b=bS+IvRY611FYXnp7P5pAZrYD0h+B45D1xQoIfqCpa92GXp14nhZlgg5mK/K9rhAkUJ +vkQXlINxD7+MtM3szSJBWSw3wWHfEraGwBYktHq3fXqZhJgFYxR1sN0lUj5pQTQzntD OR1K/kQxR1e/MHiKgg9uFSLgx2CX1Dju+LjxcUoSuLSPzViTvYq8t6kk99yoEYb/YPAu M7v1CxI81gPg3S/PBc//QVOt/HTAWfNSgtN6km1uwgmsWAn6f/bx+hkIln2NHDJpI4qz Fvkb45X3URLSCnmVqBlbiMc+rMyTwcyw86HVcrc4JNskRGnnbg6CzImjQ+RvrgHzvEqd 7UvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:to:from:delivered-to:sender:list-help :list-post:list-archive:list-subscribe:list-unsubscribe:list-id :precedence:mailing-list:dkim-signature:domainkey-signature :arc-authentication-results; bh=97VL0+gci8cfU//B5Hn+s6ghcBaWJ6PemZe6A5xRiAA=; b=kMHXcvCV4V/UJByeGXpGj33z3p6UFw0meBWfQ2B/F7jOs4FFSqh/Ic2btmvvR8d9EO Dt10byB8dZ6WQ30wlEC+/yRRE1uIvdHnGszOysFZ3Dhop/SatyIHmdyL0Y8SZS5jdK0T 99e+hebdqVSpf5S/zpgx1OlQMShR1RFYwRVceX3JtSdWm0TH8muNvmmw4f08Wi0T3EOm m8MSlURXH3q5qpF6NXvbUV3VzI5DMfZac15jzFMgiRiVygJEjhFS61QRztI2I/a0pCJK IztUiiNYPTThXN0V1LSfesRnuAbVDERp0Ygv1s9Go1REL8cwBOH0ezXQZI92IDTVrvav /YEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=eThBKSq2; spf=pass (google.com: domain of newlib-return-15557-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15557-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id v11si2561381plz.285.2018.01.16.11.31.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Jan 2018 11:31:19 -0800 (PST) Received-SPF: pass (google.com: domain of newlib-return-15557-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=eThBKSq2; spf=pass (google.com: domain of newlib-return-15557-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=newlib-return-15557-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; q=dns; s= default; b=RiLhoHFjZNCDHnH88QS5keip9XdkNKheY6bCduRBCv/ih08Ku9Llq DxK76mgREJS5amDNSlEcaXJX9CIu3JS4p82fZiMi1+cB2ZhH5pPv1FiZjLOxz9YU 0PYsqMiklvlmP7fBH7FB4eEXTk/8AniZw9LEunANVJkduJr+/QMNvg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; s=default; bh=RMM0C2acKqmT1PCvaBDCJqTAezE=; b=eThBKSq2j9zCmQ4jaaxhfZAxv5MF QrU05O0jCMDMJefHhjlxgFod5y1GoOr6H/6D95aGeE10K5mL/6LJpBI/H9iQHj9e 95RRHBUDRALsiZiCTUyGk/Uy4uTLMnMaYTzSrrBAtqTq6Mz7NtAkgsUIuaNicLUu rJBRYeA+ZXA9CZk= Received: (qmail 107338 invoked by alias); 16 Jan 2018 19:31:06 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Delivered-To: mailing list newlib@sourceware.org Received: (qmail 107286 invoked by uid 89); 16 Jan 2018 19:31:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=H*r:sk:newlib@ X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 16 Jan 2018 19:31:04 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B9875883AC for ; Tue, 16 Jan 2018 19:31:03 +0000 (UTC) Received: from localhost.localdomain (ovpn-120-72.rdu2.redhat.com [10.10.120.72]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1065A5C20E for ; Tue, 16 Jan 2018 19:31:02 +0000 (UTC) From: Yaakov Selkowitz To: newlib@sourceware.org Subject: [PATCH] Make __always_inline macro compatible with glibc Date: Tue, 16 Jan 2018 13:30:52 -0600 Message-Id: <20180116193052.11428-1-yselkowi@redhat.com> For example, this is used when cross-compiling the Linux kernel on Cygwin. Signed-off-by: Yaakov Selkowitz --- newlib/libc/include/sys/cdefs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.15.1 diff --git a/newlib/libc/include/sys/cdefs.h b/newlib/libc/include/sys/cdefs.h index db5f2bf2d..fc564a5c6 100644 --- a/newlib/libc/include/sys/cdefs.h +++ b/newlib/libc/include/sys/cdefs.h @@ -385,7 +385,7 @@ #endif #if __GNUC_PREREQ__(3, 1) || (defined(__INTEL_COMPILER) && __INTEL_COMPILER >= 800) -#define __always_inline __attribute__((__always_inline__)) +#define __always_inline __inline__ __attribute__((__always_inline__)) #else #define __always_inline #endif