aboutsummaryrefslogtreecommitdiff
path: root/binutils
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
parent0c22a4c12540046f7aeae4b8c6da34f50c8768ea (diff)
downloadgdb-a3a4bb5d4a9fce2a77285c7e1a7f9221fc58309c.zip
gdb-a3a4bb5d4a9fce2a77285c7e1a7f9221fc58309c.tar.gz
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')
-rw-r--r--binutils/binutils.texi5
-rw-r--r--binutils/objcopy.15
2 files changed, 6 insertions, 4 deletions
diff --git a/binutils/binutils.texi b/binutils/binutils.texi
index 95291fd..b56035e 100644
--- a/binutils/binutils.texi
+++ b/binutils/binutils.texi
@@ -960,12 +960,13 @@ because only certain debugging formats are supported, and the
conversion process can be time consuming.
@item --gap-fill @var{val}
-Fill gaps between sections with @var{val}. This is done by increasing
+Fill gaps between sections with @var{val}. This operation applies to
+the @emph{load address} (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 @var{val}.
@item --pad-to @var{address}
-Pad the output file up to the virtual address @var{address}. This is
+Pad the output file up to the load address @var{address}. This is
done by increasing the size of the last section. The extra space is
filled in with the value specified by @samp{--gap-fill} (default zero).
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).