Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1236338ybl; Fri, 30 Aug 2019 14:17:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqxcQrsdwM3GJ69NYyaxsXaor7z2ohXwj/fHByR1euFVU5jVag2q3DQE+oKTGoZ3GfO/jfvz X-Received: by 2002:a63:6947:: with SMTP id e68mr14690599pgc.60.1567199863666; Fri, 30 Aug 2019 14:17:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567199863; cv=none; d=google.com; s=arc-20160816; b=O7BWgsp5g2EkG+AnY49L4gWt/OaObq79DPZJ5uHE1ttWm2OlkbAU7DCIneWKqVadya JXnoOvvrZ3+wfFIlX/fdW9lfbJseMetFTbAvNuZm6B/TMLhGZtDCVtVn7KKwghD6eGza WvlAD4JdSSqBXeujsVD4x7y3NxlHo7TlL10IcsZAAaLb8okkz4eZTJsSN/C8DpNv3XxP V9wemIOcEVDDl8XsJIWr/3ONBqeuYd//vU0OlWe3zJAqFHzd84uq1tJPlh8hwnwPRJXl SeRbgB2sYBXYdJYP9s1yD7v7weaAEnjccNlEaFrUvl6VQy4d3YsIH7hjad36PQaZsal5 gJUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=7xmwWYOATsL2bKw+HC5S30we7ZKKvQz0E6r6R/UPw60=; b=XHmYYYKhTCzmIgSMc7wrFetWnN7+URKKu+o5G/vP8yArn6csTP9SdKRsjfCSs3jTnv dfOOXMUk+EB7svR6WhsTZNcrMpQQexX6cr1FzoKGYigiuJaU96si4nmOWedVign32nUT n6myrdSgkHugSFs7Ok9bLlncsxZyDlP+Y2MAomy0TRMlAEKmP1ejUMckRwWpxYE7xIQv SJZNUtRsXWVMd4p7d64iZqF5q+U7ewwr/5pHGhAX0aYbZ0wpmw0BzrOJK44cE9IqMDcK rS2E4CzybAk4iiJ4+SRqmL0STLcKTSMfUK0RXPOV9sR6KZ7QPZYVhxgxI0H3yplplQSE L5Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=GmxIp6vz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f61si5538756plf.258.2019.08.30.14.17.28; Fri, 30 Aug 2019 14:17:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=GmxIp6vz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728279AbfH3VQJ (ORCPT + 99 others); Fri, 30 Aug 2019 17:16:09 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:33411 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728240AbfH3VQI (ORCPT ); Fri, 30 Aug 2019 17:16:08 -0400 Received: by mail-pf1-f193.google.com with SMTP id q10so347436pfl.0 for ; Fri, 30 Aug 2019 14:16:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7xmwWYOATsL2bKw+HC5S30we7ZKKvQz0E6r6R/UPw60=; b=GmxIp6vzjWBB7ErAyBkwTn2kplIDtoG9r9JTOFes4vqRAnKhmUkVlHg/FjUWMbYb2V Qf0OXkUFs52MXV09CB3vcRFeTYtOchpaDir2oLoeHqf6+WhkfXeJfVo41hL9b0mtjw6y hPP5662QMqpUs4xKprg5LPNYF79GlfJsUUGK5jibiJNXJQT7fw9jcSmO2uqDJDqUm41N sZwo9prFBeKSX9cPYLwHSf6/xE7KJCIjgOL9fmZExkzowCInTViFz923V2LvQoI5q21x xphfkxsggmRN6z0EpRqHvz6+dGVKxB+1lBCRyiLe6OCdUybXPAxj2T721pjHIC6CXfwx Hqxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7xmwWYOATsL2bKw+HC5S30we7ZKKvQz0E6r6R/UPw60=; b=sW8NrV2Cx2tfBO3B9Y7gnNZH9mYF+AIHowooZCbHJ5Jnx1H6JWTHvh+ky/mmZhWwrn ADDqp8gvgEe9yGKtPhtixj8RVSQ+fDF90Y/j0BCgknLq6Lnrre5Pk4rlvp6VCbN8ljF3 PZb955I0CBzaSXAN/JIlsY1ojeX88bfANGuYDETB6hmjJ0kAgOC/CJF+xNGVG+x0K45U moMQn50/aDzFO+LV830eObyta0yAiogQz/olh5MHFQCm9fHRs4EnSWq02g/8FAAnh/i4 yBWHl2pFtydCxkTsEWNWf/23Fl+pIo5FtZmSukEU0aWqNSaAU5tV7fKXVHrM2osp2rsq EcTA== X-Gm-Message-State: APjAAAXMRGp7PxaydqSDfawGddZWVXlFfdy1BX7LL8m6nzXtOxhb/w1y SmBmDshZzwfH9BSxLQsXozCswjzS9hwIDpnZ0HDjaw== X-Received: by 2002:a65:690b:: with SMTP id s11mr12545004pgq.10.1567199767599; Fri, 30 Aug 2019 14:16:07 -0700 (PDT) MIME-Version: 1.0 References: <20190829062635.45609-1-natechancellor@gmail.com> <20190829193432.GA10138@archlinux-threadripper> <885bb20c11f0cb004e5eeda7b0ca6d16@agner.ch> <20190830172824.GA119107@archlinux-threadripper> In-Reply-To: From: Nick Desaulniers Date: Fri, 30 Aug 2019 14:15:56 -0700 Message-ID: Subject: Re: [PATCH] ARM: Emit __gnu_mcount_nc when using Clang 10.0.0 or newer To: Nathan Chancellor Cc: Stefan Agner , Russell King , Arnd Bergmann , Matthias Kaehlcke , Linux ARM , LKML , clang-built-linux Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 30, 2019 at 2:13 PM Nick Desaulniers wrote: > > On Fri, Aug 30, 2019 at 10:28 AM Nathan Chancellor > wrote: > > diff --git a/arch/arm/Makefile b/arch/arm/Makefile > > index a43fc753aa53..23c2bf0fbd30 100644 > > --- a/arch/arm/Makefile > > +++ b/arch/arm/Makefile > > @@ -115,6 +115,10 @@ ifeq ($(CONFIG_ARM_UNWIND),y) > > CFLAGS_ABI +=-funwind-tables > > endif > > > > +ifeq ($(CONFIG_CC_IS_CLANG),y) > > +CFLAGS_ABI +=-meabi gnu Needs a space. `+=-`. -- Thanks, ~Nick Desaulniers