diff options
author | Sumanth Korikkar <[email protected]> | 2023-06-23 15:12:05 +0200 |
---|---|---|
committer | Alexander Gordeev <[email protected]> | 2023-06-28 13:57:10 +0200 |
commit | d15e4314abec83e4f910659437bc809b0889e3a5 (patch) | |
tree | 147b5eddc400ecf3f77771c6eca97c84cabb1099 /tools/perf/util/trace-event-scripting.c | |
parent | 27d45655faa83bde1545251b8a576ab4f1a9e731 (diff) |
s390/vdso: filter out mno-pic-data-is-text-relative cflag
cmd_vdso_check checks if there are any dynamic relocations in
vdso64.so.dbg. When kernel is compiled with
-mno-pic-data-is-text-relative, R_390_RELATIVE relocs are generated and
this results in kernel build error.
kpatch uses -mno-pic-data-is-text-relative option when building the
kernel to prevent relative addressing between code and data. The flag
avoids relocation error when klp text and data are too far apart
kpatch does not patch vdso code and hence the
mno-pic-data-is-text-relative flag is not essential.
Signed-off-by: Sumanth Korikkar <[email protected]>
Acked-by: Ilya Leoshkevich <[email protected]>
Signed-off-by: Alexander Gordeev <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions