bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

A trivial --help problem of ld (with patch)


From: Wu Yongwei
Subject: A trivial --help problem of ld (with patch)
Date: Thu, 23 Jan 2003 11:34:56 +0800
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01

At the end of the help information of current GNU ld version, the line
containing "--dll-search-prefix=<string>" crosses the 80-column border,
and is ugly.  Move "an" to the next line should be OK.

I am also puzzled by an "i" in the corresponding info page.

Attached is the patch.  The ChangeLog:

2003-01-23  Wu Yongwei  <address@hidden>

        * ld.texinfo: Remove an extra "i" in --dll-search-prefix.
        * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Move a
        cross-80th-column-margin "an" to the next line.

This is my first posting here.  Please inform me if there are any problems.

Best regards,

Wu Yongwei
Index: ld/ld.texinfo
===================================================================
RCS file: /cvs/src/src/ld/ld.texinfo,v
retrieving revision 1.83
diff -u -r1.83 ld.texinfo
--- ld/ld.texinfo       14 Jan 2003 11:25:58 -0000      1.83
+++ ld/ld.texinfo       23 Jan 2003 03:23:27 -0000
@@ -1799,7 +1799,7 @@
 @cindex DLLs, linking to
 @kindex --dll-search-prefix
 @item --dll-search-prefix @var{string}
-When linking dynamically to a dll without an import library, i
+When linking dynamically to a dll without an import library,
 search for @code{<string><basename>.dll} in preference to 
 @code{lib<basename>.dll}. This behavior allows easy distinction
 between DLLs built for the various "subplatforms": native, cygwin,
Index: ld/emultempl/pe.em
===================================================================
RCS file: /cvs/src/src/ld/emultempl/pe.em,v
retrieving revision 1.74
diff -u -r1.74 pe.em
--- ld/emultempl/pe.em  17 Dec 2002 12:16:38 -0000      1.74
+++ ld/emultempl/pe.em  23 Jan 2003 03:23:27 -0000
@@ -357,8 +357,8 @@
   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 without an\n\
-                                       importlib, use <string><basename>.dll 
\n\
+  fprintf (file, _("  --dll-search-prefix=<string>       When linking 
dynamically to a dll without\n\
+                                       an 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"));

reply via email to

[Prev in Thread] Current Thread [Next in Thread]