Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* RFA: correct size of long double on PPC Linux
@ 2004-03-24 18:10 Jim Blandy
  2004-03-26 14:12 ` Kevin Buettner
  0 siblings, 1 reply; 6+ messages in thread
From: Jim Blandy @ 2004-03-24 18:10 UTC (permalink / raw)
  To: gdb-patches


2004-03-24  Jim Blandy  <jimb@redhat.com>

	* ppc-linux-tdep.c (ppc_linux_init_abi): Long doubles are eight
	bytes long on PPC Linux.

Index: gdb/ppc-linux-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/ppc-linux-tdep.c,v
retrieving revision 1.49
diff -c -r1.49 ppc-linux-tdep.c
*** gdb/ppc-linux-tdep.c	14 Nov 2003 14:16:29 -0000	1.49
--- gdb/ppc-linux-tdep.c	11 Feb 2004 18:59:31 -0000
***************
*** 1042,1047 ****
--- 1042,1049 ----
  
    if (tdep->wordsize == 4)
      {
+       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


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

end of thread, other threads:[~2004-03-26 21:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-24 18:10 RFA: correct size of long double on PPC Linux Jim Blandy
2004-03-26 14:12 ` Kevin Buettner
2004-03-26 15:19   ` Daniel Jacobowitz
2004-03-26 15:45     ` Jim Blandy
2004-03-26 16:23       ` Kevin Buettner
2004-03-26 21:05         ` Jim Blandy

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