buffer when storing double and float varibles into %xmm0.
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.
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