diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2002-08-01 18:37:38 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2002-08-01 18:37:38 +0000 |
commit | 905173ebdd1eb70594d11406b3aecf17ce5d0914 (patch) | |
tree | c4e73b6bb052a2ec44cd63943e0d3a2bd771829b /gcc/final.c | |
parent | 0870a49046f685c2a4fa0a62cf9b5732c3787c67 (diff) | |
download | gcc-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.c | 4 |
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; |