aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1998-04-22 16:41:28 +0000
committerIan Lance Taylor <ian@airs.com>1998-04-22 16:41:28 +0000
commitf8a86f8f3f97e848b22fdb79e9b32a3dbf5e1d78 (patch)
tree2edf91d4ded11b4c08da5d1ae5e354a988c5f4a3 /ld/ld.texinfo
parentbcb92b02a4c144545b4d01352a5b54cdee5c186d (diff)
downloadgdb-f8a86f8f3f97e848b22fdb79e9b32a3dbf5e1d78.zip
gdb-f8a86f8f3f97e848b22fdb79e9b32a3dbf5e1d78.tar.gz
gdb-f8a86f8f3f97e848b22fdb79e9b32a3dbf5e1d78.tar.bz2
* ld.texinfo (MEMORY): Clarify use of >REGION.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r--ld/ld.texinfo17
1 files changed, 9 insertions, 8 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 98e6602..ddcba35 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -2708,14 +2708,15 @@ MEMORY
@end group
@end smallexample
-If you have defined a memory region named @samp{mem}, you can direct the
-linker to place specific output sections into that memory region by
-using the @samp{>@var{region}} output section attribute. @xref{Output
-Section Region}. If no address was specified for the output section,
-the linker will set the address to the next available address within the
-memory region. If the combined output sections directed to a memory
-region are too large for the region, the linker will issue an error
-message.
+Once you define a memory region, you can direct the linker to place
+specific output sections into that memory region by using the
+@samp{>@var{region}} output section attribute. For example, if you have
+a memory region named @samp{mem}, you would use @samp{>mem} in the
+output section definition. @xref{Output Section Region}. If no address
+was specified for the output section, the linker will set the address to
+the next available address within the memory region. If the combined
+output sections directed to a memory region are too large for the
+region, the linker will issue an error message.
@node PHDRS
@section PHDRS Command