1 $DragonFly: src/gnu/usr.bin/cc34/cc_prep/patches/flags.h.patch,v 1.3 2004/12/21 13:10:48 joerg Exp $
3 ===================================================================
4 RCS file: /home/joerg/wd/repository/dragonflybsd/src/contrib/gcc-3.4/gcc/flags.h,v
5 retrieving revision 1.1
7 --- flags.h 20 Jun 2004 02:14:49 -0000 1.1
8 +++ flags.h 20 Dec 2004 20:49:31 -0000
10 /* Nonzero means emit debugging information only for symbols which are used. */
11 extern int flag_debug_only_used_symbols;
13 +/* Enumerate visibility settings. */
14 +#ifndef SYMBOL_VISIBILITY_DEFINED
15 +#define SYMBOL_VISIBILITY_DEFINED
16 +enum symbol_visibility
19 + VISIBILITY_INTERNAL,
21 + VISIBILITY_PROTECTED
25 +/* The default visibility for all symbols (unless overridden). */
26 +extern enum symbol_visibility default_visibility;
28 +struct visibility_flags
30 + unsigned inpragma : 1; /* True when in #pragma GCC visibility. */
31 + unsigned inlineshidden : 1; /* True when -finlineshidden in effect. */
34 +/* Global visibility options. */
35 +extern struct visibility_flags visibility_options;
37 /* Nonzero means do optimizations. -opt. */
42 extern bool warn_strict_aliasing;
44 +/* Warn when not issuing stack smashing protection for some reason. */
46 +extern bool warn_stack_protector;
48 /* Nonzero if generating code to do profiling. */
50 extern int profile_flag;
52 #define HONOR_SIGN_DEPENDENT_ROUNDING(MODE) \
53 (MODE_HAS_SIGN_DEPENDENT_ROUNDING (MODE) && flag_rounding_math)
55 +/* Nonzero means use propolice as a stack protection method. */
57 +extern int flag_propolice_protection;
59 +/* Nonzero means use a stack protection method for every function. */
61 +extern int flag_stack_protection;
63 #endif /* ! GCC_FLAGS_H */