aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/gld.119
1 files changed, 18 insertions, 1 deletions
diff --git a/ld/gld.1 b/ld/gld.1
index 93bfe39..2579063 100644
--- a/ld/gld.1
+++ b/ld/gld.1
@@ -58,7 +58,7 @@ gld \- the GNU linker
.I searchdir\c
\&\|]
.RB "[\|" \-M | \-m "\|]"
-.RB "[\|" \-n "\|]"
+.RB "[\|" \-n | \-N "\|]"
.RB "[\|" \-noinhibit-exec "\|]"
.RB "[\|" "\-R\ "\c
.I filename\c
@@ -511,6 +511,23 @@ about where symbols are mapped by \c
common storage allocation.
.TP
+.B \-N
+specifies readable and writable \c
+.B text\c
+\& and \c
+.B data\c
+\& sections. If
+the output format supports Unix style magic numbers, the output is
+marked as \c
+.B OMAGIC\c
+\&.
+
+When you use the `\|\c
+.B \-N\c
+\&\|' option, the linker does not page-align the
+data segment.
+
+.TP
.B \-n
sets the text segment to be read only, and \c
.B NMAGIC\c