Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp232958pxx; Mon, 26 Oct 2020 07:25:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx3OfUds0SwEB0qFPPIpSvxYbI0BYDIiApF4UVIvWERFxfgaIEw0Mp0GyxGjaj7Hs6iIOxc X-Received: by 2002:a17:906:3c44:: with SMTP id i4mr16473361ejg.177.1603722347924; Mon, 26 Oct 2020 07:25:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603722347; cv=none; d=google.com; s=arc-20160816; b=aPFQ8b2FCRsEwf3Jug4GJ/rhskIGmYo4BlpopE+D7cm+dh+ThPmcd4ovYP19CBr5/f x5umK+duRg9WUkM7We2qTmNeXlvUfMAb4PgB9MEPsd/NK+pgDQM0N7mJ5mJjlOrF3LDf hZyXwpJ1aWBF/BQHYzTWY+ZLemQOri7Fsck3klLS4oNXKnwVp8/KCtjXZ7yat09rCoLr urGkq87MKN9ChQ8Ak0zV9RABpFl3DCbY3QQhTHL4HIP1hFh6knzNTId0oy5ai0IRhvHV q2q4SxXT7ZJ1TE1wcrpQMBUcgdocpOUcfUJ24ibJO8UeeK54635VwBQkgN0AuJ3edPgz B/sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=OYMdzXMOsJqg4LVkTAyvK70p4hYTq8GUBUhzhBNSEnA=; b=UHPo8Envqx94qAcZoLikn5DbSTp1jT5aDGcGgC3063UQ3UBxt1nzTH7GFcbSZILQi3 pdIZLY70CcKwx0H3Isy/VNJe1wRsLhEqeeWPK2Jt9wRnve3wD2YKnaUTQvQ76C5NP7hS plU1vxxSH8yKlb+iSPbcqnDU2eFtXAHLw5wv8QzdiRHgQyOhLU+aDfxQZM7MtpA0LuME 0G92hXbuExIzdTz7WY6Nf9BBfEypd6xQ5dMylEMIhucXzK1LhOOj8gxe/55FtUkejJ2s GcmwKu7+zRM3w+Oxs8HVDFgHtVH1B1yClzkfFOkr8Ka5Mb+kfWHftuecsI203cIsOfWY nwkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rkehNneu; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a3si3596593ejd.407.2020.10.26.07.25.24; Mon, 26 Oct 2020 07:25:47 -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=@kernel.org header.s=default header.b=rkehNneu; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1780794AbgJZOWN (ORCPT + 99 others); Mon, 26 Oct 2020 10:22:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:57086 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1780771AbgJZOWM (ORCPT ); Mon, 26 Oct 2020 10:22:12 -0400 Received: from localhost.localdomain (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4E21E2463C; Mon, 26 Oct 2020 14:22:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603722132; bh=XTmFVFF/1IJi9VNxcHobU88J4tjKGnqEEgh81n1ulls=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rkehNneu2VWuTn3SP+g4mMx9+x39HUQdz+P4gHs9WQxXPkfnWSOKsemQR+xX0+2iz povzBvbkvJcm23LurShpuMX//MKOsWjOtBlYlmYaOk3Q4B4WxrPJFVBZ6xJ/7n9Ooa YhyOCXddGyHZfGgOA/ZWk6oqwQP0n6hknnIXWrrU= From: Will Deacon To: Catalin Marinas , Masahiro Yamada , Nathan Chancellor Cc: kernel-team@android.com, Will Deacon , Vincenzo Frascino , clang-built-linux@googlegroups.com, linux-arm-kernel@lists.infradead.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Nick Desaulniers Subject: Re: [PATCH v2] arm64: vdso32: Allow ld.lld to properly link the VDSO Date: Mon, 26 Oct 2020 14:22:06 +0000 Message-Id: <160371826139.658538.6694250403210867062.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201020011406.1818918-1-natechancellor@gmail.com> References: <20201013033947.2257501-1-natechancellor@gmail.com> <20201020011406.1818918-1-natechancellor@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 19 Oct 2020 18:14:07 -0700, Nathan Chancellor wrote: > As it stands now, the vdso32 Makefile hardcodes the linker to ld.bfd > using -fuse-ld=bfd with $(CC). This was taken from the arm vDSO > Makefile, as the comment notes, done in commit d2b30cd4b722 ("ARM: > 8384/1: VDSO: force use of BFD linker"). > > Commit fe00e50b2db8 ("ARM: 8858/1: vdso: use $(LD) instead of $(CC) to > link VDSO") changed that Makefile to use $(LD) directly instead of > through $(CC), which matches how the rest of the kernel operates. Since > then, LD=ld.lld means that the arm vDSO will be linked with ld.lld, > which has shown no problems so far. > > [...] Applied to arm64 (for-next/fixes), thanks! [1/1] arm64: vdso32: Allow ld.lld to properly link the VDSO https://git.kernel.org/arm64/c/0fa97e9403c7 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev