diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2005-01-02 22:26:41 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2005-01-02 22:26:41 +0000 |
commit | 5c2aace9ddc4ffb8ef8a9c9b08450d112089660d (patch) | |
tree | 59d6f49a430a44d9057b961cab5e7247e3357578 /gnu | |
parent | d06dbb4be7480d2f7d851363b8c62b405d076996 (diff) |
-fzero-initialized-in-bss is wrong, meaning code that
depends on zero initialized variables showing up in data fails.
turn it off by default. ok deraadt@ miod@
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/gcc/gcc/toplev.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/gcc/toplev.c b/gnu/usr.bin/gcc/gcc/toplev.c index 91d1ad386f7..fc59a7c571c 100644 --- a/gnu/usr.bin/gcc/gcc/toplev.c +++ b/gnu/usr.bin/gcc/gcc/toplev.c @@ -804,7 +804,11 @@ int flag_gnu_linker = 1; #endif /* Nonzero means put zero initialized data in the bss section. */ +#ifdef OPENBSD_NATIVE +int flag_zero_initialized_in_bss = 0; +#else int flag_zero_initialized_in_bss = 1; +#endif /* Enable SSA. */ int flag_ssa = 0; |