lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAAhV-H4XCK_OHhFqZRJVTrQx-n3Q0feoieEnWgwGah33SYm3Aw@mail.gmail.com>
Date: Fri, 1 Aug 2025 16:31:16 +0800
From: Huacai Chen <chenhuacai@...nel.org>
To: Wentao Guan <guanwentao@...ontech.com>
Cc: siyanteng@...oftware.com.cn, xry111@...111.site, 
	linux-kernel@...r.kernel.org, loongarch@...ts.linux.dev, 
	wangyuli@...ontech.com, zhanjun@...ontech.com
Subject: Re: [PATCH v2] LoongArch: vDSO: remove -nostdlib complier flag

Applied, thanks.

Huacai

On Wed, Jul 30, 2025 at 4:35 PM Wentao Guan <guanwentao@...ontech.com> wrote:
>
> Since $(LD) is directly used, hence -nostdlib is unneeded,
> MIPS has removed this, we should remove it too.
> bdbf2038fbf4 ("MIPS: VDSO: remove -nostdlib compiler flag").
>
> In fact, other architectures also use $(LD).
> fe00e50b2db8 ("ARM: 8858/1: vdso: use $(LD) instead of $(CC) to link VDSO")
> 691efbedc60d ("arm64: vdso: use $(LD) instead of $(CC) to link VDSO")
> 2ff906994b6c ("MIPS: VDSO: Use $(LD) instead of $(CC) to link VDSO")
> 2b2a25845d53 ("s390/vdso: Use $(LD) instead of $(CC) to link vDSO")
>
> Reviewed-by: Yanteng Si <siyanteng@...oftware.com.cn>
> Signed-off-by: Wentao Guan <guanwentao@...ontech.com>
>
> ------
> Changes in v2:
>         - apply commit msg edit suggestion by Yanteng Si
> ------
> ---
>  arch/loongarch/vdso/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/loongarch/vdso/Makefile b/arch/loongarch/vdso/Makefile
> index ccd2c5e135c6..d8316f993482 100644
> --- a/arch/loongarch/vdso/Makefile
> +++ b/arch/loongarch/vdso/Makefile
> @@ -36,7 +36,7 @@ endif
>
>  # VDSO linker flags.
>  ldflags-y := -Bsymbolic --no-undefined -soname=linux-vdso.so.1 \
> -       $(filter -E%,$(KBUILD_CFLAGS)) -nostdlib -shared --build-id -T
> +       $(filter -E%,$(KBUILD_CFLAGS)) -shared --build-id -T
>
>  #
>  # Shared build commands.
> --
> 2.20.1
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ