PowerPC64 little-endian fixes: 32-bit DFP parameters
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 4 Feb 2014 17:33:04 +0000 (18:33 +0100)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 4 Feb 2014 17:36:47 +0000 (18:36 +0100)
commit5b757e5ddbd9ad252d9c51103f1aa52b41c2e947
treecf476a9f3b17b44d7f8dbf8d01ba405055971daa
parent084ee54552f6c35d740e8b9bc81a4fe8d8bb178b
PowerPC64 little-endian fixes: 32-bit DFP parameters

Passing a 32-bit DFP in register needs to use the least-significant part
of the register.  Like with a previous patch that addressed the same
issue for small structs, this patch makes sure the appropriate offset
is used on little-endian systems.

gdb/ChangeLog:

* ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
offset on little-endian when passing _Decimal32.
(ppc64_sysv_abi_return_value_base): Likewise for return values.
gdb/ChangeLog
gdb/ppc-sysv-tdep.c
This page took 0.02461 seconds and 4 git commands to generate.