OSDN Git Service

make powerpc64 vrregset_t logical layout match expected API
authorRich Felker <dalias@aerifal.cx>
Wed, 22 May 2019 22:28:32 +0000 (18:28 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 23 May 2019 03:27:48 +0000 (23:27 -0400)
commitac304227bb3ea1787d581f17d76a5f5f3abff51f
tree4acca016f9d9bbf3a73d5e3257a288f997b6f874
parent3c59a868956636bc8adafb1b168d090897692532
make powerpc64 vrregset_t logical layout match expected API

between v2 and v3 of the powerpc64 port patch, the change was made
from a 32x4 array of 32-bit unsigned ints for vrregs[] to a 32-element
array of __int128. this mismatches the API applications working with
mcontext_t expect from glibc, and seems to have been motivated by a
misinterpretation of a comment on how aarch64 did things as a
suggestion to do the same on powerpc64.
arch/powerpc64/bits/signal.h