diff options
author | Greg Hackmann <[email protected]> | 2018-06-27 12:46:14 -0700 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2018-07-05 19:12:48 +0100 |
commit | 1a381d4a0a9a0f999a13faaba22bf6b3fc80dcb9 (patch) | |
tree | 7bef89bd785323a5b03a202af8739f99897a14ae /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2893af07e507e993ad71ca6d66a7b02be741571c (diff) |
arm64: remove no-op -p linker flag
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 <[email protected]>
Reviewed-by: Nick Desaulniers <[email protected]>
Signed-off-by: Greg Hackmann <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions