aboutsummaryrefslogtreecommitdiff
path: root/tccelf.c
diff options
context:
space:
mode:
Diffstat (limited to 'tccelf.c')
-rw-r--r--tccelf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tccelf.c b/tccelf.c
index 47369ac..6c292d0 100644
--- a/tccelf.c
+++ b/tccelf.c
@@ -1247,7 +1247,7 @@ ST_FUNC void tcc_add_runtime(TCCState *s1)
#endif
/* add crt end if not memory output */
if (s1->output_type != TCC_OUTPUT_MEMORY)
- tcc_add_file(s1, TCC_CRTO("crtn.o"));
+ tcc_add_crt(s1, "crtn.o");
}
}