aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2008-04-17 22:45:47 +0000
committerCary Coutant <ccoutant@google.com>2008-04-17 22:45:47 +0000
commitc5818ff112aac72067c827a4a4fad732eae40741 (patch)
tree7d56ba982473581ec9aab6c40269137cb4a9ea35 /gold/gold.h
parent * breakpoint.c (print_one_breakpoint_location): Make sure to print (diff)
downloadbinutils-gdb-c5818ff112aac72067c827a4a4fad732eae40741.tar.gz
binutils-gdb-c5818ff112aac72067c827a4a4fad732eae40741.tar.bz2
binutils-gdb-c5818ff112aac72067c827a4a4fad732eae40741.zip
* errors.cc (Errors::info): New function.
(gold_info): New function. * errors.h (Errors::info): New function. * gold.h (gold_info): New function. * object.cc (Input_objects::add_object): Print trace output. * options.cc (options::parse_set): New function. (General_options::parse_wrap): Deleted. (General_options::General_options): Deleted initializer. * options.h (options::String_set): New typedef. (options::parse_set): New function. (DEFINE_set): New macro. (General_options::wrap): Changed to use DEFINE_set. Changed callers of any_wrap_symbols and is_wrap_symbol. (General_options::trace, General_options::trace_symbol): New options. (General_options::any_wrap_symbols, General_options::is_wrap_symbol) (General_options::wrap_symbols_): Deleted. * symtab.cc (Symbol_table::add_from_object): Print trace output.
Diffstat (limited to 'gold/gold.h')
-rw-r--r--gold/gold.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gold/gold.h b/gold/gold.h
index 1b1a84c1b02..62c014ead88 100644
--- a/gold/gold.h
+++ b/gold/gold.h
@@ -157,6 +157,10 @@ gold_error(const char* msg, ...) ATTRIBUTE_PRINTF_1;
extern void
gold_warning(const char* msg, ...) ATTRIBUTE_PRINTF_1;
+// This function is called to print an informational message.
+extern void
+gold_info(const char* msg, ...) ATTRIBUTE_PRINTF_1;
+
// Work around a bug in gcc 4.3.0. http://gcc.gnu.org/PR35546 . This
// can probably be removed after the bug has been fixed for a while.
#ifdef HAVE_TEMPLATE_ATTRIBUTES