Aarch64: Float register detection for _push_dummy_call
authorAlan Hayward <alan.hayward@arm.com>
Wed, 29 Aug 2018 10:40:05 +0000 (11:40 +0100)
committerAlan Hayward <alan.hayward@arm.com>
Wed, 29 Aug 2018 10:40:05 +0000 (11:40 +0100)
commit0e745c601150523093323c3fc77835604221a634
tree9f448cb187c618e167e38ba8a1c86aa9d6782b81
parentea92689a179c8c03af2ae46989339336d1dd48cd
Aarch64: Float register detection for _push_dummy_call

Use aapcs_is_vfp_call_or_return_candidate to detect float register
args, then pass in registers if there is room.

gdb/
* aarch64-tdep.c
(aapcs_is_vfp_call_or_return_candidate): Make static
(pass_in_v_or_stack): Remove function.
(pass_in_v_vfp_candidate): New function.
(aarch64_push_dummy_call): Check for float register candidates.
gdb/ChangeLog
gdb/aarch64-tdep.c