This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/15723] setjmp trashes vmx regs when save buffer is misaligned
- From: "amodra at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 10 Jul 2013 09:52:30 +0000
- Subject: [Bug libc/15723] setjmp trashes vmx regs when save buffer is misaligned
- Auto-submitted: auto-generated
- References: <bug-15723-131 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15723
--- Comment #2 from Alan Modra <amodra at gmail dot com> ---
A jmp_buf aligned to 16 bytes will avoid the problematic code, but comments in
sysdeps/powerpc/bits/setjmp.h seem to indicate that we can't assume that
alignment.
Looking at the history of bits/setjmp.h says at least some versions of glibc
defined jmp_buf as an array of long, so code might exist that only had 4-byte
(or 8-byte for ppc64) alignment.
--
You are receiving this mail because:
You are on the CC list for the bug.