This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/15723] setjmp trashes vmx regs when save buffer is misaligned


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]