linux/arch/s390
Sumanth Korikkar d15e4314ab 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 <sumanthk@linux.ibm.com>
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
2023-06-28 13:57:10 +02:00
..
appldata s390: simplify dynamic sysctl registration for appldata_register_ops 2023-03-20 10:56:49 +01:00
boot s390: consistently use .balign instead of .align 2023-06-28 13:57:09 +02:00
configs s390/defconfigs: set CONFIG_NET_TC_SKB_EXT=y 2023-06-22 15:02:01 +02:00
crypto s390/pkey: do not use struct pkey_protkey 2023-06-01 17:10:21 +02:00
hypfs s390/hypfs: remove unused info_blk_hdr__pcpus() function 2022-11-23 16:24:07 +01:00
include s390: consistently use .balign instead of .align 2023-06-28 13:57:09 +02:00
kernel s390/vdso: filter out mno-pic-data-is-text-relative cflag 2023-06-28 13:57:10 +02:00
kvm For 6.4 2023-05-05 06:15:09 -04:00
lib s390: select ARCH_SUPPORTS_INT128 2023-05-15 14:12:14 +02:00
mm s390/vmem: fix virtual vs physical address confusion 2023-06-28 13:57:08 +02:00
net s390: consistently use .balign instead of .align 2023-06-28 13:57:09 +02:00
pci Merge branch 'uaccess-inline-asm-cleanup' into features 2023-04-04 18:29:28 +02:00
purgatory s390/purgatory: disable branch profiling 2023-06-01 16:59:43 +02:00
tools KVM: s390: Add facility 197 to the allow list 2022-07-13 15:25:25 +02:00
Kbuild kbuild: use more subdir- for visiting subdirectories while cleaning 2021-10-24 13:49:46 +09:00
Kconfig s390 updates for 6.5 merge window 2023-06-27 15:49:10 -07:00
Kconfig.debug s390/Kconfig.debug: fix indentation 2022-06-01 12:03:15 +02:00
Makefile s390/decompressor: fix misaligned symbol build error 2023-06-28 13:57:09 +02:00