Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp878880ybt; Wed, 24 Jun 2020 13:36:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWvPXfVIxtdmknTJHd89IqDXhnaLQx2nXuS8iok9is6wUWbGFDaTZkTbEhbMhOZKaepZ10 X-Received: by 2002:aa7:db57:: with SMTP id n23mr8022177edt.235.1593031003211; Wed, 24 Jun 2020 13:36:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593031003; cv=none; d=google.com; s=arc-20160816; b=hqYuKpDkFySg5D6LC8kocwAawVVlx40pb+J/+WRFfspHhENU10e5a5UUb5lm5GPHJY YKOS6LW817rK9xn4VkX+A5gbcPhOEMUYRIV6h6C8ipvLN/4algcM7iWMoXmuqELCQBH5 BJYawmnhyvG+kWrUyKKjXtxiNPtAcz8w8TNS/57B4Kv6KTY5JIXJSYCt0+QBUetRpidz rzkDRfqIMRPqZGr28aYtInunbCGsP/AjwK5CBtTjgpvEXfVtkp+ix51Cw3vUgCJb1gS5 X2GjMGMeOsk5twLEHO+3M3HZUefDnPbkiwReQ8pNzSWIU5WWBBZTA5qW36MihTtg1xEi h0JA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:references :mime-version:message-id:in-reply-to:date:dkim-signature; bh=vVvCAj3rXahkiTyB3fdf4JdbPFhKMTMNyBg/koJzOHM=; b=S81ErlVMQmCBKGklRo4+FkzOSB830E3lr2s+2hynPCyQ7ljUXaBvBNtxhvT0HgdoIU L9W2PLRv11oa+mPhsDFqAGWvcdDWd/gAM4WCgOhZLELxj7bzdfnHm3dWYdChMxRwJTHT VBpO5AoKNItsqCAbrCQI3E+/I+KLTJGRtpfA20xahFZJryCoc+KkDkfzfJpg/nbMsUZ0 yIH18pvmlVAc7pYGcRZw/+OdCnmb3HhBaeKSub9X3q/InZa3IHAaLIhM8RQP/oLOUh7O GZRpP8nJ6VAGyYE+jbL3nJLex+863CjEbLomLL8G2DySLPqZ0qSqj4pq2GN4IG2up0An vBEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=A1OVxmoh; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dm7si8030111edb.43.2020.06.24.13.36.19; Wed, 24 Jun 2020 13:36:43 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=A1OVxmoh; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2406607AbgFXUdu (ORCPT + 99 others); Wed, 24 Jun 2020 16:33:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50682 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2406608AbgFXUdi (ORCPT ); Wed, 24 Jun 2020 16:33:38 -0400 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 130E5C061798 for ; Wed, 24 Jun 2020 13:33:37 -0700 (PDT) Received: by mail-yb1-xb49.google.com with SMTP id j3so3539847yba.14 for ; Wed, 24 Jun 2020 13:33:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=vVvCAj3rXahkiTyB3fdf4JdbPFhKMTMNyBg/koJzOHM=; b=A1OVxmohREiIQE9uWobns3DZjU2BjnF5/uRv4vfcaF2sodOxkh4sxle+6JGl3ADtOZ 3fmTbkzX8W7ahG1bTGpXMMU9CdKC8UZUye2VucpEx7325i3QESTUcI83ndSOc6E8Kmzu N5PlhLkCWO4j4sIvQEk9eacQtD+bX2UY3Y5a4I1dsdat2Jm3e0YTj4ppvoCyl2YlPdbY ZyEZAXO2uSqBN9R05BjPoqjam4RsnD1PfD+i8NAuT2L+OMarD3RxLispCXwkir37c5B5 L+Lu+ZWTjo7NmJwPgVCLx0NgAf7Qq1Qws+DG9FZOXnsn8vOlmmibTipSbU4GNNmhC8bb 0u7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=vVvCAj3rXahkiTyB3fdf4JdbPFhKMTMNyBg/koJzOHM=; b=mV5NhelQlSDKLBaF/Ncy0o3g0+MGdfrEG8AX/tW/1TEUXDK3B3KWl6rVrjQSQSlLcn YNi0cW0o1vGi4ATCd2srbCf3ah1iEXjPKbojXzw0tQ2TYW+DkyaGWuE9FRb8W+E79Miu 2EJjA1djWBsAzaimmiJ41b8WDoxPHRWLoBAzoVmxwnpOuRZgkij3ioktNa3TG607yENv Zi5B2edJyUXwWa5m+LkId3JveqPW/5taIK3lDxdV1kIhxjNzjSNK2yvJwbOeWyVGb4Sg iFRAEWm7Mw7MWJJMbYRuQI6ON4D59pSnBuqFkfm0AWg+PjI8kWWISwivlKP0smkqUcRv 2ZAg== X-Gm-Message-State: AOAM531iuZmbbT/9XvfGH3p14EiIx18tOSP7rSksBK+Tf9Xxxs1ZpNhu HsyoKM7VfCrW/N/6qmUf9dEx95rR63uyiwatbDc= X-Received: by 2002:a25:7450:: with SMTP id p77mr23380392ybc.155.1593030816256; Wed, 24 Jun 2020 13:33:36 -0700 (PDT) Date: Wed, 24 Jun 2020 13:31:59 -0700 In-Reply-To: <20200624203200.78870-1-samitolvanen@google.com> Message-Id: <20200624203200.78870-22-samitolvanen@google.com> Mime-Version: 1.0 References: <20200624203200.78870-1-samitolvanen@google.com> X-Mailer: git-send-email 2.27.0.212.ge8ba1cc988-goog Subject: [PATCH 21/22] x86, relocs: Ignore L4_PAGE_OFFSET relocations From: Sami Tolvanen To: Masahiro Yamada , Will Deacon Cc: Greg Kroah-Hartman , "Paul E. McKenney" , Kees Cook , Nick Desaulniers , clang-built-linux@googlegroups.com, kernel-hardening@lists.openwall.com, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, x86@kernel.org, Sami Tolvanen 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 L4_PAGE_OFFSET is a constant value, so don't warn about absolute relocations. Signed-off-by: Sami Tolvanen --- arch/x86/tools/relocs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/tools/relocs.c b/arch/x86/tools/relocs.c index ce7188cbdae5..8f3bf34840ce 100644 --- a/arch/x86/tools/relocs.c +++ b/arch/x86/tools/relocs.c @@ -47,6 +47,7 @@ static const char * const sym_regex_kernel[S_NSYMTYPES] = { [S_ABS] = "^(xen_irq_disable_direct_reloc$|" "xen_save_fl_direct_reloc$|" + "L4_PAGE_OFFSET|" "VDSO|" "__crc_)", -- 2.27.0.212.ge8ba1cc988-goog