arguments: use byte-sized granularity for IniE

This is required, as ELF sections can start on byte boundaries.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2020-03-12 15:28:28 +08:00
parent e1d97d88ca
commit 8e515f2846

View file

@ -86,8 +86,8 @@ following values:
The fields `size`, `flags`, and `offset` occupy 64 bits (8 bytes). The The fields `size`, `flags`, and `offset` occupy 64 bits (8 bytes). The
`OFFSET` is a full 32-bit address. The `SIZE` field is in units of `OFFSET` is a full 32-bit address. The `SIZE` field is in units of
words, however as it is only 24 bits, meaning the largest section size bytes, however as it is only 24 bits, meaning the largest section size
is `2^26` bytes. is `2^24` bytes.
The `FLAGS` field contains the following four bits. Any region may be The `FLAGS` field contains the following four bits. Any region may be
marked NOCOPY, however RISC-V does not allow regions to be marked marked NOCOPY, however RISC-V does not allow regions to be marked