mirror of git://gcc.gnu.org/git/gcc.git
Error out stack-protector unavailability on AIX
stack-protector is not supported in GCC on AIX. This patch is to fail the
compilation if -fstack-protector option is passed.
gcc/ChangeLog:
* config/rs6000/aix.h (SUBTARGET_DRIVER_SELF_SPECS):
Error out when stack-protector option is used in AIX
as it is not supported on AIX
Approved By: Segher Boessenkool <segher@kernel.crashing.org>
(cherry picked from commit dfb7e97dd2
)
This commit is contained in:
parent
e203de0dad
commit
fc76690abf
|
@ -281,4 +281,6 @@
|
||||||
#undef SUBTARGET_DRIVER_SELF_SPECS
|
#undef SUBTARGET_DRIVER_SELF_SPECS
|
||||||
#define SUBTARGET_DRIVER_SELF_SPECS \
|
#define SUBTARGET_DRIVER_SELF_SPECS \
|
||||||
"%{m64:-maix64} %<m64", \
|
"%{m64:-maix64} %<m64", \
|
||||||
"%{m32:-maix32} %<m32"
|
"%{m32:-maix32} %<m32", \
|
||||||
|
"%{fstack-protector*: %<fstack-protector* \
|
||||||
|
%estack-protector not supported on AIX}"
|
||||||
|
|
Loading…
Reference in New Issue