diff options
author | Sam Edwards <cfsworks@gmail.com> | 2023-05-13 01:31:05 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-06-01 00:23:01 +0300 |
commit | 719120392f4b2818767c38172f68272b1a50a5cd (patch) | |
tree | 004a5f8aacc29d6fcb1205d6abb338656815fcfd /fs | |
parent | d20481ee3c8a95ce713f595b5ee84969b1c9fa01 (diff) | |
download | u-boot-719120392f4b2818767c38172f68272b1a50a5cd.tar.xz |
arm: set alignment properly for asm funcs
ARM requires a 4-byte alignment on all ARM code (though this
requirement is relaxed to 2-byte for some THUMB code) and we
should be explicit about that here.
GAS has its own fix for this[1] that forces proper alignment
on any section containing assembled instructions, but this is
not universal: Clang's and other gaslike assemblers lack this
implicit alignment. Whether or not this is considered a bug in
those assemblers, it is better to ask directly for what we want.
[1]: https://sourceware.org/bugzilla/show_bug.cgi?id=12931
Signed-off-by: Sam Edwards <CFSworks@gmail.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions