]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
libsframe misaligned uint32_t
authorAlan Modra <amodra@gmail.com>
Mon, 19 Jan 2026 22:13:25 +0000 (08:43 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 21 Jan 2026 07:17:03 +0000 (17:47 +1030)
commitefcfd085473e7f8f730fced9ad3934712a30de87
tree705fa166b721680ff0b61f5e34135a7268a52bd3
parent6b043335282fedd79099d4ae0947aab281d6fcbb
libsframe misaligned uint32_t

I saw asan complaints about misaligned loads and stores when taking a
quick look at pr33810 before Jens' patch was applied.  They have
disappeared now, but it looks to me like a FRE can start on any
address boundary and there is no padding or suchlike to align the
FRE fields.

* sframe.c (flip_fre_stack_offsets): Let the compiler know
that integers may be misaligned.
libsframe/sframe.c