]> git.ipfire.org Git - thirdparty/gcc.git/commit
Set flag_pic to flag_pie for PIE in LTO
authorH.J. Lu <hongjiu.lu@intel.com>
Thu, 17 Mar 2016 11:07:10 +0000 (11:07 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Thu, 17 Mar 2016 11:07:10 +0000 (04:07 -0700)
commitea913779b0921886a8d8503263f27e3ddfc1831b
tree20821b0ae8514bf944facf2b9ea5b63d7a2b720a
parent0c8b64cb587dbe83a0660878c69d7ff96589673c
Set flag_pic to flag_pie for PIE in LTO

Since PIE implies PIC, we should set flag_pic to flag_pie for PIE in
LTO.

PR lto/70258
* lto-lang.c (lto_post_options): Set flag_pic to flag_pie for
PIE.

From-SVN: r234284
gcc/lto/ChangeLog
gcc/lto/lto-lang.c