gdb/ppc-long-double.diff

19 lines
589 B
Diff

--- gdb/ppc-linux-tdep.c
+++ gdb/ppc-linux-tdep.c
@@ -1065,6 +1065,7 @@
{
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
+#if 0
/* 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
@@ -1074,6 +1075,7 @@
double' on PPC GNU/Linux are non-conformant. */
/* NOTE: cagney/2005-01-25: True for both 32- and 64-bit. */
set_gdbarch_long_double_bit (gdbarch, 8 * TARGET_CHAR_BIT);
+#endif
if (tdep->wordsize == 4)
{