aboutsummaryrefslogtreecommitdiff
path: root/binutils/objcopy.1
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>1998-02-18 02:45:07 +0000
committerRichard Henderson <rth@redhat.com>1998-02-18 02:45:07 +0000
commita3a4bb5d4a9fce2a77285c7e1a7f9221fc58309c (patch)
tree68ed128339ece9a973822a15ecbfc8bd79c57c5b /binutils/objcopy.1
parent0c22a4c12540046f7aeae4b8c6da34f50c8768ea (diff)
downloadfsf-binutils-gdb-a3a4bb5d4a9fce2a77285c7e1a7f9221fc58309c.zip
fsf-binutils-gdb-a3a4bb5d4a9fce2a77285c7e1a7f9221fc58309c.tar.gz
fsf-binutils-gdb-a3a4bb5d4a9fce2a77285c7e1a7f9221fc58309c.tar.bz2
* objcopy.c (compare_section_lma): Rename from _vma.
(copy_object): Gap fill based on LMA not VMA. * binutils.texi: Update and clarify. * objcopy.1: Likewise. PR 14917
Diffstat (limited to 'binutils/objcopy.1')
-rw-r--r--binutils/objcopy.15
1 files changed, 3 insertions, 2 deletions
diff --git a/binutils/objcopy.1 b/binutils/objcopy.1
index 07c52ec..6c98df8 100644
--- a/binutils/objcopy.1
+++ b/binutils/objcopy.1
@@ -178,12 +178,13 @@ because only certain debugging formats are supported, and the
conversion process can be time consuming.
.TP
.B \-\-gap\-fill=\fIval
-Fill gaps between sections with \fIval\fP. This is done by increasing
+Fill gaps between sections with \fIval\fP. This operation applies to
+the \fIload address\fP (LMA) of the sections. It is done by increasing
the size of the section with the lower address, and filling in the extra
space created with \fIval\fP.
.TP
.B \-\-pad\-to=\fIaddress
-Pad the output file up to the virtual address \fIaddress\fP. This is
+Pad the output file up to the load address \fIaddress\fP. This is
done by increasing the size of the last section. The extra space is
filled in with the value specified by \fB\-\-gap\-fill\fP (default
zero).