mbox series

[stable-v5.4,v2,0/2] properly cope with -z norelro

Message ID 20210625154737.3d64a434@xhacker.debian (mailing list archive)
Headers show
Series properly cope with -z norelro | expand

Message

Jisheng Zhang June 25, 2021, 7:47 a.m. UTC
Fix below build warning:
aarch64-linux-gnu-ld: warning: -z norelro ignored

Since v1
  - Backport a preparation patch as pointed out by Nick Desaulniers

Nick Desaulniers (1):
  arm64: link with -z norelro for LLD or aarch64-elf

Sami Tolvanen (1):
  kbuild: add CONFIG_LD_IS_LLD

 arch/arm64/Makefile | 10 +++++++---
 init/Kconfig        |  3 +++
 2 files changed, 10 insertions(+), 3 deletions(-)

Comments

Greg Kroah-Hartman June 25, 2021, 10:16 a.m. UTC | #1
On Fri, Jun 25, 2021 at 03:47:37PM +0800, Jisheng Zhang wrote:
> Fix below build warning:
> aarch64-linux-gnu-ld: warning: -z norelro ignored
> 
> Since v1
>   - Backport a preparation patch as pointed out by Nick Desaulniers
> 
> Nick Desaulniers (1):
>   arm64: link with -z norelro for LLD or aarch64-elf
> 
> Sami Tolvanen (1):
>   kbuild: add CONFIG_LD_IS_LLD
> 
>  arch/arm64/Makefile | 10 +++++++---
>  init/Kconfig        |  3 +++
>  2 files changed, 10 insertions(+), 3 deletions(-)
> 
> -- 
> 2.32.0
> 

Took this series instead, thanks.

greg k-h