Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1554416imm; Wed, 23 May 2018 19:12:56 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpglsssXMg8/kpNuXYQkTT3VZ0adkRJadx5PitbftTCJwD/mtvIhhxL1dwnhFUhlH6rlAQb X-Received: by 2002:a63:9812:: with SMTP id q18-v6mr4120917pgd.170.1527127976235; Wed, 23 May 2018 19:12:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527127976; cv=none; d=google.com; s=arc-20160816; b=ve7EpGHDf5Y2m0YNeZUkGcFzfWhXcsH44qtcRoJ1jYoCglelOo+H9k8ehqFmO/q5qi ySAzi4dCFhI/t+ntZi5Qr7RM6MAkrC1wNb+a8ZRaSLQyZYrFxj6e8PFG/9fCY2fhxe2g Ar7dXk3yuAoKdRguO9jOmWqsfljVju5Fm6uDihsaDsUoGvTNnCqm1ntzmY/s5qSUOVub Ztkp2zwdHIsC968BnmwZWkMLh49qllIqm8PfZO833Wtr68kGWgARbc27U9wugci1OufA FpgBKfYfAstvNBIWQMBwm6Zky+4EnPAkufvw9D6fb1MP1lunhthU0yZ7aGXmjCpjaOdr 1MZQ== 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 :references:in-reply-to:mime-version:dkim-signature:dkim-filter :arc-authentication-results; bh=oxDDdlzUrn6lsjGvwAPxRruZzOCy3HERwNYJ0PsmZoc=; b=gunTFwJTHEv4eGl2KnKirsoeajywdjZEB36iRNNKpwAJGqs92HVH/q8gH2ozf0jPci OiqJh2/fhPMi3SDqkW/XKQzkyNyW9nrQbQVk2OZ9KrXh7UvA13/Dr3+euGkD+l2NDopL x2rg+PjndSLyAPpElGkLun0I9szCKI4NuaVO+HsevKvqWCpMf6L1i6baHDumyjReXG+u JJ5LNdW7RrT/Ofj4XDSU1iKlv/JKpakjKGe0NV29qV+TjV1KbVRRbnqXr/m6lYbuuyGg prvpARIzacZQXsrxw932uFxh8O77X0ODkiboH1MWVm7JvthwpI4/pol6VIMcO5A3/T87 dCQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=LsCWU9bU; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g33-v6si20932465plb.297.2018.05.23.19.12.41; Wed, 23 May 2018 19:12:56 -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=@nifty.com header.s=dec2015msa header.b=LsCWU9bU; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935588AbeEXB4o (ORCPT + 99 others); Wed, 23 May 2018 21:56:44 -0400 Received: from conssluserg-03.nifty.com ([210.131.2.82]:27746 "EHLO conssluserg-03.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935372AbeEXB4k (ORCPT ); Wed, 23 May 2018 21:56:40 -0400 Received: from mail-ua0-f177.google.com (mail-ua0-f177.google.com [209.85.217.177]) (authenticated) by conssluserg-03.nifty.com with ESMTP id w4O1uEJ6023159; Thu, 24 May 2018 10:56:14 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com w4O1uEJ6023159 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1527126974; bh=oxDDdlzUrn6lsjGvwAPxRruZzOCy3HERwNYJ0PsmZoc=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=LsCWU9bU/pZVEnGILnwep2p3CpSTgdAuJYrVRfOkyBuY+XzrjqEuXw39Nd2BQPiHl 5CksGw3XW6WhQQNlipRRqT0n7HGKNncYOzZLCKhCq2nKLAM4RInNvQU/DTxnflB1kz f1QRy9HGZl69UyP6eky9asER7YmOCVHUUA7P7RvGBK0/V9AaSs6mKyXA0bk7pQUH9i 6YQRgCs2ANmQ5wRCZI2vSJ8AHjsVeMY+Iarjn1ihkqMiAw6GtBcq+kg8nButPGnHoz vtfEa24vRTJxB9AabDtsvqzFxavEecDBoEXk4wZzrV85zklkv8wO/8KXlNHxEp2BIc ACxg8YM5VqaaQ== X-Nifty-SrcIP: [209.85.217.177] Received: by mail-ua0-f177.google.com with SMTP id f22-v6so34992uam.1; Wed, 23 May 2018 18:56:14 -0700 (PDT) X-Gm-Message-State: ALKqPwdCCDe7SHuTDfy8C4Z6eo43vP2/GbKFA1MCuLWU29gKQhf6YI32 kD+UWl/gPqvtIMPWGSzozBoNpJHiqayoBLyXU1k= X-Received: by 2002:ab0:13c9:: with SMTP id n9-v6mr3614801uae.140.1527126973356; Wed, 23 May 2018 18:56:13 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:55d8:0:0:0:0:0 with HTTP; Wed, 23 May 2018 18:55:33 -0700 (PDT) In-Reply-To: <20180523001939.9431-3-labbott@redhat.com> References: <20180523001939.9431-1-labbott@redhat.com> <20180523001939.9431-3-labbott@redhat.com> From: Masahiro Yamada Date: Thu, 24 May 2018 10:55:33 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCHv3 2/2] x86/vdso: Add build salt to the vDSO To: Laura Abbott Cc: Andy Lutomirski , Mark Wielaard , "H . J . Lu" , Linus Torvalds , X86 ML , Linux Kernel Mailing List , Nick Clifton , Cary Coutant , Linux Kbuild mailing list 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 2018-05-23 9:19 GMT+09:00 Laura Abbott : > > The vDSO is linked separately from the kernel and modules. Ensure it picks > up the comment section, if available. > > Signed-off-by: Laura Abbott > --- > v3: Invoke the generated linker script. The ".." nightmare is pretty > ugly but I didn't see an easier way to pick up the generated file. > That was actually part of my motivation for using an #include since > paths for those are standardized. Maybe, you found a different approach. FWIW, If you use the linker script approach, you could simply use scripts/build-salt.lds instead of $(obj)/../../../../scripts/build-salt.lds -- Best Regards Masahiro Yamada