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

Greg Kroah-Hartman gregkh at linuxfoundation.org
Fri Jun 25 03:16:25 PDT 2021


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



More information about the linux-arm-kernel mailing list