1999-01-19 Fernando Nasser <fnasser@totem.to.cygnus.com>
[deliverable/binutils-gdb.git] / gdb / v850-tdep.c
index d6da5f39a8267ab86760b17ecc835273aca0cd65..082472405e7713bfccf5146490664f270ab34817 100644 (file)
@@ -48,6 +48,17 @@ struct prologue_info
 
 static CORE_ADDR v850_scan_prologue PARAMS ((CORE_ADDR pc, 
                                             struct prologue_info *fs));
+
+
+/* Should call_function allocate stack space for a struct return?  */
+int
+v850_use_struct_convention (gcc_p, type)
+     int gcc_p;
+     struct type *type;
+{
+  return (TYPE_NFIELDS (type) > 1 || TYPE_LENGTH (type) > 4);
+}
+
 \f
 /* Function: scan_prologue
    Scan the prologue of the function that contains PC, and record what
This page took 0.024257 seconds and 4 git commands to generate.