]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Document compatibility with earlier ProPolice implementation.
authorJames E Wilson <wilson@specifixinc.com>
Sat, 13 Aug 2005 20:58:02 +0000 (13:58 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Sat, 13 Aug 2005 20:58:02 +0000 (13:58 -0700)
* c-cppbuiltin.c (c_cpp_builtins): Add comment for flag_stack_protect
macros.

From-SVN: r103058

gcc/ChangeLog
gcc/c-cppbuiltin.c

index f6243ce294cc1e99b86a117ddad9c6d1571bc96b..77a51c62778fe9ec6eba796a1ab23d3e2ae54718 100644 (file)
@@ -6,6 +6,9 @@
        (-Wvariadic-macros): Alphabetize.
        (-fsched-stalled-insns-dep): Add missing 'f'.
 
+       * c-cppbuiltin.c (c_cpp_builtins): Add comment for flag_stack_protect
+       macros.
+
 2005-08-13  David Edelsohn  <edelsohn@gnu.org>
 
        * config/rs6000/rs6000.h (EXTRA_CONSTRAINT): Add 'a' for indexed
index 44c7a3797ddb0305c559249e6ad72f4c3eb1cdd0..9020e0b49f9493c3e1a2bcdbd87fc73d352a1cf0 100644 (file)
@@ -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)