* flags.h: Really install previous change.

From-SVN: r68562
This commit is contained in:
Richard Earnshaw 2003-06-27 09:51:22 +00:00
parent 2e04021970
commit 457515250c
2 changed files with 17 additions and 7 deletions

View File

@ -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>

View File

@ -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;