diff options
author | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-08-13 20:58:02 +0000 |
---|---|---|
committer | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-08-13 20:58:02 +0000 |
commit | d206a0728f6c2bbfc467a39b40ad77f6ab16f4c8 (patch) | |
tree | 04ed87285c8746a3bdad05fbcc15ce5b870a5b54 /gcc/c-cppbuiltin.c | |
parent | 7a39ea1e6af354e0c17d4e2a88b6abbbd7c31163 (diff) | |
download | gcc-d206a0728f6c2bbfc467a39b40ad77f6ab16f4c8.tar.gz |
Document compatibility with earlier ProPolice implementation.
* c-cppbuiltin.c (c_cpp_builtins): Add comment for flag_stack_protect
macros.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103058 138bc75d-0d04-0410-961f-82ee72b054a4
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 44c7a3797dd..9020e0b49f9 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) |