diff options
| author | Nicholas Piggin <[email protected]> | 2023-06-06 19:38:29 +1000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2023-06-14 12:46:42 +1000 |
| commit | 9d90161ca5c7234e80e14e563d198f322ca0c1d0 (patch) | |
| tree | 9cdcd2842efb3de98274030c6cfa5ce0ec45ef61 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | f5df87b855fd835ff0f4928575adbf4f5302bb40 (diff) | |
powerpc/64: Force ELFv2 when building with LLVM linker
The LLVM linker does not support ELFv1 at all, so BE kernels must be
built with ELFv2. The LLD version check was added to be conservative,
LLD simply fails to link ELFv1 entirely, effectively requiring LLD >= 15
and ELFv2 for BE builds. Instead remove that restriction until proven
otherwise (LLD 14.0 links a booting ELFv2 BE vmlinux for me).
The minimum GNU binutils has increased such that ELFv2 is always
supported, so remove that check while we're here.
Reviewed-by: Nathan Chancellor <[email protected]>
Tested-by: Nathan Chancellor <[email protected]>
Signed-off-by: Nicholas Piggin <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions