summaryrefslogtreecommitdiff
path: root/gcc/doc/tm.texi
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-23 19:17:49 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-23 19:17:49 +0000
commit864af2096282bb2fa49507287362ec575701fe2e (patch)
tree715dfc6d43d67f4a0e0c332509b5531869b36669 /gcc/doc/tm.texi
parentd6541b10200ae57ba3dedeb4dad0868f846b0a6e (diff)
downloadgcc-864af2096282bb2fa49507287362ec575701fe2e.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71689 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc/tm.texi')
-rw-r--r--gcc/doc/tm.texi12
1 files changed, 4 insertions, 8 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index ef49a688033..582953b7bb5 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -6729,15 +6729,11 @@ This macro need not be defined if it does not need to output anything.
The GNU assembler and most Unix assemblers don't require anything.
@end defmac
-@defmac ASM_OUTPUT_EXTERNAL_LIBCALL (@var{stream}, @var{symref})
-A C statement (sans semicolon) to output on @var{stream} an assembler
+@deftypefn {Target Hook} void TARGET_ASM_EXTERNAL_LIBCALL (rtx @var{symref})
+This target hook is a function to output to @var{asm_out_file} an assembler
pseudo-op to declare a library function name external. The name of the
-library function is given by @var{symref}, which has type @code{rtx} and
-is a @code{symbol_ref}.
-
-This macro need not be defined if it does not need to output anything.
-The GNU assembler and most Unix assemblers don't require anything.
-@end defmac
+library function is given by @var{symref}, which is a @code{symbol_ref}.
+@end deftypefn
@defmac ASM_OUTPUT_LABELREF (@var{stream}, @var{name})
A C statement (sans semicolon) to output to the stdio stream