diff options
author | Alexander Lobakin <[email protected]> | 2021-01-10 11:56:34 +0000 |
---|---|---|
committer | Thomas Bogendoerfer <[email protected]> | 2021-01-15 15:27:54 +0100 |
commit | 008c3cbd5eb8f5efc539cbec9abca9f7e32ea631 (patch) | |
tree | c8e33e914b7c3e13507e7029e960fcd07fb115ba /tools/perf/scripts/python | |
parent | 894ef530012fb5078466efdfb2c15d8b2f1565cd (diff) |
MIPS: vmlinux.lds.S: explicitly catch .rel.dyn symbols
According to linker warnings, both GCC and LLVM generate '.rel.dyn'
symbols:
mips-alpine-linux-musl-ld: warning: orphan section `.rel.dyn'
from `init/main.o' being placed in section `.rel.dyn'
Link-time assertion shows that this section is sometimes empty,
sometimes not, depending on machine bitness and the compiler [0]:
LD .tmp_vmlinux.kallsyms1
mips64-linux-gnu-ld: Unexpected run-time relocations (.rel) detected!
Just use the ARM64 approach and declare it in vmlinux.lds.S closer
to __init_end.
[0] https://lore.kernel.org/linux-mips/[email protected]
Reported-by: Thomas Bogendoerfer <[email protected]>
Signed-off-by: Alexander Lobakin <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions