aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-12-06 10:22:36 +0000
committerNick Clifton <nickc@redhat.com>2001-12-06 10:22:36 +0000
commite3c8793a40881c55503b889833d60343ab61584a (patch)
tree12b861d897a5a6283af79fdf583349e914c8cae5 /ld
parent284a190e5223c2b011878741af6b12178b1da66f (diff)
downloadgdb-e3c8793a40881c55503b889833d60343ab61584a.zip
gdb-e3c8793a40881c55503b889833d60343ab61584a.tar.gz
gdb-e3c8793a40881c55503b889833d60343ab61584a.tar.bz2
Fixes to improve the ability to translate messages in the binutils tools
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog11
-rw-r--r--ld/emultempl/pe.em22
-rw-r--r--ld/ldmain.c3
3 files changed, 23 insertions, 13 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index a3e238b..4381547 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,14 @@
+2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * emultempl/pe.em (..._list_options): Replace multiple fprintf
+ statements describing a single option with a single, newline
+ escaped fprintf. This allows better translation into other
+ languages.
+
+ * ldmain.c (add_archive_element): Combine multiple strings
+ into a single string to permit better translation into other
+ languages.
+
2001-12-05 Tom Rix <trix@redhat.com>
* Makefile.am: Remove eaixppc64.
diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em
index 8b3919c..49e946b 100644
--- a/ld/emultempl/pe.em
+++ b/ld/emultempl/pe.em
@@ -338,19 +338,19 @@ gld_${EMULATION_NAME}_list_options (file)
fprintf (file, _(" --out-implib <file> Generate import library\n"));
fprintf (file, _(" --output-def <file> Generate a .DEF file for the built DLL\n"));
fprintf (file, _(" --warn-duplicate-exports Warn about duplicate exports.\n"));
- fprintf (file, _(" --compat-implib Create backward compatible import libs;\n"));
- fprintf (file, _(" create __imp_<SYMBOL> as well.\n"));
- fprintf (file, _(" --enable-auto-image-base Automatically choose image base for DLLs\n"));
- fprintf (file, _(" unless user specifies one\n"));
+ fprintf (file, _(" --compat-implib Create backward compatible import libs;\n\
+ create __imp_<SYMBOL> as well.\n"));
+ fprintf (file, _(" --enable-auto-image-base Automatically choose image base for DLLs\n\
+ unless user specifies one\n"));
fprintf (file, _(" --disable-auto-image-base Do not auto-choose image base. (default)\n"));
- fprintf (file, _(" --dll-search-prefix=<string> When linking dynamically to a dll witout an\n"));
- fprintf (file, _(" importlib, use <string><basename>.dll \n"));
- fprintf (file, _(" in preference to lib<basename>.dll \n"));
- fprintf (file, _(" --enable-auto-import Do sophistcated linking of _sym to \n"));
- fprintf (file, _(" __imp_sym for DATA references\n"));
+ fprintf (file, _(" --dll-search-prefix=<string> When linking dynamically to a dll witout an\n\
+ importlib, use <string><basename>.dll \n\
+ in preference to lib<basename>.dll \n"));
+ fprintf (file, _(" --enable-auto-import Do sophistcated linking of _sym to \n\
+ __imp_sym for DATA references\n"));
fprintf (file, _(" --disable-auto-import Do not auto-import DATA items from DLLs\n"));
- fprintf (file, _(" --enable-extra-pe-debug Enable verbose debug output when building\n"));
- fprintf (file, _(" or linking to DLLs (esp. auto-import)\n"));
+ fprintf (file, _(" --enable-extra-pe-debug Enable verbose debug output when building\n\
+ or linking to DLLs (esp. auto-import)\n"));
#endif
}
diff --git a/ld/ldmain.c b/ld/ldmain.c
index eacc739..e9fcc6a 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -836,8 +836,7 @@ add_archive_element (info, abfd, name)
{
char buf[100];
- sprintf (buf, "%-29s %s\n\n", _("Archive member included"),
- _("because of file (symbol)"));
+ sprintf (buf, _("Archive member included because of file (symbol)\n\n"));
minfo ("%s", buf);
header_printed = true;
}