* 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
This commit is contained in:
Richard Henderson 1998-02-18 02:45:07 +00:00
parent 0c22a4c125
commit a3a4bb5d4a
2 changed files with 6 additions and 4 deletions

View File

@ -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).

View File

@ -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).