aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
authorTimothy Wall <twall@alum.mit.edu>2000-02-16 18:53:32 +0000
committerTimothy Wall <twall@alum.mit.edu>2000-02-16 18:53:32 +0000
commit562d3460fb28a90014290ac99c543f1085676a26 (patch)
tree58dc7ce8264e61d1142039093a28c5ba36e24898 /ld/ld.texinfo
parenta4f419971fc5444ee68a8e318a81464c8d8e51c3 (diff)
downloadfsf-binutils-gdb-562d3460fb28a90014290ac99c543f1085676a26.zip
fsf-binutils-gdb-562d3460fb28a90014290ac99c543f1085676a26.tar.gz
fsf-binutils-gdb-562d3460fb28a90014290ac99c543f1085676a26.tar.bz2
Add LMA memory region functionality.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r--ld/ld.texinfo9
1 files changed, 6 insertions, 3 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index a786dd2..8ecdef2 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -2127,7 +2127,7 @@ The full description of an output section looks like this:
@var{output-section-command}
@var{output-section-command}
@dots{}
- @} [>@var{region}] [:@var{phdr} :@var{phdr} @dots{}] [=@var{fillexp}]
+ @} [>@var{region}] [AT>@var{lma_region}] [:@var{phdr} :@var{phdr} @dots{}] [=@var{fillexp}]
@end group
@end smallexample
@@ -2632,7 +2632,7 @@ like this:
@var{output-section-command}
@var{output-section-command}
@dots{}
- @} [>@var{region}] [:@var{phdr} :@var{phdr} @dots{}] [=@var{fillexp}]
+ @} [>@var{region}] [AT>@var{lma_region}] [:@var{phdr} :@var{phdr} @dots{}] [=@var{fillexp}]
@end group
@end smallexample
We've already described @var{section}, @var{address}, and
@@ -2686,6 +2686,7 @@ SECTIONS @{
@node Output Section LMA
@subsubsection Output section LMA
+@kindex AT>@var{lma_region}
@kindex AT(@var{lma})
@cindex load address
@cindex section load address
@@ -2696,7 +2697,9 @@ Address}).
The linker will normally set the LMA equal to the VMA. You can change
that by using the @code{AT} keyword. The expression @var{lma} that
-follows the @code{AT} keyword specifies the load address of the section.
+follows the @code{AT} keyword specifies the load address of the
+section. Alternatively, with @samp{AT>@var{lma_region}} expression,
+you may specify a memory region for the section's load address. @xref{MEMORY}.
@cindex ROM initialized data
@cindex initialized data in ROM