aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2002-08-01 18:37:38 +0000
committerZack Weinberg <zack@gcc.gnu.org>2002-08-01 18:37:38 +0000
commit905173ebdd1eb70594d11406b3aecf17ce5d0914 (patch)
treec4e73b6bb052a2ec44cd63943e0d3a2bd771829b /gcc/final.c
parent0870a49046f685c2a4fa0a62cf9b5732c3787c67 (diff)
downloadgcc-905173ebdd1eb70594d11406b3aecf17ce5d0914.zip
gcc-905173ebdd1eb70594d11406b3aecf17ce5d0914.tar.gz
gcc-905173ebdd1eb70594d11406b3aecf17ce5d0914.tar.bz2
final.c (output_alternate_entry_point): If ASM_OUTPUT_TYPE_DIRECTIVE is defined, use it.
* final.c (output_alternate_entry_point): If ASM_OUTPUT_TYPE_DIRECTIVE is defined, use it. From-SVN: r55939
Diffstat (limited to 'gcc/final.c')
-rw-r--r--gcc/final.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/final.c b/gcc/final.c
index e0b3860..7d817ae 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -1974,7 +1974,9 @@ output_alternate_entry_point (file, insn)
case LABEL_GLOBAL_ENTRY:
ASM_GLOBALIZE_LABEL (file, name);
case LABEL_STATIC_ENTRY:
- /* FIXME output a .type directive here if appropriate. */
+#ifdef ASM_OUTPUT_TYPE_DIRECTIVE
+ ASM_OUTPUT_TYPE_DIRECTIVE (file, name, "function");
+#endif
ASM_OUTPUT_LABEL (file, name);
break;