diff options
author | stuart <stuart@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-19 23:37:38 +0000 |
---|---|---|
committer | stuart <stuart@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-19 23:37:38 +0000 |
commit | 0943f35a6b00c9c15e615e4a3281082480b69b87 (patch) | |
tree | f4fba91b09bbff353d34648ad294b5f8effafbd0 /gcc/config/i386 | |
parent | dc2d42d9f8a04e67d31ed70b74f84040f9f088a4 (diff) | |
download | gcc-0943f35a6b00c9c15e615e4a3281082480b69b87.tar.gz |
* gcc/config/i386/i386.c (ix86_expand_call, x86_output_mi_thunk):
Trivial fixes for i386.c on Darwin/x86.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74859 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386')
-rw-r--r-- | gcc/config/i386/i386.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index bd57078f88b..a93d82ed0b9 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -11614,7 +11614,8 @@ ix86_expand_strlensi_unroll_1 (rtx out, rtx align_rtx) } void -ix86_expand_call (rtx retval, rtx fnaddr, rtx callarg1, rtx callarg2, +ix86_expand_call (rtx retval, rtx fnaddr, rtx callarg1, + rtx callarg2 ATTRIBUTE_UNUSED, rtx pop, int sibcall) { rtx use = NULL, call; @@ -15462,7 +15463,7 @@ x86_output_mi_thunk (FILE *file ATTRIBUTE_UNUSED, #if TARGET_MACHO if (TARGET_MACHO) { - char *ip = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (function)); + const char *ip = IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (function)); tmp = gen_rtx_SYMBOL_REF (Pmode, machopic_stub_name (ip)); tmp = gen_rtx_MEM (QImode, tmp); xops[0] = tmp; |