aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorAlexander Graf <[email protected]>2018-02-08 17:38:53 +0000
committerPaul Mackerras <[email protected]>2018-02-09 04:39:41 +0000
commitd20fe50a7b3c8f936f7347e9cab2e9dd89c1199d (patch)
tree006f51196b43e606bfa12c958bb005b2ab5a5158 /scripts/gcc-plugins/randomize_layout_plugin.c
parentKVM: PPC: Book3S HV: Make HPT resizing work on POWER9 (diff)
downloadkernel-d20fe50a7b3c8f936f7347e9cab2e9dd89c1199d.tar.gz
kernel-d20fe50a7b3c8f936f7347e9cab2e9dd89c1199d.zip
KVM: PPC: Book3S HV: Branch inside feature section
We ended up with code that did a conditional branch inside a feature section to code outside of the feature section. Depending on how the object file gets organized, that might mean we exceed the 14bit relocation limit for conditional branches: arch/powerpc/kvm/built-in.o:arch/powerpc/kvm/book3s_hv_rmhandlers.S:416:(__ftr_alt_97+0x8): relocation truncated to fit: R_PPC64_REL14 against `.text'+1ca4 So instead of doing a conditional branch outside of the feature section, let's just jump at the end of the same, making the branch very short. Signed-off-by: Alexander Graf <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions