target.h (struct gcc_target): New member external_libcall.
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Tue, 23 Sep 2003 19:17:49 +0000 (19:17 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Tue, 23 Sep 2003 19:17:49 +0000 (19:17 +0000)
commit6773a41c431266eeaca36e8389cc60996a381251
tree715dfc6d43d67f4a0e0c332509b5531869b36669
parent8c8a95ffca3cc0dddb579d4f8a63ae25fb040061
target.h (struct gcc_target): New member external_libcall.

* target.h (struct gcc_target): New member external_libcall.
* target-def.h (TARGET_ASM_EXTERNAL_LIBCALL): Provide default.
(TARGET_ASM_OUT): Use it.
* doc/tm.texi (TARGET_ASM_EXTERNAL_LIBCALL): Document.
* targhooks.c: Convert to ISO C 90.
(default_external_libcall): New function.
* targhooks.h (default_external_libcall): Declare.
* varasm.c (assemble_external_libcall): Use
targetm.asm_out.external_libcall instead of
ASM_OUTPUT_EXTERNAL_LIBCALL.
* config/mips/mips-protos.h [TARGET_IRIX5 || TARGET_IRIX 6]
(mips_output_external_libcall): Declare.
* config/mips/mips.c (mips_output_external_libcall): Change
definition guard.
Change to match TARGET_ASM_EXTERNAL_LIBCALL.
Only operate for O32 ABI.
* config/mips/iris5.h (TARGET_ASM_EXTERNAL_LIBCALL): Define
instead of ASM_OUTPUT_EXTERNAL_LIBCALL.
* config/mips/iris6.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Don't undef,
superceded by TARGET_ASM_EXTERNAL_LIBCALL.

From-SVN: r71689
gcc/ChangeLog
gcc/config/mips/iris5.h
gcc/config/mips/iris6.h
gcc/config/mips/mips-protos.h
gcc/config/mips/mips.c
gcc/doc/tm.texi
gcc/target-def.h
gcc/target.h
gcc/targhooks.c
gcc/targhooks.h
gcc/varasm.c