Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1220761imm; Thu, 5 Jul 2018 17:51:10 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeKTvQPFQ5FL0o+hLg4XKWpuLbWycvKeyDhgJX06/1xL/eJFB/2wcGG9rogkavwxxl7OjJY X-Received: by 2002:a17:902:42e4:: with SMTP id h91-v6mr8183987pld.27.1530838270048; Thu, 05 Jul 2018 17:51:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530838270; cv=none; d=google.com; s=arc-20160816; b=F0RrrsU3YnWvQbzs9/UR+LFa5KWMsOt+pZ/WAu+Ea2XeZG7XHiFF4cL3XUwvewIZG6 eCRM/kNjzaQ3iL18zufN4Rl+Cg6z8TS8bgAG1P3yQmyTSM6Nbuq29Y5fmbzNqMFgDpMP udoRjWQvrd9IhMvDAqElVISZ8I01+B2Ir+ceF/X641yae0AWJn0m/ggzmRGPcrA3ZJiN K+zNFYnNOthsKu3IgQC7N/x5ynsqgpLyiEqeKbeUQzbcfBuHP9XXgZBby72D1j4YIiBC S6RWhfXoL4GJcoEAdIO0NhQQmbvbd6xzGemkGI8VKJdOzEQ0AzZa537I0oiY1VYMWTyQ QS7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=jF9vhHMbhCIoy849wuH0XzT7nyqYG2N3OmiLDtOcUco=; b=UFSOLTViChuQ/1QTuiakgQX4NReHdDdUdUNpaKNrgHjnD9drKJ9LPlmzE8i4F+cNJc vYCwfZCH2++pJVo6GC7FrmzU+9upgxk0uwGjDmiwxbDJm2rRzQhFRESpqPU2Zf4COFP4 /OYCuTT/b1hAyOt83lUpgR4G0OFAiO+09xx172oviXy4p+SvpBCuuc9NvD0uJSetsi80 rUadU/PM2Io47zdocNSVjuoZAtRhsykXEs8+btmdYWXlOq/cd8OXlGBr+OkD4uu64RnN Jayl4QRoa/8K196rF3AqYFjPdte6mQAoz+RF0qgwErFokLxwE4Hk7toxI0+BuI/Oedl8 5auA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a7-v6si6941068plz.510.2018.07.05.17.50.56; Thu, 05 Jul 2018 17:51:10 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753820AbeGFAuA (ORCPT + 99 others); Thu, 5 Jul 2018 20:50:00 -0400 Received: from mail-qk0-f196.google.com ([209.85.220.196]:35754 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753780AbeGFAt4 (ORCPT ); Thu, 5 Jul 2018 20:49:56 -0400 Received: by mail-qk0-f196.google.com with SMTP id u21-v6so5503834qku.2 for ; Thu, 05 Jul 2018 17:49:56 -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; bh=jF9vhHMbhCIoy849wuH0XzT7nyqYG2N3OmiLDtOcUco=; b=fql0Cw/knAhO6Eu6rULqXQ1H8pZvWrYNS5B6u5MD6BWl8+v1IzKhriJZYH036V25LS ncWYcCP3gD2HXkUC98cd7sYXiCHFqKz0yxavnpqxuOhRdBJ4EFxP7wEEBLH3dzBDIEOJ bIEwM4A27SIQhmKnIjKn1hFQas8xle20d/zSujABSxKKQ5Lo/+miv/6UglcYqwJldMI+ 6Z4ERgscb6CyIUcp0jPhIaWBhvEeAhFF6Zl2Q70lXyxXCAZS+cPlx9ddIHfOBIKhpYdP NwslJRrw75h9QULJFEleqytUuJvuySkNWxyIA6NeOwPqrMZaC6MOlLOsAWeAUZO4vR7M vCvg== X-Gm-Message-State: APt69E0hJK6f+KHut+dsTVCd28CftEM8m81jtcP+RDHPYmWh7uzPOAVv dKUT8I4OTGZJ3oVAbKZ8EXTYPw== X-Received: by 2002:a37:d61b:: with SMTP id t27-v6mr6770286qki.244.1530838196243; Thu, 05 Jul 2018 17:49:56 -0700 (PDT) Received: from labbott-redhat.redhat.com ([2601:602:9802:a8dc::f0c1]) by smtp.gmail.com with ESMTPSA id q67-v6sm4675205qkb.16.2018.07.05.17.49.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Jul 2018 17:49:55 -0700 (PDT) From: Laura Abbott To: mjw@fedoraproject.org, "H . J . Lu" , Masahiro Yamada , Michael Ellerman Cc: Laura Abbott , Andy Lutomirski , Linus Torvalds , X86 ML , linux-kernel@vger.kernel.org, Nick Clifton , Cary Coutant , linux-kbuild@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org Subject: [PATCHv6 3/4] powerpc: Add build salt to the vDSO Date: Thu, 5 Jul 2018 17:49:39 -0700 Message-Id: <20180706004940.32587-4-labbott@redhat.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180706004940.32587-1-labbott@redhat.com> References: <20180706004940.32587-1-labbott@redhat.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The vDSO needs to have a unique build id in a similar manner to the kernel and modules. Use the build salt macro. Signed-off-by: Laura Abbott --- v6: Remove semi-colon --- arch/powerpc/kernel/vdso32/note.S | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/powerpc/kernel/vdso32/note.S b/arch/powerpc/kernel/vdso32/note.S index d4b5be4f3d5f..227a7327399e 100644 --- a/arch/powerpc/kernel/vdso32/note.S +++ b/arch/powerpc/kernel/vdso32/note.S @@ -5,6 +5,7 @@ #include #include +#include #define ASM_ELF_NOTE_BEGIN(name, flags, vendor, type) \ .section name, flags; \ @@ -23,3 +24,5 @@ ASM_ELF_NOTE_BEGIN(".note.kernel-version", "a", UTS_SYSNAME, 0) .long LINUX_VERSION_CODE ASM_ELF_NOTE_END + +BUILD_SALT -- 2.17.1