Validate -pie if PIE is enabled by default
commitd34b1105d2d6c15004f2b46c4ec77252e7a85cb7
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 Jun 2015 21:31:04 +0000 (25 21:31 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 Jun 2015 21:31:04 +0000 (25 21:31 +0000)
tree27308f4225224d29173aed5360b3a20ef56889b1
parentec2e0095a3a5988b03a2706b5ffe0e807b238ba8
Validate -pie if PIE is enabled by default

When PIE is enabled by default, -pie is treated as nop in driver.  We
should simply validate it, instead of issue an error.

* gcc.c (driver_handle_option): Validate -pie if PIE is enabled
by default.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224987 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gcc.c