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 | cd635f74a3b71043d35501db31b3acac956018cd (patch) | |
tree | 266da11fe5222e4aa1df4c51061340ee39169310 /gdb/ChangeLog | |
parent | 238f2452e6d94f7b227a9d132f5ae887299d96c6 (diff) | |
download | gdb-cd635f74a3b71043d35501db31b3acac956018cd.zip gdb-cd635f74a3b71043d35501db31b3acac956018cd.tar.gz gdb-cd635f74a3b71043d35501db31b3acac956018cd.tar.bz2 |
[AArch64] Handle HFA and HVA together
AArch64 AAPCS defined HFA (homogeneous floating-point aggregate)
and HVF (homogeneous short vector aggregate), bug GDB only handles the
former. In the AAPCS doc, both types are treated exactly the same
in terms of alignment and passing locations (on registers or stack).
This patch is to extend is_hfa to handle both HFA and HVA.
gdb:
2015-11-27 Yao Qi <yao.qi@linaro.org>
* aarch64-tdep.c (is_hfa): Rename to ...
(is_hfa_or_hva): ... this. Handle vector type. All callers
updated.
(aarch64_extract_return_value): Update debugging message.
(aarch64_store_return_value): Likewise.
(aarch64_return_in_memory): Update comments.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0ee4197..e883ffc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,14 @@ 2015-11-27 Yao Qi <yao.qi@linaro.org> + * aarch64-tdep.c (is_hfa): Rename to ... + (is_hfa_or_hva): ... this. Handle vector type. All callers + updated. + (aarch64_extract_return_value): Update debugging message. + (aarch64_store_return_value): Likewise. + (aarch64_return_in_memory): Update comments. + +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. |