]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
PR27101, as: Reject (byte) .align 0x100000000
authorAlan Modra <amodra@gmail.com>
Sun, 3 Jan 2021 22:23:37 +0000 (08:53 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 4 Jan 2021 00:38:05 +0000 (11:08 +1030)
commit90320e40958020aea265dc693d0613a330e40b61
tree8225aa019c4a8bbd3968fd15cf216859d1ffd234
parenta68494db8456671321e1607b6118c0032eec4ca6
PR27101, as: Reject (byte) .align 0x100000000

This allows alignments up to 2**TC_ALIGN_LIMIT, which might be larger
than an unsigned int can hold.

PR 27101
* read.c (s_align): Use a large enough type for "align" to hold
the result of get_absolute_expression.
gas/ChangeLog
gas/read.c