]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 8819/1: Remove '-p' from LDFLAGS
authorNathan Chancellor <natechancellor@gmail.com>
Sat, 5 Jan 2019 18:35:25 +0000 (19:35 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 1 Feb 2019 21:44:07 +0000 (21:44 +0000)
commit33e72018b0fd2591207a7b88b83c1e1faf789488
tree8d0b584f570c565814fa361ea4bc54d3db577a48
parenta4f41cabc55af64cb23406fae00b1870399c1304
ARM: 8819/1: Remove '-p' from LDFLAGS

This option is not supported by lld:

    ld.lld: error: unknown argument: -p

This has been a no-op in binutils since 2004 (see commit dea514f51da1 in
that tree). Given that the lowest officially supported of binutils for
the kernel is 2.20, which was released in 2009, nobody needs this flag
around so just remove it. Commit 2738ec69a918 ("arm64: remove no-op -p
linker flag") did the same for arm64.

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Nicolas Pitre <nico@linaro.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/Makefile
arch/arm/boot/bootp/Makefile
arch/arm/boot/compressed/Makefile