diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-04-25 16:59:11 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-04-25 16:59:11 +0000 |
commit | 052166fd4a8051c7dc4c87d408be091c99aafd55 (patch) | |
tree | c0adf84823b69e93515bec4add24e4f996c6ec10 /gcc/config/darwin.c | |
parent | da5e1e7ce7a1323e3eeeeacd3687823d83cd1025 (diff) | |
download | gcc-052166fd4a8051c7dc4c87d408be091c99aafd55.tar.gz |
* common.opt (flag_debug_types_section): Default to 0.
(dwarf_version): Default to 4.
(dwarf_record_gcc_switches): Default to 1.
(dwarf_strict): Default to 0.
* toplev.c (process_options): Don't handle dwarf_strict
or dwarf_version here.
* config/vxworks.c (vxworks_override_options): Don't
test whether dwarf_strict or dwarf_version are negative,
instead test !global_options_set.x_dwarf_*.
* config/darwin.c (darwin_override_options): Default to
dwarf_version 2.
* doc/invoke.texi: Note that -gdwarf-4, -grecord-gcc-switches
and -fno-debug-types-section are now the default.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186835 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/darwin.c')
-rw-r--r-- | gcc/config/darwin.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index ba253dd7dbf..15efaa3d8a7 100644 --- a/gcc/config/darwin.c +++ b/gcc/config/darwin.c @@ -1,6 +1,6 @@ /* Functions for generic Darwin as target machine for GNU C compiler. Copyright (C) 1989, 1990, 1991, 1992, 1993, 2000, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008, 2009, 2010, 2011 + 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. Contributed by Apple Computer Inc. @@ -2973,6 +2973,8 @@ darwin_override_options (void) workaround for tool bugs. */ if (!global_options_set.x_dwarf_strict) dwarf_strict = 1; + if (!global_options_set.x_dwarf_version) + dwarf_version = 2; /* Do not allow unwind tables to be generated by default for m32. fnon-call-exceptions will override this, regardless of what we do. */ |