]> git.proxmox.com Git - qemu.git/commit
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)
commite321c34aa1d2560bea4d525af66417147467c515
tree636dc1c4c98d4bda5447b9326bb04d7997622515
parentc84a88d8cb298b6757ad01a12a8bbba66cb6eaa2
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