summaryrefslogtreecommitdiff
path: root/arch/arm/boot/bootp/Makefile
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2019-01-05 19:35:25 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-11-02 17:38:11 +0100
commit91548920e44ebdde0f7fa323ec6bebffda394e78 (patch)
tree82c2da0ec3766be3ade760b3775ebf9c96b1b8c0 /arch/arm/boot/bootp/Makefile
parentec08eceae9b897e68c381a4cc29f753bb878ecf9 (diff)
ARM: 8819/1: Remove '-p' from LDFLAGS
commit 091bb549f7722723b284f63ac665e2aedcf9dec9 upstream. 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 1a381d4a0a9a ("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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/boot/bootp/Makefile')
-rw-r--r--arch/arm/boot/bootp/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/bootp/Makefile b/arch/arm/boot/bootp/Makefile
index 5761f0039133..9ee49d50842f 100644
--- a/arch/arm/boot/bootp/Makefile
+++ b/arch/arm/boot/bootp/Makefile
@@ -7,7 +7,7 @@
GCOV_PROFILE := n
-LDFLAGS_bootp :=-p --no-undefined -X \
+LDFLAGS_bootp := --no-undefined -X \
--defsym initrd_phys=$(INITRD_PHYS) \
--defsym params_phys=$(PARAMS_PHYS) -T
AFLAGS_initrd.o :=-DINITRD=\"$(INITRD)\"