]> gcc.gnu.org Git - gcc.git/commit
LTO: pick up -fcf-protection flag for the link step
authorMatthias Klose <doko@ubuntu.com>
Tue, 14 Jul 2020 08:23:47 +0000 (10:23 +0200)
committerMatthias Klose <doko@ubuntu.com>
Tue, 14 Jul 2020 08:23:47 +0000 (10:23 +0200)
commit8147c741df97ee02aa64c099c6b360e6a93384e1
tree947c804b86b412166aa43063541aea9d936f6073
parent13d817afed90af35ebecb3a5fac2a17f44d3dd61
LTO: pick up -fcf-protection flag for the link step

2020-07-14  Matthias Klose  <doko@ubuntu.com>

PR lto/95604
* lto-wrapper.c (merge_and_complain): Add decoded options as parameter,
error on different values for -fcf-protection.
(append_compiler_options): Pass -fcf-protection option.
(find_and_merge_options): Add decoded options as parameter,
pass decoded_options to merge_and_complain.
(run_gcc): Pass decoded options to find_and_merge_options.
* lto-opts.c (lto_write_options): Pass -fcf-protection option.

(cherry picked from commit 6a48d12475cdb7375b98277f8bc089715feeeafe)
gcc/lto-opts.c
gcc/lto-wrapper.c
This page took 0.057649 seconds and 6 git commands to generate.