Fix description of -n command line switch

This commit is contained in:
Nick Clifton 2000-01-07 19:46:04 +00:00
parent 4e53152f8f
commit fa19fce003
2 changed files with 7 additions and 5 deletions

View File

@ -1,8 +1,9 @@
2000-01-07 Nick Clifton <nickc@cygnus.com> 2000-01-07 Nick Clifton <nickc@cygnus.com>
* ld.texinfo (Options): Remind users to preceed linker command * ld.texinfo (Options): Remind users to preceed linker command
line switches with -Wl, if it is being invoked by a comnpiler line switches with -Wl, (or whatever is appropriate) if it is
driver program. 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> Wed Jan 5 08:02:12 2000 Catherine Moore <clm@cygnus.com>

View File

@ -230,7 +230,8 @@ of multiple-letter options are accepted.
Note - if the linker is being invoked indirectly, via a compiler driver Note - if the linker is being invoked indirectly, via a compiler driver
(eg @samp{gcc}) then all the linker command line options should be (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 @smallexample
gcc -Wl,--startgroup foo.o bar.o -Wl,--endgroup gcc -Wl,--startgroup foo.o bar.o -Wl,--endgroup
@ -558,8 +559,8 @@ which caused the archive member to be brought in.
@kindex --nmagic @kindex --nmagic
@item -n @item -n
@itemx --nmagic @itemx --nmagic
Set the text segment to be read only, and mark the output as Turn off page alignment of sections, and mark the output as
@code{NMAGIC} if possible. @code{NMAGIC} if possible.
@kindex -N @kindex -N
@kindex --omagic @kindex --omagic