From c58dea77ffe2558b133ad9d1325391356c66f85f Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 17 Aug 2007 13:23:08 +0000 Subject: * ldexp.c (exp_get_vma, exp_get_fill): Canonicalise error messages. * lexsup.c (ld_options): Don't use tabs in help text. * emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Fix typo. * emultempl/pe.em (gld${EMULATION_NAME}_finish): Fix typo. --- ld/ChangeLog | 7 +++++++ ld/emultempl/armcoff.em | 2 +- ld/emultempl/pe.em | 2 +- ld/ldexp.c | 4 ++-- ld/lexsup.c | 17 +++++++++++------ 5 files changed, 22 insertions(+), 10 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 87a20c7..8702b03 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,12 @@ 2007-08-17 Alan Modra + * ldexp.c (exp_get_vma, exp_get_fill): Canonicalise error messages. + * lexsup.c (ld_options): Don't use tabs in help text. + * emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Fix typo. + * emultempl/pe.em (gld${EMULATION_NAME}_finish): Fix typo. + +2007-08-17 Alan Modra + * po/Make-in: Add --msgid-bugs-address to xgettext invocation. 2007-08-15 Alan Modra diff --git a/ld/emultempl/armcoff.em b/ld/emultempl/armcoff.em index 6380e4b..c11daee 100644 --- a/ld/emultempl/armcoff.em +++ b/ld/emultempl/armcoff.em @@ -192,7 +192,7 @@ gld${EMULATION_NAME}_finish (void) entry_symbol.name = buffer; } else - einfo (_("%P: warning: connot find thumb start symbol %s\n"), + einfo (_("%P: warning: cannot find thumb start symbol %s\n"), thumb_entry_symbol); } diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em index ddee011..e7bcacf 100644 --- a/ld/emultempl/pe.em +++ b/ld/emultempl/pe.em @@ -1533,7 +1533,7 @@ gld_${EMULATION_NAME}_finish (void) entry_symbol.name = buffer; } else - einfo (_("%P: warning: connot find thumb start symbol %s\n"), thumb_entry_symbol); + einfo (_("%P: warning: cannot find thumb start symbol %s\n"), thumb_entry_symbol); } #endif /* defined(TARGET_IS_armpe) || defined(TARGET_IS_arm_epoc_pe) || defined(TARGET_IS_arm_wince_pe) */ diff --git a/ld/ldexp.c b/ld/ldexp.c index f57210f..9b95808 100644 --- a/ld/ldexp.c +++ b/ld/ldexp.c @@ -1052,7 +1052,7 @@ exp_get_vma (etree_type *tree, bfd_vma def, char *name) if (expld.result.valid_p) return expld.result.value; else if (name != NULL && expld.phase != lang_mark_phase_enum) - einfo (_("%F%S nonconstant expression for %s\n"), name); + einfo (_("%F%S: nonconstant expression for %s\n"), name); } return def; } @@ -1077,7 +1077,7 @@ exp_get_fill (etree_type *tree, fill_type *def, char *name) if (!expld.result.valid_p) { if (name != NULL && expld.phase != lang_mark_phase_enum) - einfo (_("%F%S nonconstant expression for %s\n"), name); + einfo (_("%F%S: nonconstant expression for %s\n"), name); return def; } diff --git a/ld/lexsup.c b/ld/lexsup.c index 2a31683..cdbfbdf 100644 --- a/ld/lexsup.c +++ b/ld/lexsup.c @@ -327,10 +327,12 @@ static const struct ld_option ld_options[] = TWO_DASHES }, { {"add-needed", no_argument, NULL, OPTION_ADD_NEEDED}, '\0', NULL, N_("Set DT_NEEDED tags for DT_NEEDED entries in\n" - "\t\t\t\tfollowing dynamic libs"), TWO_DASHES }, + " following dynamic libs"), + TWO_DASHES }, { {"no-add-needed", no_argument, NULL, OPTION_NO_ADD_NEEDED}, '\0', NULL, N_("Do not set DT_NEEDED tags for DT_NEEDED entries\n" - "\t\t\t\tin following dynamic libs"), TWO_DASHES }, + " in following dynamic libs"), + TWO_DASHES }, { {"as-needed", no_argument, NULL, OPTION_AS_NEEDED}, '\0', NULL, N_("Only set DT_NEEDED for following dynamic libs if used"), TWO_DASHES }, @@ -442,7 +444,8 @@ static const struct ld_option ld_options[] = '\0', NULL, NULL, NO_HELP }, { {"nostdlib", no_argument, NULL, OPTION_NOSTDLIB}, '\0', NULL, N_("Only use library directories specified on\n" - "\t\t\t\tthe command line"), ONE_DASH }, + " the command line"), + ONE_DASH }, { {"oformat", required_argument, NULL, OPTION_OFORMAT}, '\0', N_("TARGET"), N_("Specify target of output file"), EXACTLY_TWO_DASHES }, @@ -506,8 +509,9 @@ static const struct ld_option ld_options[] = { {"unresolved-symbols=", required_argument, NULL, OPTION_UNRESOLVED_SYMBOLS}, '\0', NULL, N_("How to handle unresolved symbols. is:\n" - "\t\t\t\tignore-all, report-all, ignore-in-object-files,\n" - "\t\t\t\tignore-in-shared-libs"), TWO_DASHES }, + " ignore-all, report-all, ignore-in-object-files,\n" + " ignore-in-shared-libs"), + TWO_DASHES }, { {"verbose", no_argument, NULL, OPTION_VERBOSE}, '\0', NULL, N_("Output lots of information during link"), TWO_DASHES }, { {"dll-verbose", no_argument, NULL, OPTION_VERBOSE}, /* Linux. */ @@ -517,7 +521,8 @@ static const struct ld_option ld_options[] = { {"version-exports-section", required_argument, NULL, OPTION_VERSION_EXPORTS_SECTION }, '\0', N_("SYMBOL"), N_("Take export symbols list from .exports, using\n" - "\t\t\t\tSYMBOL as the version."), TWO_DASHES }, + " SYMBOL as the version."), + TWO_DASHES }, { {"dynamic-list-data", no_argument, NULL, OPTION_DYNAMIC_LIST_DATA}, '\0', NULL, N_("Add data symbols to dynamic list"), TWO_DASHES }, { {"dynamic-list-cpp-new", no_argument, NULL, OPTION_DYNAMIC_LIST_CPP_NEW}, -- cgit v1.1