android_kernel_oneplus_msm8998/arch
Greg Hackmann 69669503eb arm64: remove no-op -p linker flag
(commit 1a381d4a0a9a0f999a13faaba22bf6b3fc80dcb9 upstream)

Linking the ARM64 defconfig kernel with LLVM lld fails with the error:

  ld.lld: error: unknown argument: -p
  Makefile:1015: recipe for target 'vmlinux' failed

Without this flag, the ARM64 defconfig kernel successfully links with
lld and boots on Dragonboard 410c.

After digging through binutils source and changelogs, it turns out that
-p is only relevant to ancient binutils installations targeting 32-bit
ARM.  binutils accepts -p for AArch64 too, but it's always been
undocumented and silently ignored.  A comment in
ld/emultempl/aarch64elf.em explains that it's "Only here for backwards
compatibility".

Since this flag is a no-op on ARM64, we can safely drop it.

Acked-by: Will Deacon <will.deacon@arm.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2018-12-01 09:46:36 +01:00
..
alpha arch/alpha, termios: implement BOTHER, IBSHIFT and termios2 2018-11-21 09:27:42 +01:00
arc ARC: build: Get rid of toolchain check 2018-10-20 09:52:38 +02:00
arm ARM: dts: imx53-qsb: disable 1.2GHz OPP 2018-11-10 07:41:40 -08:00
arm64 arm64: remove no-op -p linker flag 2018-12-01 09:46:36 +01:00
avr32
blackfin
c6x
cris
frv
h8300
hexagon hexagon: modify ffs() and fls() to return int 2018-10-10 08:52:12 +02:00
ia64 kbuild: Consolidate header generation from ASM offset information 2018-11-27 16:07:57 +01:00
m32r
m68k m68k: fix "bad page state" oops on ColdFire boot 2018-08-24 13:26:57 +02:00
metag
microblaze microblaze: Fix simpleImage format generation 2018-08-06 16:24:39 +02:00
mips MIPS: Loongson-3: Fix BRIDGE irq delivery problem 2018-11-21 09:27:41 +01:00
mn10300
nios2
openrisc kthread: fix boot hang (regression) on MIPS/OpenRISC 2018-09-19 22:48:55 +02:00
parisc parisc: Fix map_pages() to not overwrite existing pte entries 2018-11-21 09:27:30 +01:00
powerpc powerpc/numa: Suppress "VPHN is not supported" messages 2018-12-01 09:46:35 +01:00
s390 s390/mm: Fix ERROR: "__node_distance" undefined! 2018-11-27 16:08:01 +01:00
score
sh sh: New gcc support 2018-06-06 16:46:20 +02:00
sparc sparc: Fix single-pcr perf event counter management. 2018-11-21 09:27:30 +01:00
tile
um um: Give start_idle_thread() a return code 2018-11-27 16:08:00 +01:00
unicore32
x86 x86/entry/64: Remove %ebx handling from error_entry/exit 2018-12-01 09:46:36 +01:00
xtensa xtensa: fix boot parameters address translation 2018-11-21 09:27:41 +01:00
.gitignore
Kconfig