mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-05 00:04:22 +08:00
2006-06-08 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c (fp_register_arg_p): Recognize floating point typedefs.
This commit is contained in:
parent
719abd5321
commit
b2d6f210e9
@ -1,3 +1,7 @@
|
||||
2006-06-08 Michael Snyder <msnyder@redhat.com>
|
||||
|
||||
* mips-tdep.c (fp_register_arg_p): Recognize floating point typedefs.
|
||||
|
||||
2006-06-08 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
* m68k-tdep.c (m68k_dwarf_reg_to_regnum): New.
|
||||
|
@ -2335,7 +2335,8 @@ fp_register_arg_p (enum type_code typecode, struct type *arg_type)
|
||||
&& (typecode == TYPE_CODE_STRUCT
|
||||
|| typecode == TYPE_CODE_UNION)
|
||||
&& TYPE_NFIELDS (arg_type) == 1
|
||||
&& TYPE_CODE (TYPE_FIELD_TYPE (arg_type, 0)) == TYPE_CODE_FLT))
|
||||
&& TYPE_CODE (check_typedef (TYPE_FIELD_TYPE (arg_type, 0)))
|
||||
== TYPE_CODE_FLT))
|
||||
&& MIPS_FPU_TYPE != MIPS_FPU_NONE);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user