aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@gcc.gnu.org>2003-06-27 09:51:22 +0000
committerRichard Earnshaw <rearnsha@gcc.gnu.org>2003-06-27 09:51:22 +0000
commit457515250cb7da7538214408464ccbedb4074edf (patch)
tree7a4f8d798e3bf3f6723770345c8a351c86828d27
parent2e0402197060132c3023d0f414b73a3fe4c9f2a7 (diff)
downloadgcc-457515250cb7da7538214408464ccbedb4074edf.zip
gcc-457515250cb7da7538214408464ccbedb4074edf.tar.gz
gcc-457515250cb7da7538214408464ccbedb4074edf.tar.bz2
* flags.h: Really install previous change.
From-SVN: r68562
-rw-r--r--gcc/ChangeLog21
-rw-r--r--gcc/flags.h3
2 files changed, 17 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e1eeb8c..bf44a3c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2003-06-27 Richard Earnshaw <rearnsha@arm.com>
+
+ * flags.h: Really install previous change.
+
2003-06-27 Nathan Sidwell <nathan@codesourcery.com>
* rtl.h (emit_note): Remove FILE parameter.
@@ -71,22 +75,25 @@
* dbxout.c (DBXOUT_DECR_NESTING): New macro.
(DBXOUT_DECR_NESTING_AND_RETURN): New macro.
(dbxout_init): Delay symbol output.
- (dbxout_global_decl): Save, set and reset TREE_USED bit around dbxout_symbol()
- call.
+ (dbxout_global_decl): Save, set and reset TREE_USED bit around
+ dbxout_symbol() call.
(dbxout_begin_function): Same.
(dbxout_finish): Free symbol queue.
(dbxout_type): Put appropriate symbols in queue.
- (dbxout_symbol): Put info for symbol's type in queue. Decrement/Increment
- nesting counts flush symbol queue appropriately.
+ (dbxout_symbol): Put info for symbol's type in queue.
+ Decrement/Increment nesting counts flush symbol queue appropriately.
(dbxout_parms): Increment dbxout nesting.
(dbxout_reg_parms): Same.
* flags.h (flag_debug_only_used_symbols): New.
* toplev.c (flag_debug_only_used_symbols): New variable.
- (lang_independent_options): Add entries for new option -feliminate-unused-debug-symbols.
+ (lang_independent_options): Add entries for new option
+ -feliminate-unused-debug-symbols.
* common.opt: Add entry for -feliminate-unused-debug-symbols.
* opts.c (common_handle_options): Same.
- * config/rs6000/darwin.h (CC1_SPEC): Interpret -gused as -feliminate-unused-debug-symbols.
- * doc/invoke.texi (Debugging Options): Document -feliminate-unused-debug-symbols.
+ * config/rs6000/darwin.h (CC1_SPEC): Interpret -gused as
+ -feliminate-unused-debug-symbols.
+ * doc/invoke.texi (Debugging Options): Document
+ -feliminate-unused-debug-symbols.
2003-06-26 Roger Sayle <roger@eyesopen.com>
Jakub Jelinek <jakub@redhat.com>
diff --git a/gcc/flags.h b/gcc/flags.h
index e7a3ea8..410967b 100644
--- a/gcc/flags.h
+++ b/gcc/flags.h
@@ -57,6 +57,9 @@ extern enum debug_info_level debug_info_level;
debugging information. */
extern int use_gnu_debug_info_extensions;
+/* Nonzero means emit debugging information only for symbols which are used. */
+extern int flag_debug_only_used_symbols;
+
/* Nonzero means do optimizations. -opt. */
extern int optimize;