+2011-04-20 Nathan Froyd <froydnj@codesourcery.com>
+
+ * config/mips/mips.c (mips16_build_function_stub): Call
+ build_function_type_list instead of build_function_type.
+ (mips16_build_call_stub): Likewise.
+
2011-04-20 Nathan Froyd <froydnj@codesourcery.com>
* config/mep/mep.c (mep_init_builtins): Call build_function_type_list
/* Build a decl for the stub. */
stubdecl = build_decl (BUILTINS_LOCATION,
FUNCTION_DECL, get_identifier (stubname),
- build_function_type (void_type_node, NULL_TREE));
+ build_function_type_list (void_type_node, NULL_TREE));
DECL_SECTION_NAME (stubdecl) = build_string (strlen (secname), secname);
DECL_RESULT (stubdecl) = build_decl (BUILTINS_LOCATION,
RESULT_DECL, NULL_TREE, void_type_node);
stubid = get_identifier (stubname);
stubdecl = build_decl (BUILTINS_LOCATION,
FUNCTION_DECL, stubid,
- build_function_type (void_type_node, NULL_TREE));
+ build_function_type_list (void_type_node,
+ NULL_TREE));
DECL_SECTION_NAME (stubdecl) = build_string (strlen (secname), secname);
DECL_RESULT (stubdecl) = build_decl (BUILTINS_LOCATION,
RESULT_DECL, NULL_TREE,