diff options
author | Stuart Hastings <stuart@apple.com> | 2003-12-19 23:37:38 +0000 |
---|---|---|
committer | Stuart Hastings <stuart@gcc.gnu.org> | 2003-12-19 23:37:38 +0000 |
commit | 0f901c4c23669ad6a7dde805042e6566793c8eea (patch) | |
tree | f4fba91b09bbff353d34648ad294b5f8effafbd0 | |
parent | b240b5a250761c80f9f2116fff5ffe06f9a09a43 (diff) | |
download | gcc-0f901c4c23669ad6a7dde805042e6566793c8eea.zip gcc-0f901c4c23669ad6a7dde805042e6566793c8eea.tar.gz gcc-0f901c4c23669ad6a7dde805042e6566793c8eea.tar.bz2 |
i386.c (ix86_expand_call, [...]): Trivial fixes for i386.c on Darwin/x86.
* gcc/config/i386/i386.c (ix86_expand_call, x86_output_mi_thunk):
Trivial fixes for i386.c on Darwin/x86.
From-SVN: r74859
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index be2d353..c761ccc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-12-19 Stuart Hastings <stuart@apple.com> + * gcc/config/i386/i386.c (ix86_expand_call, x86_output_mi_thunk): + Trivial fixes for i386.c on Darwin/x86. + 2003-12-19 Fariborz Jahanian <fjahanian@apple.com> * config/rs6000/rs6000.c (legitimate_lo_sum_address_p): Add code to recognize macho-style lo_sum adrress patterns. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index bd57078..a93d82e 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; |