]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* ppc-linux-tdep.c (ppc_linux_init_abi): long doubles are 16 bytes
authorJim Blandy <jimb@codesourcery.com>
Wed, 11 Jun 2003 06:46:17 +0000 (06:46 +0000)
committerJim Blandy <jimb@codesourcery.com>
Wed, 11 Jun 2003 06:46:17 +0000 (06:46 +0000)
long.

gdb/ChangeLog
gdb/ppc-linux-tdep.c

index 300502e4d12d48fc4b080649e941c9ca5774c6ec..474b51ad3d7a66141b08a7b0f176d71b93364c91 100644 (file)
@@ -1,5 +1,8 @@
 2003-06-11  Jim Blandy  <jimb@redhat.com>
 
+       * ppc-linux-tdep.c (ppc_linux_init_abi): long doubles are 16 bytes
+       long.
+
        * arch-utils.c (always_use_struct_convention): New function.
        * arch-utils.h (always_use_struct_convention): New prototype.
        * alpha-tdep.c (alpha_use_struct_convention): Delete.
index a772c19935bf6007378e9cdaaacac8ee844bbf97..d9ce27fe9bc5d48f91dc985ea6cc1060d4424773 100644 (file)
@@ -1027,6 +1027,8 @@ ppc_linux_init_abi (struct gdbarch_info info,
   
   if (tdep->wordsize == 8)
     {
+      set_gdbarch_long_double_bit (gdbarch, 16 * TARGET_CHAR_BIT);
+
       set_gdbarch_call_dummy_address (gdbarch, ppc64_call_dummy_address);
 
       set_gdbarch_in_solib_call_trampoline