From e844fb11c25293ba346a3470fa4ca33184770538 Mon Sep 17 00:00:00 2001 From: grischka Date: Sat, 6 Aug 2011 16:49:30 +0200 Subject: libtcc: support more than one crtprefix Looks like gcc has that. Oh Deer! --- tccelf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tccelf.c') 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"); } } -- cgit v1.3.1