Include ProPolice suport for GCC 3.4.
[dragonfly.git] / gnu / usr.bin / cc34 / cc_prep / patches / flags.h.patch
1 $DragonFly: src/gnu/usr.bin/cc34/cc_prep/patches/flags.h.patch,v 1.1 2004/06/19 10:30:08 joerg Exp $
2
3 --- ../gcc.orig/flags.h 2004-06-18 23:08:11.000000000 +0200
4 +++ flags.h     2004-06-18 23:23:31.000000000 +0200
5 @@ -186,6 +186,10 @@
6  
7  extern bool warn_strict_aliasing;
8  
9 +/* Warn when not issuing stack smashing protection for some reason.  */
10 +
11 +extern bool warn_stack_protector;
12 +
13  /* Nonzero if generating code to do profiling.  */
14  
15  extern int profile_flag;
16 @@ -771,4 +775,12 @@
17  #define HONOR_SIGN_DEPENDENT_ROUNDING(MODE) \
18    (MODE_HAS_SIGN_DEPENDENT_ROUNDING (MODE) && flag_rounding_math)
19  
20 +/* Nonzero means use propolice as a stack protection method.  */
21 +
22 +extern int flag_propolice_protection;
23 +
24 +/* Nonzero means use a stack protection method for every function.  */
25 +
26 +extern int flag_stack_protection;
27 +
28  #endif /* ! GCC_FLAGS_H */