
1 Jun
2023
1 Jun
'23
5:24 p.m.
On Fri, May 12, 2023 at 04:31:05PM -0600, Sam Edwards wrote:
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.
Signed-off-by: Sam Edwards CFSworks@gmail.com
Applied to u-boot/next, thanks!
--
Tom