From: Helge Deller <deller@gmx.de>
To: Masahiro Yamada <masahiroy@kernel.org>, linux-parisc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
"James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
Subject: Re: [PATCH] parisc: add vdso linker script to 'targets' instead of extra-y
Date: Sat, 18 Jan 2025 22:31:34 +0100 [thread overview]
Message-ID: <fc71c8f8-dd4f-4b84-94a8-cecb16ba5352@gmx.de> (raw)
In-Reply-To: <20241221061631.328327-1-masahiroy@kernel.org>
On 12/21/24 07:16, Masahiro Yamada wrote:
> The vdso linker script is preprocessed on demand.
> Adding it to 'targets' is enough to include the .cmd file.
>
> This commit applies the previous change to parisc, which added the
> vdso support after commit 887af6d7c99e ("arch: vdso: add vdso linker
> script to 'targets' instead of extra-y").
>
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Helge Deller <deller@gmx.de>
I've applied this patch to the parisc git tree.
Let me know if you take it yourself...
Helge
> ---
>
> arch/parisc/kernel/vdso32/Makefile | 2 +-
> arch/parisc/kernel/vdso64/Makefile | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/parisc/kernel/vdso32/Makefile b/arch/parisc/kernel/vdso32/Makefile
> index 2b36d25ada6e..288f8b85978f 100644
> --- a/arch/parisc/kernel/vdso32/Makefile
> +++ b/arch/parisc/kernel/vdso32/Makefile
> @@ -33,7 +33,7 @@ KBUILD_CFLAGS += -DBUILD_VDSO -DDISABLE_BRANCH_PROFILING
> VDSO_LIBGCC := $(shell $(CROSS32CC) -print-libgcc-file-name)
>
> obj-y += vdso32_wrapper.o
> -extra-y += vdso32.lds
> +targets += vdso32.lds
> CPPFLAGS_vdso32.lds += -P -C # -U$(ARCH)
>
> $(obj)/vdso32_wrapper.o : $(obj)/vdso32.so FORCE
> diff --git a/arch/parisc/kernel/vdso64/Makefile b/arch/parisc/kernel/vdso64/Makefile
> index bd87bd6a6659..bc5d9553f311 100644
> --- a/arch/parisc/kernel/vdso64/Makefile
> +++ b/arch/parisc/kernel/vdso64/Makefile
> @@ -32,7 +32,7 @@ KBUILD_CFLAGS += -DBUILD_VDSO -DDISABLE_BRANCH_PROFILING
> VDSO_LIBGCC := $(shell $(CC) -print-libgcc-file-name)
>
> obj-y += vdso64_wrapper.o
> -extra-y += vdso64.lds
> +targets += vdso64.lds
> CPPFLAGS_vdso64.lds += -P -C -U$(ARCH)
>
> $(obj)/vdso64_wrapper.o : $(obj)/vdso64.so FORCE
prev parent reply other threads:[~2025-01-18 21:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-21 6:16 [PATCH] parisc: add vdso linker script to 'targets' instead of extra-y Masahiro Yamada
2025-01-18 21:31 ` Helge Deller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fc71c8f8-dd4f-4b84-94a8-cecb16ba5352@gmx.de \
--to=deller@gmx.de \
--cc=James.Bottomley@HansenPartnership.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-parisc@vger.kernel.org \
--cc=masahiroy@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox