diff options
author | Yao Qi <yao.qi@linaro.org> | 2015-11-27 14:50:30 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2015-11-27 14:50:30 +0000 |
commit | 238f2452e6d94f7b227a9d132f5ae887299d96c6 (patch) | |
tree | 13d53cc1bde5f53a7ecadfa40970762f62922692 /gdb/obsd-nat.c | |
parent | dfcb77a8d78462af49ebc42b41d6fc504f4c2cf0 (diff) | |
download | gdb-238f2452e6d94f7b227a9d132f5ae887299d96c6.zip gdb-238f2452e6d94f7b227a9d132f5ae887299d96c6.tar.gz gdb-238f2452e6d94f7b227a9d132f5ae887299d96c6.tar.bz2 |
[AArch64] Support gnu vector in inferior call
As defined in AArch64 AAPCS, short vectors are passed through V
registers, and its maximum alignment is 16-byte. This patch is
to reflect these rules in GDB. This patch fixes some fails in
gdb.base/gnu_vector.exp.
gdb:
2015-11-27 Yao Qi <yao.qi@linaro.org>
* aarch64-tdep.c (aarch64_type_align): For vector type, return
its length, but with the maximum of 16 bytes.
(is_hfa): Return zero for vector type.
(aarch64_push_dummy_call): Handle short vectors.
(aarch64_extract_return_value): Likewise.
(aarch64_store_return_value): Likewise.
Diffstat (limited to 'gdb/obsd-nat.c')
0 files changed, 0 insertions, 0 deletions