]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gas .align limit
authorAlan Modra <amodra@gmail.com>
Fri, 16 May 2025 03:01:39 +0000 (12:31 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 16 May 2025 11:16:42 +0000 (20:46 +0930)
commitff4c03516c390a75a0bfa913cd3d1e41802affd1
tree37c53d032d1c494b47c8feed47cebc672aae186e
parente04c2a82f21b45d4077c3f1bdbf6d71c9a3c83cf
gas .align limit

At the moment we allow alignment of up to half the address space,
which is stupidly large and results in OOM on x86_64.  Change that to
1G alignment in text sections.  Also fix the warning message on
exceeding max allowed alignment.

* read.c (TC_ALIGN_LIMIT): Limit to 30 in text sections.
(s_align): Correct "alignment too large" value.
gas/read.c