Re: [PATCH] Validate -pie if PIE is enabled by default

2015-06-25 Thread Joseph Myers
On Thu, 25 Jun 2015, H.J. Lu wrote: > When PIE is enabled by default, -pie is treated as nop in driver. We > should simply validate it, instead of issue an error. > > OK for trunk? OK. -- Joseph S. Myers jos...@codesourcery.com

[PATCH] Validate -pie if PIE is enabled by default

2015-06-25 Thread H.J. Lu
When PIE is enabled by default, -pie is treated as nop in driver. We should simply validate it, instead of issue an error. OK for trunk? Thanks. H.J. --- * gcc.c (driver_handle_option): Validate -pie if PIE is enabled by default. --- gcc/gcc.c | 5 + 1 file changed, 5 inser