]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[build] Use .balign directive instead of .align
authorMichael Brown <mcb30@ipxe.org>
Fri, 12 Feb 2021 23:22:54 +0000 (23:22 +0000)
committerMichael Brown <mcb30@ipxe.org>
Fri, 12 Feb 2021 23:22:54 +0000 (23:22 +0000)
commitc160fb259378e5f08190db39b5bf4f697f892e7c
tree371560e395c41d4f48eeeb5200ff7af4344f5fcd
parentb539e9a7e95c3a481c686ffcf310c87bc1e19707
[build] Use .balign directive instead of .align

The semantics of the assembler's .align directive vary by CPU
architecture.  For the ARM builds, it specifies a power of two rather
than a number of bytes.  This currently leads to the .einfo entries
(which do not appear in the final binary) having an alignment of 256
bytes for the ARM builds.

Fix by switching to the GNU-specific directive .balign, which is
consistent across architectures

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/x86/core/stack.S
src/arch/x86/core/stack16.S
src/arch/x86/interface/pcbios/e820mangler.S
src/arch/x86/interface/pxe/pxe_entry.S
src/arch/x86/prefix/exeprefix.S
src/arch/x86/prefix/mromprefix.S
src/arch/x86/prefix/romprefix.S
src/arch/x86/prefix/unlzma.S
src/arch/x86/transitions/liba20.S
src/arch/x86/transitions/librm.S
src/include/errno.h