1 $DragonFly: src/gnu/usr.bin/cc34/cc_prep/patches/c-cppbuiltin.c.patch,v 1.1 2005/08/27 21:03:51 joerg Exp $
4 ===================================================================
5 RCS file: /home/joerg/wd/repository/dragonflybsd/src/contrib/gcc-3.4/gcc/c-cppbuiltin.c,v
6 retrieving revision 1.1
7 diff -u -r1.1 c-cppbuiltin.c
8 --- c-cppbuiltin.c 20 Jun 2004 02:14:48 -0000 1.1
9 +++ c-cppbuiltin.c 27 Aug 2005 16:40:43 -0000
11 if (c_dialect_objc () && flag_next_runtime)
12 cpp_define (pfile, "__NEXT_RUNTIME__");
14 + /* Make the choice of the stack protector runtime visible to source code. */
15 + if (flag_propolice_protection)
16 + cpp_define (pfile, "__SSP__=1");
17 + if (flag_stack_protection)
18 + cpp_define (pfile, "__SSP_ALL__=2");
20 /* A straightforward target hook doesn't work, because of problems
21 linking that hook's body when part of non-C front ends. */
22 # define preprocessing_asm_p() (cpp_get_options (pfile)->lang == CLK_ASM)