mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 02:53:48 +08:00
* sparc64-tdep.c (sparc64_store_arguments): Fix handling of
`float' arguments.
This commit is contained in:
parent
0647ed71ac
commit
8ada74e3cc
@ -1,3 +1,8 @@
|
||||
2004-01-04 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* sparc64-tdep.c (sparc64_store_arguments): Fix handling of
|
||||
`float' arguments.
|
||||
|
||||
2004-01-04 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* sparc64-tdep.c (sparc64_store_floating_fields): Update comment
|
||||
|
@ -911,10 +911,11 @@ sparc64_store_arguments (struct regcache *regcache, int nargs,
|
||||
undefined." Even though the psABI says that "the
|
||||
left half is undefined", set it to zero here. */
|
||||
memset (buf, 0, 4);
|
||||
valbuf = memcpy (buf + 4, valbuf, 4);
|
||||
memcpy (buf + 4, valbuf, 4);
|
||||
valbuf = buf;
|
||||
len = 8;
|
||||
if (element < 16)
|
||||
regnum = SPARC64_D0_REGNUM;
|
||||
regnum = SPARC64_D0_REGNUM + element;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user