Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp541285ybt; Wed, 24 Jun 2020 05:35:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4Zf09ipV17vqiSxaAOvxCts+4R1Zed/H2dDouZgPZ+uhxA5ysG8sQqCcklsyk5YZrYAar X-Received: by 2002:aa7:c908:: with SMTP id b8mr26898902edt.76.1593002122396; Wed, 24 Jun 2020 05:35:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593002122; cv=none; d=google.com; s=arc-20160816; b=WsEonMXrM960SuhRZzvt5z9D7WegSba9NG1HfwF+8lX57qNyDiRoKTBOSH7OfPSRJW ensS1pzPkzfne/glbJ7jwM2AoLcJxbrKlZfcqXytUjzNxYE3TNGpqOJZbKB2h1pqVkQ7 6YuvL1yd3O4gyRRHanKHX33jxLVCgifVROy8Cn+e2ZT2Gj0jzU2ePnX31JZbIWuoVDEV LVCqRxXlYR6rNV8fcEX3RIqHuG9pQKo0QdI84UBWgnsSbR6QZnV1GB6vpVhGUTFevDex b8EVD8Zo+KvlHDiinBN/Fqh5U1vEYLcUGAJRdllnCC3x1upmqn+ZFotDoLM4A4VpQEwL 1FHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=NYlBDYPOP+i+Z8CCPoWHLzBw8cVCy1kOHLCJDYgloi0=; b=hLYbSt/3ifMv2ojKGtr7j2waY0FRQ8kkuzKrrMPTSpzW/FAYE13cc9Jbtmt2ISGUr8 z2OWBs170I8/DUQsQdX+tBGE7Hne+xTXh2VIzzhXzLx/KZPYt7s5daZF/W9ndIEmaZI3 0NToSAqsnMDfbAm+JetnQaGq+8nsUL6bUQU2KYTrXQ7PZfAsAiaFQV7x8132izqLK3g6 hGJHbF1tp4N94WRUaeIzabh/bgGqhv4dCBwBAZCts7umuG4nVYCUDYgXiaqiwLKqtC2Q xZ2WAwU9tDWrVt79z6Kf2luv0qies0YKcCu/FgbyVywjry3q/ZYzravlMbtbCOwnKyjm ojpg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e26si14639502edy.327.2020.06.24.05.34.59; Wed, 24 Jun 2020 05:35:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390586AbgFXMeW (ORCPT + 99 others); Wed, 24 Jun 2020 08:34:22 -0400 Received: from mail-qk1-f194.google.com ([209.85.222.194]:40131 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388132AbgFXMeR (ORCPT ); Wed, 24 Jun 2020 08:34:17 -0400 Received: by mail-qk1-f194.google.com with SMTP id 80so1582630qko.7; Wed, 24 Jun 2020 05:34:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NYlBDYPOP+i+Z8CCPoWHLzBw8cVCy1kOHLCJDYgloi0=; b=Um2pPq53cIsmU/SMf9olAn7Fy0Eqf6MlbuYQHWe/zlTbYewfd0U32b9DdyNjbPb5zO DiX+KMpkBcF+g7BT7gQINg8vSjFz/TeXKWu6kAzkAJZECq1/uv7Irp6IZV0/0y83R5wX s5uK54zgb1qckBPQ+9eqyfMW8Jc/CapAd7++LO7IV3AWpoRpxprCtxagLoiig9gqJnBr VSP3MlVMfDCQfJioZahkFHYdLh1LxCzZWNyCmNMS5odYaXwXt2TKwKurErJeguMhpZmH NMVIsuNS3xomQi7ZiOyDbNc98jj8x/P7tKHXRRhScX9wLGDrpiNQ9GSymlNffNd8dHff 8A8g== X-Gm-Message-State: AOAM5329oQz76FQw0bjLfHvJRUvQPnSI/j2RGtW9t5fgwoh6aUX7smIw QfSOsSdYbcV7jbZ61GqtRR8= X-Received: by 2002:a37:a785:: with SMTP id q127mr10507259qke.452.1593002055490; Wed, 24 Jun 2020 05:34:15 -0700 (PDT) Received: from localhost.localdomain ([185.248.161.177]) by smtp.gmail.com with ESMTPSA id x26sm3354512qtr.4.2020.06.24.05.34.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2020 05:34:14 -0700 (PDT) From: Alexander Popov To: Kees Cook , Jann Horn , Emese Revfy , Miguel Ojeda , Masahiro Yamada , Michal Marek , Andrew Morton , Masahiro Yamada , Thiago Jung Bauermann , Luis Chamberlain , Jessica Yu , Sven Schnelle , Iurii Zaikin , Catalin Marinas , Will Deacon , Vincenzo Frascino , Thomas Gleixner , Peter Collingbourne , Naohiro Aota , Alexander Monakov , Mathias Krause , PaX Team , Brad Spengler , Laura Abbott , Florian Weimer , Alexander Popov , kernel-hardening@lists.openwall.com, linux-kbuild@vger.kernel.org, x86@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, gcc@gcc.gnu.org Cc: notify@kernel.org Subject: [PATCH v2 2/5] ARM: vdso: Don't use gcc plugins for building vgettimeofday.c Date: Wed, 24 Jun 2020 15:33:27 +0300 Message-Id: <20200624123330.83226-3-alex.popov@linux.com> X-Mailer: git-send-email 2.25.4 In-Reply-To: <20200624123330.83226-1-alex.popov@linux.com> References: <20200624123330.83226-1-alex.popov@linux.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Don't use gcc plugins for building arch/arm/vdso/vgettimeofday.c to avoid unneeded instrumentation. Signed-off-by: Alexander Popov --- arch/arm/vdso/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/vdso/Makefile b/arch/arm/vdso/Makefile index d3c9f03e7e79..a54f70731d9f 100644 --- a/arch/arm/vdso/Makefile +++ b/arch/arm/vdso/Makefile @@ -29,7 +29,7 @@ CPPFLAGS_vdso.lds += -P -C -U$(ARCH) CFLAGS_REMOVE_vdso.o = -pg # Force -O2 to avoid libgcc dependencies -CFLAGS_REMOVE_vgettimeofday.o = -pg -Os +CFLAGS_REMOVE_vgettimeofday.o = -pg -Os $(GCC_PLUGINS_CFLAGS) ifeq ($(c-gettimeofday-y),) CFLAGS_vgettimeofday.o = -O2 else -- 2.25.4