aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@codesourcery.com>2011-04-20 20:24:31 +0000
committerNathan Froyd <froydnj@gcc.gnu.org>2011-04-20 20:24:31 +0000
commitb861891b12c47fd2ca57df230dd463d60fbe88cb (patch)
tree952e2197590fdd56a7fce344718228ab92623644 /gcc
parent34149ed5689b5089baeca9bca11778988de93bad (diff)
downloadgcc-b861891b12c47fd2ca57df230dd463d60fbe88cb.zip
gcc-b861891b12c47fd2ca57df230dd463d60fbe88cb.tar.gz
gcc-b861891b12c47fd2ca57df230dd463d60fbe88cb.tar.bz2
mips.c (mips16_build_function_stub): Call build_function_type_list instead of build_function_type.
* config/mips/mips.c (mips16_build_function_stub): Call build_function_type_list instead of build_function_type. (mips16_build_call_stub): Likewise. From-SVN: r172796
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/mips/mips.c5
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c9a4689..9a2cd4f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
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
instead of build_function_type.
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 55d3e9f..2dd90e2 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -6075,7 +6075,7 @@ mips16_build_function_stub (void)
/* 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);
@@ -6321,7 +6321,8 @@ mips16_build_call_stub (rtx retval, rtx *fn_ptr, rtx args_size, int fp_code)
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,