]> git.ipfire.org Git - thirdparty/qemu.git/commit
pc-bios/s390-ccw: Clarify alignment is in bytes
authorJens Remus <jremus@linux.ibm.com>
Tue, 1 Oct 2024 15:36:16 +0000 (17:36 +0200)
committerThomas Huth <thuth@redhat.com>
Wed, 23 Oct 2024 04:53:44 +0000 (06:53 +0200)
commitc58df213af7ec8924d219025a593b8f3ac475f16
treedd39fdfa82a69e7238b38457136035a16b76b1d6
parentf5aa2d9d4c6480fa73b89c935050afe57e5d8bd9
pc-bios/s390-ccw: Clarify alignment is in bytes

The assembler directive .align [1] has architecture-dependent behavior,
which may be ambiguous for the reader. Some architectures perform the
alignment in bytes, others in power of two. s390 does in bytes.

Use the directive .balign [2] instead, to clarify that the alignment
request is in bytes. No functional change.

[1] https://sourceware.org/binutils/docs/as/Align.html
[2] https://sourceware.org/binutils/docs/as/Balign.html

Signed-off-by: Jens Remus <jremus@linux.ibm.com>
Reviewed-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Message-ID: <20241001153618.17791-2-mhartmay@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
pc-bios/s390-ccw/start.S