gas .align limit
Alan Modra
amodra@gmail.com
Sat May 17 10:14:42 GMT 2025
I've been looking at removing any requirement that rs_align_code
frags need lots of memory. They should not, because the patterns of
nops used always have repeating sequences, and the repeating part only
needs memory for one repeat. The attached patch cleans up all the
target HANDLE_ALIGN code, except for x86_64. I've left x86 because
I'm unsure whether it matters that the short nop sequence is last. If
it doesn't matter then it can be placed first, and the repeating part
handled as for all other targets. If it should remain last then it
needs to be moved to a separate frag as is done for the group ending
nop on ppc.
cc'ing kvx and arm maintainers, because those targets have the most
significant changes and probably ought to be scrutinized well.
--
Alan Modra
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-tidy-target-HANDLE_ALIGN.patch
Type: text/x-diff
Size: 23613 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20250517/e89ab7a7/attachment-0001.bin>
More information about the Binutils
mailing list