aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmain.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2012-07-13 13:20:27 +0000
committerNick Clifton <nickc@redhat.com>2012-07-13 13:20:27 +0000
commitcd6f1cf350bbc5d91977fccb8082cecea60d8465 (patch)
tree7b799c1b9f30992024c7b3dad4fc7a6e2b0633cb /ld/ldmain.c
parent61e44cfa2682596d7aba639712be9ff51cae2ef8 (diff)
downloadgdb-cd6f1cf350bbc5d91977fccb8082cecea60d8465.zip
gdb-cd6f1cf350bbc5d91977fccb8082cecea60d8465.tar.gz
gdb-cd6f1cf350bbc5d91977fccb8082cecea60d8465.tar.bz2
PR ld/14357
* ldmain.c (trace_file_tries): Rename to 'verbose'. * ldfile.c: Likewise. * ldlang.c: Likewise. * ldmain.h: Likewise. * lexsup.c: Likewise. * emultempl/elf32.em: Likewise. * emultemp/spuelf.em: Likewise. * pe-dll.c (pe_dll_generate_implib): Only print creation message in verbose mode.
Diffstat (limited to 'ld/ldmain.c')
-rw-r--r--ld/ldmain.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c
index 3bdaf4d..15f8ebf 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -88,8 +88,8 @@ int g_switch_value = 8;
/* Nonzero means print names of input files as processed. */
bfd_boolean trace_files;
-/* Nonzero means same, but note open failures, too. */
-bfd_boolean trace_file_tries;
+/* Nonzero means report actions taken by the linker, and describe the linker script in use. */
+bfd_boolean verbose;
/* Nonzero means version number was printed, so exit successfully
instead of complaining if no input files are given. */
@@ -340,7 +340,7 @@ main (int argc, char **argv)
lex_string = NULL;
}
- if (trace_file_tries)
+ if (verbose)
{
if (saved_script_handle)
info_msg (_("using external linker script:"));
@@ -861,7 +861,7 @@ add_archive_element (struct bfd_link_info *info,
minfo ("(%s)\n", name);
}
- if (trace_files || trace_file_tries)
+ if (trace_files || verbose)
info_msg ("%I\n", &orig_input);
return TRUE;
}