summaryrefslogtreecommitdiffstats
path: root/gcc/final.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-01 18:37:38 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2002-08-01 18:37:38 +0000
commit33ec64c4e282dfc7e49bd08c2b5fa56c37accad8 (patch)
treec4e73b6bb052a2ec44cd63943e0d3a2bd771829b /gcc/final.c
parent2232fc7cd8e2a2f6a82bbf2d272e1a62e5f57f1f (diff)
downloadppe42-gcc-33ec64c4e282dfc7e49bd08c2b5fa56c37accad8.tar.gz
ppe42-gcc-33ec64c4e282dfc7e49bd08c2b5fa56c37accad8.zip
* final.c (output_alternate_entry_point):
If ASM_OUTPUT_TYPE_DIRECTIVE is defined, use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55939 138bc75d-0d04-0410-961f-82ee72b054a4
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 e0b38601dbf..7d817ae582c 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;
OpenPOWER on IntegriCloud