This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Clarify --nmagic in ld manual
- From: Jie Zhang <jie dot zhang at analog dot com>
- To: Binutils <binutils at sourceware dot org>
- Date: Wed, 2 Dec 2009 13:34:32 +0800
- Subject: [PATCH] Clarify --nmagic in ld manual
The ld manual does not say that --nmagic disables linking against shared
libraries. But the code does disable. So let's make it clear in the manual.
Is it OK?
Jie
* ld.texinfo: Make it clear that --nmagic disables linking
against shared libraries.
Index: ld.texinfo
===================================================================
RCS file: /cvs/src/src/ld/ld.texinfo,v
retrieving revision 1.255
diff -u -p -r1.255 ld.texinfo
--- ld.texinfo 26 Nov 2009 13:45:25 -0000 1.255
+++ ld.texinfo 2 Dec 2009 05:26:36 -0000
@@ -780,8 +780,9 @@ scripts.
@kindex --nmagic
@item -n
@itemx --nmagic
-Turn off page alignment of sections, and mark the output as
-@code{NMAGIC} if possible.
+Turn off page alignment of sections, and disable linking against shared
+libraries. If the output format supports Unix style magic numbers,
+mark the output as @code{NMAGIC}.
@kindex -N
@kindex --omagic