Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH]: Remove sparc-linux long double size override.
@ 2008-05-12 16:01 David Miller
  2008-05-12 16:38 ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: David Miller @ 2008-05-12 16:01 UTC (permalink / raw)
  To: gdb-patches


We realized many years ago that using 64-bit long doubles
for 32-bit sparc was a mistake and migrated all of userland
over to using proper 128-bit long doubles.

There isn't a way to really detect this at run time, but I
think it's better to move forward and delete this override
and get current systems right rather than support ancient
ones.

This fixes another swath of testsuite failures.

Ok to apply?

2008-05-11  David S. Miller  <davem@davemloft.net>

	* sparc-linux-tdep.c (sparc32_linux_init_abi): Remove
	long double size override, Linux does use 128-bit now.

Index: gdb/sparc-linux-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/sparc-linux-tdep.c,v
retrieving revision 1.27
diff -u -r1.27 sparc-linux-tdep.c
--- gdb/sparc-linux-tdep.c	11 May 2008 22:10:30 -0000	1.27
+++ gdb/sparc-linux-tdep.c	11 May 2008 22:16:42 -0000
@@ -264,10 +264,6 @@
      prologue analysis.  */
   tdep->plt_entry_size = 12;
 
-  /* GNU/Linux doesn't support the 128-bit `long double' from the psABI.  */
-  set_gdbarch_long_double_bit (gdbarch, 64);
-  set_gdbarch_long_double_format (gdbarch, floatformats_ieee_double);
-
   /* Enable TLS support.  */
   set_gdbarch_fetch_tls_load_module_address (gdbarch,
                                              svr4_fetch_objfile_link_map);


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-05-11 22:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-12 16:01 [PATCH]: Remove sparc-linux long double size override David Miller
2008-05-12 16:38 ` Daniel Jacobowitz
2008-05-12 19:46   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox