diff options
author | Nick Clifton <nickc@redhat.com> | 2002-10-23 13:24:10 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2002-10-23 13:24:10 +0000 |
commit | 63fd3b826bd48b24777f41e323f7bf932350edbf (patch) | |
tree | c8df324733b976cca1060f02e09ab4e11440d747 /ld/ld.texinfo | |
parent | e82ce5296f0d7feb044b0ca62f1c7cc38e0be859 (diff) | |
download | gdb-63fd3b826bd48b24777f41e323f7bf932350edbf.zip gdb-63fd3b826bd48b24777f41e323f7bf932350edbf.tar.gz gdb-63fd3b826bd48b24777f41e323f7bf932350edbf.tar.bz2 |
Add new command line option "--no-omagic" which undoes the effects of -N.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r-- | ld/ld.texinfo | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 789e894..edf628d 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -660,8 +660,17 @@ Turn off page alignment of sections, and mark the output as @item -N @itemx --omagic Set the text and data sections to be readable and writable. Also, do -not page-align the data segment. If the output format supports Unix -style magic numbers, mark the output as @code{OMAGIC}. +not page-align the data segment, and disable linking against shared +libraries. If the output format supports Unix style magic numbers, +mark the output as @code{OMAGIC}. + +@kindex --no-omagic +@cindex OMAGIC +@item --no-omagic +This option negates most of the effects of the @option{-N} option. It +sets the text section to be read-only, and forces the data segment to +be page-aligned. Note - this option does not enable linking against +shared libraries. Use @option{-Bdynamic} for this. @kindex -o @var{output} @kindex --output=@var{output} |