* 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:
parent
0c22a4c125
commit
a3a4bb5d4a
2 changed files with 6 additions and 4 deletions
|
@ -960,12 +960,13 @@ because only certain debugging formats are supported, and the
|
||||||
conversion process can be time consuming.
|
conversion process can be time consuming.
|
||||||
|
|
||||||
@item --gap-fill @var{val}
|
@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
|
the size of the section with the lower address, and filling in the extra
|
||||||
space created with @var{val}.
|
space created with @var{val}.
|
||||||
|
|
||||||
@item --pad-to @var{address}
|
@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
|
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).
|
filled in with the value specified by @samp{--gap-fill} (default zero).
|
||||||
|
|
||||||
|
|
|
@ -178,12 +178,13 @@ because only certain debugging formats are supported, and the
|
||||||
conversion process can be time consuming.
|
conversion process can be time consuming.
|
||||||
.TP
|
.TP
|
||||||
.B \-\-gap\-fill=\fIval
|
.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
|
the size of the section with the lower address, and filling in the extra
|
||||||
space created with \fIval\fP.
|
space created with \fIval\fP.
|
||||||
.TP
|
.TP
|
||||||
.B \-\-pad\-to=\fIaddress
|
.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
|
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
|
filled in with the value specified by \fB\-\-gap\-fill\fP (default
|
||||||
zero).
|
zero).
|
||||||
|
|
Loading…
Reference in a new issue