diff options
author | James E Wilson <wilson@specifixinc.com> | 2005-08-13 13:58:02 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 2005-08-13 13:58:02 -0700 |
commit | 0ffb94cd681982d04226863a123d06cf4bdefab4 (patch) | |
tree | 04ed87285c8746a3bdad05fbcc15ce5b870a5b54 /gcc/c-cppbuiltin.c | |
parent | 0aca9021cd62a48a1b903cd38e9aad4a693ff4f0 (diff) | |
download | gcc-0ffb94cd681982d04226863a123d06cf4bdefab4.zip gcc-0ffb94cd681982d04226863a123d06cf4bdefab4.tar.gz gcc-0ffb94cd681982d04226863a123d06cf4bdefab4.tar.bz2 |
Document compatibility with earlier ProPolice implementation.
* c-cppbuiltin.c (c_cpp_builtins): Add comment for flag_stack_protect
macros.
From-SVN: r103058
Diffstat (limited to 'gcc/c-cppbuiltin.c')
-rw-r--r-- | gcc/c-cppbuiltin.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/c-cppbuiltin.c b/gcc/c-cppbuiltin.c index 44c7a37..9020e0b 100644 --- a/gcc/c-cppbuiltin.c +++ b/gcc/c-cppbuiltin.c @@ -440,7 +440,9 @@ c_cpp_builtins (cpp_reader *pfile) if (targetm.handle_pragma_extern_prefix) cpp_define (pfile, "__PRAGMA_EXTERN_PREFIX"); - /* Make the choice of the stack protector runtime visible to source code. */ + /* Make the choice of the stack protector runtime visible to source code. + The macro names and values here were chosen for compatibility with an + earlier implementation, i.e. ProPolice. */ if (flag_stack_protect == 2) cpp_define (pfile, "__SSP_ALL__=2"); else if (flag_stack_protect == 1) |