summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-01-07 19:46:04 +0000
committerNick Clifton <nickc@redhat.com>2000-01-07 19:46:04 +0000
commitfa19fce00328512d4e0e86da9fa7ca4487997c7c (patch)
tree2b270f8270c06169d83361b63b0404c18e1c4f45
parent4e53152f8faf67e5af38e7b8e755113ea1719124 (diff)
downloadbinutils-gdb-fa19fce00328512d4e0e86da9fa7ca4487997c7c.tar.gz
Fix description of -n command line switch
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/ld.texinfo7
2 files changed, 7 insertions, 5 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 465db1be90c..a51801812bd 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,8 +1,9 @@
2000-01-07 Nick Clifton <nickc@cygnus.com>
* ld.texinfo (Options): Remind users to preceed linker command
- line switches with -Wl, if it is being invoked by a comnpiler
- driver program.
+ line switches with -Wl, (or whatever is appropriate) if it is
+ being invoked by a comnpiler driver program.
+ Fix description of the behaviour of the -n command line switch.
Wed Jan 5 08:02:12 2000 Catherine Moore <clm@cygnus.com>
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 9b822bd92be..a786dd2c752 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -230,7 +230,8 @@ of multiple-letter options are accepted.
Note - if the linker is being invoked indirectly, via a compiler driver
(eg @samp{gcc}) then all the linker command line options should be
-prefixed by @samp{-Wl,} like this:
+prefixed by @samp{-Wl,} (or whatever is appropriate for the particular
+compiler driver) like this:
@smallexample
gcc -Wl,--startgroup foo.o bar.o -Wl,--endgroup
@@ -558,8 +559,8 @@ which caused the archive member to be brought in.
@kindex --nmagic
@item -n
@itemx --nmagic
-Set the text segment to be read only, and mark the output as
-@code{NMAGIC} if possible.
+Turn off page alignment of sections, and mark the output as
+@code{NMAGIC} if possible.
@kindex -N
@kindex --omagic