diff options
author | Richard Henderson <rth@redhat.com> | 2002-10-20 15:37:14 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-10-20 15:37:14 -0700 |
commit | c590b62588c84c4f0b7770a9e5c6f3216a87dce7 (patch) | |
tree | abe4a377f5765b9d4daf391afe9b62b6a6f5af4f /gcc/config/mmix | |
parent | 16f7d029b9501a8dce95d7a4cc00e54f687ddf59 (diff) | |
download | gcc-c590b62588c84c4f0b7770a9e5c6f3216a87dce7.zip gcc-c590b62588c84c4f0b7770a9e5c6f3216a87dce7.tar.gz gcc-c590b62588c84c4f0b7770a9e5c6f3216a87dce7.tar.bz2 |
target.h (struct gcc_target): Line wrap.
* target.h (struct gcc_target): Line wrap.
* config/alpha/alpha.c (alpha_output_mi_thunk_osf): Static.
(TARGET_ASM_OUTPUT_MI_THUNK): Define here...
* config/alpha/alpha.h: ... not here.
* config/alpha/alpha-protos.h: Update.
* config/arm/arm.c, config/arm/arm.h, config/arm/arm-protos.h
config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
config/frv/frv-protos.h, config/frv/frv.c, config/frv/frv.h,
config/i386/i386-protos.h, config/i386/i386.c, config/i386/openbsd.h,
config/i386/unix.h, config/i960/i960-protos.h, config/i960/i960.c,
config/i960/i960.h, config/ia64/ia64-protos.h, config/ia64/ia64.c,
config/ia64/ia64.h, config/m68k/linux.h, config/m68k/m68k-protos.h,
config/m68k/m68k.c, config/m68k/netbsd-elf.h, config/m68k/openbsd.h,
config/mmix/mmix-protos.h, config/mmix/mmix.c, config/mmix/mmix.h,
config/pa/pa-protos.h, config/pa/pa.c, config/pa/pa.h,
config/s390/s390-protos.h, config/s390/s390.c, config/s390/s390.h,
config/sparc/openbsd.h, config/sparc/sparc-protos.h,
config/sparc/sparc.c, config/sparc/sparc.h,
config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
config/stormy16/stormy16.h: Similarly.
* config/m68k/m68k.c (m68k_output_mi_thunk): Replicate mnemonic
selection logic from call patterns.
From-SVN: r58340
Diffstat (limited to 'gcc/config/mmix')
-rw-r--r-- | gcc/config/mmix/mmix-protos.h | 1 | ||||
-rw-r--r-- | gcc/config/mmix/mmix.c | 7 | ||||
-rw-r--r-- | gcc/config/mmix/mmix.h | 3 |
3 files changed, 6 insertions, 5 deletions
diff --git a/gcc/config/mmix/mmix-protos.h b/gcc/config/mmix/mmix-protos.h index 0328df1..a6a4e3c 100644 --- a/gcc/config/mmix/mmix-protos.h +++ b/gcc/config/mmix/mmix-protos.h @@ -80,7 +80,6 @@ extern void mmix_asm_output_aligned_local PARAMS ((FILE *, const char *, int, int)); extern void mmix_asm_declare_register_global PARAMS ((FILE *, tree, int, const char *)); -extern void mmix_asm_output_mi_thunk PARAMS ((FILE *, tree, HOST_WIDE_INT, tree)); /* Need tree.h and rtl.h */ # ifdef RTX_CODE diff --git a/gcc/config/mmix/mmix.c b/gcc/config/mmix/mmix.c index e79e873..141ad2e 100644 --- a/gcc/config/mmix/mmix.c +++ b/gcc/config/mmix/mmix.c @@ -130,6 +130,8 @@ static void mmix_target_asm_function_prologue static void mmix_target_asm_function_end_prologue PARAMS ((FILE *)); static void mmix_target_asm_function_epilogue PARAMS ((FILE *, HOST_WIDE_INT)); +static void mmix_asm_output_mi_thunk + PARAMS ((FILE *, tree, HOST_WIDE_INT, tree)); /* Target structure macros. Listed by node. See `Using and Porting GCC' @@ -162,6 +164,9 @@ static void mmix_target_asm_function_epilogue #undef TARGET_STRIP_NAME_ENCODING #define TARGET_STRIP_NAME_ENCODING mmix_strip_name_encoding +#undef TARGET_ASM_OUTPUT_MI_THUNK +#define TARGET_ASM_OUTPUT_MI_THUNK mmix_asm_output_mi_thunk + struct gcc_target targetm = TARGET_INITIALIZER; /* Functions that are expansions for target macros. @@ -772,7 +777,7 @@ mmix_target_asm_function_epilogue (stream, locals_size) /* TARGET_ASM_OUTPUT_MI_THUNK. */ -void +static void mmix_asm_output_mi_thunk (stream, fndecl, delta, func) FILE * stream; tree fndecl ATTRIBUTE_UNUSED; diff --git a/gcc/config/mmix/mmix.h b/gcc/config/mmix/mmix.h index 8001f0a..05c0531 100644 --- a/gcc/config/mmix/mmix.h +++ b/gcc/config/mmix/mmix.h @@ -795,9 +795,6 @@ typedef struct { int regs; int lib; } CUMULATIVE_ARGS; #define EPILOGUE_USES(REGNO) \ ((REGNO) == MMIX_INCOMING_RETURN_ADDRESS_REGNUM) -#define TARGET_ASM_OUTPUT_MI_THUNK mmix_asm_output_mi_thunk - - /* Node: Profiling */ #define FUNCTION_PROFILER(FILE, LABELNO) \ mmix_function_profiler (FILE, LABELNO) |