diff options
author | Stuart Henderson <shenders@gcc.gnu.org> | 2011-05-03 13:47:07 +0000 |
---|---|---|
committer | Stuart Henderson <shenders@gcc.gnu.org> | 2011-05-03 13:47:07 +0000 |
commit | 1a3a9152b23751bf38d2c4874614fbad252f09f7 (patch) | |
tree | d08353405dfb6859cce25e9135fec1f0730a9274 /gcc/config/bfin | |
parent | 7134c090d222230b4c7fca4b1b383472c1b1eb4c (diff) | |
download | gcc-1a3a9152b23751bf38d2c4874614fbad252f09f7.zip gcc-1a3a9152b23751bf38d2c4874614fbad252f09f7.tar.gz gcc-1a3a9152b23751bf38d2c4874614fbad252f09f7.tar.bz2 |
Originally From Bernd Schmidt
2011-05-03 Stuart Henderson <shenders@gcc.gnu.org>
Originally From Bernd Schmidt
* config/bfin/bfin.c (override_options): Disable -fstack-limit for
FD-PIC.
From-SVN: r173306
Diffstat (limited to 'gcc/config/bfin')
-rw-r--r-- | gcc/config/bfin/bfin.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/bfin/bfin.c b/gcc/config/bfin/bfin.c index 9369d1d..fc97805 100644 --- a/gcc/config/bfin/bfin.c +++ b/gcc/config/bfin/bfin.c @@ -2676,6 +2676,12 @@ bfin_option_override (void) if (global_options_set.x_bfin_library_id && ! TARGET_ID_SHARED_LIBRARY) error ("-mshared-library-id= specified without -mid-shared-library"); + if (stack_limit_rtx && TARGET_FDPIC) + { + warning (0, "-fstack-limit- options are ignored with -mfdpic; use -mstack-check-l1"); + stack_limit_rtx = NULL_RTX; + } + if (stack_limit_rtx && TARGET_STACK_CHECK_L1) error ("can%'t use multiple stack checking methods together"); |