linux-user: avoid gcc array overrun warning for sparc
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 1 Feb 2011 15:54:52 +0000 (15:54 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Tue, 1 Feb 2011 17:03:02 +0000 (17:03 +0000)
commit49a5015228bb34a9be54c4afc41895694ca3a413
tree636dc1c4c98d4bda5447b9326bb04d7997622515
parent47690adfef91e9220c2455682ecdfb838bc6229f
linux-user: avoid gcc array overrun warning for sparc

Suppress a gcc array bounds overrun warning when filling in the SPARC
signal frame by adjusting our definition of the structure so that the
fp and callers_pc membes are part of the ins[] array rather than
separate fields; since qemu has no need to access the fields individually
there is no need to follow the kernel's structure field naming exactly.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
linux-user/signal.c