aboutsummaryrefslogtreecommitdiff
path: root/tccelf.c
diff options
context:
space:
mode:
authorgrischka <grischka>2011-08-06 16:49:30 +0200
committergrischka <grischka>2011-08-06 16:49:30 +0200
commite844fb11c25293ba346a3470fa4ca33184770538 (patch)
tree77f5bae58a5f458b05f3f630e606d9bb3aa6d95d /tccelf.c
parente6f3bf7f08e4ca32e66db906a7bb2ccefdc7a54d (diff)
downloadtinycc-e844fb11c25293ba346a3470fa4ca33184770538.tar.gz
tinycc-e844fb11c25293ba346a3470fa4ca33184770538.tar.bz2
libtcc: support more than one crtprefix
Looks like gcc has that. Oh Deer!
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");
}
}