mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-28 14:30:48 +00:00
* ppc-linux-tdep.c (ppc_linux_init_abi): Long doubles are eight
bytes long on PPC GNU/Linux.
This commit is contained in:
parent
8c691c7a43
commit
81a07a45e4
@ -1,3 +1,8 @@
|
||||
2004-03-26 Jim Blandy <jimb@redhat.com>
|
||||
|
||||
* ppc-linux-tdep.c (ppc_linux_init_abi): Long doubles are eight
|
||||
bytes long on PPC GNU/Linux.
|
||||
|
||||
2004-03-26 David Carlton <carlton@kealia.com>
|
||||
|
||||
* PROBLEMS: Refer to gdb/1588 instead of gdb/826.
|
||||
|
@ -1076,6 +1076,15 @@ ppc_linux_init_abi (struct gdbarch_info info,
|
||||
|
||||
if (tdep->wordsize == 4)
|
||||
{
|
||||
/* NOTE: jimb/2004-03-26: The System V ABI PowerPC Processor
|
||||
Supplement says that long doubles are sixteen bytes long.
|
||||
However, as one of the known warts of its ABI, PPC GNU/Linux
|
||||
uses eight-byte long doubles. GCC only recently got 128-bit
|
||||
long double support on PPC, so it may be changing soon. The
|
||||
Linux Standards Base says that programs that use 'long
|
||||
double' on PPC GNU/Linux are non-conformant. */
|
||||
set_gdbarch_long_double_bit (gdbarch, 8 * TARGET_CHAR_BIT);
|
||||
|
||||
/* Until November 2001, gcc did not comply with the 32 bit SysV
|
||||
R4 ABI requirement that structures less than or equal to 8
|
||||
bytes should be returned in registers. Instead GCC was using
|
||||
|
Loading…
Reference in New Issue
Block a user