* x86-64-tdep.c (x86_64_store_return_value): Use an intermediate
buffer when storing double and float varibles into %xmm0.
This commit is contained in:
parent
68cc0bfb7d
commit
01e4b82365
|
@ -1,5 +1,8 @@
|
|||
2003-07-13 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* x86-64-tdep.c (x86_64_store_return_value): Use an intermediate
|
||||
buffer when storing double and float varibles into %xmm0.
|
||||
|
||||
* configure.host: Add x86_64-*-freebsd*.
|
||||
* configure.tgt: Add x86_64-*-freebsd*.
|
||||
* Makefile.in (amd64fbsd-nat.o, amd64fbsd-tdep.o): New targets.
|
||||
|
|
|
@ -788,7 +788,7 @@ x86_64_store_return_value (struct type *type, struct regcache *regcache,
|
|||
else if (TYPE_CODE_FLT == TYPE_CODE (type))
|
||||
{
|
||||
/* Handle double and float variables. */
|
||||
regcache_cooked_write (regcache, X86_64_XMM0_REGNUM, valbuf);
|
||||
regcache_cooked_write_part (regcache, X86_64_XMM0_REGNUM, 0, len, buf);
|
||||
}
|
||||
/* XXX: What about complex floating point types? */
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue