ppc64: Handle short vectors as function return types
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Fri, 12 Jun 2015 15:43:48 +0000 (17:43 +0200)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Fri, 12 Jun 2015 15:43:48 +0000 (17:43 +0200)
commita1da2672bdc5adc551ad30d73eccea902063f583
treeb52062418be0cdfcbb784b12c4247567a5f32995
parenta34870829162e3276a9e0152efe2c7de5677a0c3
ppc64: Handle short vectors as function return types

Short synthetic vector types (i.e. those defined using GCC's
attribute ((vector_size)) instead of AltiVec vector types)
are returned in r3.  Fix ppc64_sysv_abi_return_value to
correctly handle this.

gdb/ChangeLog:

* ppc-sysv-tdep.c (ppc64_sysv_abi_return_value_base): Handle short
synthetic (non-AltiVec) vector types.
(ppc64_sysv_abi_return_value): Likewise.
gdb/ChangeLog
gdb/ppc-sysv-tdep.c