This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r259342 - in /branches/gcc-6-branch/gcc: Change...
- From: krebbel at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 12 Apr 2018 10:22:36 -0000
- Subject: r259342 - in /branches/gcc-6-branch/gcc: Change...
Author: krebbel
Date: Thu Apr 12 10:22:35 2018
New Revision: 259342
URL: https://gcc.gnu.org/viewcvs?rev=259342&root=gcc&view=rev
Log:
IBM Z: Spectre: Prevent thunk cfi to be emitted with -fno-dwarf2-cfi-asm
The CFI magic we emit as part of the indirect branch thunks in order to
have somewhat sane unwind information must not be emitted with
-fno-dwarf2-cfi-asm.
gcc/ChangeLog:
2018-04-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
Backport from mainline
2018-04-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* config/s390/s390.c (s390_output_indirect_thunk_function): Check
also for flag_dwarf2_cfi_asm.
gcc/testsuite/ChangeLog:
2018-04-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
Backport from mainline
2018-04-12 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* gcc.target/s390/nobp-no-dwarf2-cfi.c: New test.
Added:
branches/gcc-6-branch/gcc/testsuite/gcc.target/s390/nobp-no-dwarf2-cfi.c
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/config/s390/s390.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog