re PR go/66870 (split stack issues on ppc64le and ppc64)

PR go/66870
	* gospec.c (lang_specific_driver): Only look for OPT_m32 if
	TARGET_CAN_SPLIT_STACK_64BIT is defined.

From-SVN: r228342
This commit is contained in:
Ian Lance Taylor 2015-10-01 14:43:57 +00:00 committed by Ian Lance Taylor
parent 9edaabf3d2
commit 209919e2fd
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2015-10-01 Ian Lance Taylor <iant@google.com>
PR go/66870
* gospec.c (lang_specific_driver): Only look for OPT_m32 if
TARGET_CAN_SPLIT_STACK_64BIT is defined.
2015-10-01 Lynn Boger <laboger@linux.vnet.ibm.com>
PR target/66870

View File

@ -158,9 +158,11 @@ lang_specific_driver (struct cl_decoded_option **in_decoded_options,
library = (library == 0) ? 1 : library;
break;
#ifdef TARGET_CAN_SPLIT_STACK_64BIT
case OPT_m32:
saw_opt_m32 = true;
break;
#endif
case OPT_pg:
case OPT_p: