diff options
author | Peter Bergner <bergner@linux.ibm.com> | 2024-06-18 17:42:45 -0500 |
---|---|---|
committer | Peter Bergner <bergner@linux.ibm.com> | 2024-08-12 12:27:07 -0500 |
commit | 0451bc503da9c858e9f1ddfb8faec367c2e032c8 (patch) | |
tree | 0acf2ffbe56e98d6cee247c18bc54c9cce52aa4a /gcc/ChangeLog | |
parent | ef90a136da4c3e0b28997da25c30fdce1bcb115c (diff) | |
download | gcc-0451bc503da9c858e9f1ddfb8faec367c2e032c8.zip gcc-0451bc503da9c858e9f1ddfb8faec367c2e032c8.tar.gz gcc-0451bc503da9c858e9f1ddfb8faec367c2e032c8.tar.bz2 |
rs6000: ROP - Do not disable shrink-wrapping for leaf functions [PR114759]
Only disable shrink-wrapping when using -mrop-protect when we know we
will be emitting the ROP-protect hash instructions (ie, non-leaf functions).
2024-06-17 Peter Bergner <bergner@linux.ibm.com>
gcc/
PR target/114759
* config/rs6000/rs6000.cc (rs6000_override_options_after_change): Move
the disabling of shrink-wrapping from here....
* config/rs6000/rs6000-logue.cc (rs6000_emit_prologue): ...to here.
gcc/testsuite/
PR target/114759
* gcc.target/powerpc/pr114759-1.c: New test.
Diffstat (limited to 'gcc/ChangeLog')
0 files changed, 0 insertions, 0 deletions