This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
assorted message fixes
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sourceware dot org
- Date: Fri, 17 Aug 2007 22:53:13 +0930
- Subject: assorted message fixes
* 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.
Index: ld/ldexp.c
===================================================================
RCS file: /cvs/src/src/ld/ldexp.c,v
retrieving revision 1.69
diff -u -p -r1.69 ldexp.c
--- ld/ldexp.c 6 Jul 2007 14:09:41 -0000 1.69
+++ ld/ldexp.c 17 Aug 2007 02:28:45 -0000
@@ -1052,7 +1052,7 @@ exp_get_vma (etree_type *tree, bfd_vma d
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_typ
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;
}
Index: ld/lexsup.c
===================================================================
RCS file: /cvs/src/src/ld/lexsup.c,v
retrieving revision 1.101
diff -u -p -r1.101 lexsup.c
--- ld/lexsup.c 6 Jul 2007 14:09:41 -0000 1.101
+++ ld/lexsup.c 17 Aug 2007 02:28:47 -0000
@@ -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=<method>", required_argument, NULL,
OPTION_UNRESOLVED_SYMBOLS},
'\0', NULL, N_("How to handle unresolved symbols. <method> 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},
Index: ld/emultempl/armcoff.em
===================================================================
RCS file: /cvs/src/src/ld/emultempl/armcoff.em,v
retrieving revision 1.27
diff -u -p -r1.27 armcoff.em
--- ld/emultempl/armcoff.em 19 Jul 2007 19:56:10 -0000 1.27
+++ ld/emultempl/armcoff.em 17 Aug 2007 02:28:48 -0000
@@ -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);
}
Index: ld/emultempl/pe.em
===================================================================
RCS file: /cvs/src/src/ld/emultempl/pe.em,v
retrieving revision 1.126
diff -u -p -r1.126 pe.em
--- ld/emultempl/pe.em 19 Jul 2007 19:56:10 -0000 1.126
+++ ld/emultempl/pe.em 17 Aug 2007 02:28:50 -0000
@@ -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) */
--
Alan Modra
Australia Development Lab, IBM