aboutsummaryrefslogtreecommitdiff
path: root/tccelf.c
diff options
context:
space:
mode:
authorjiang <30155751@qq.com>2014-04-30 17:35:44 +0800
committerjiang <30155751@qq.com>2014-04-30 17:35:44 +0800
commitba61fd9cd1367589aad7e8056821f88f2e5b550b (patch)
tree2f9962d155b37715a634521237442043436d0cd8 /tccelf.c
parent5af0ea7fb8d6b2b2a2d3833caad5eda4b43ef595 (diff)
downloadtinycc-ba61fd9cd1367589aad7e8056821f88f2e5b550b.tar.gz
tinycc-ba61fd9cd1367589aad7e8056821f88f2e5b550b.tar.bz2
rename libtcc1.c
Diffstat (limited to 'tccelf.c')
-rw-r--r--tccelf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tccelf.c b/tccelf.c
index f0ed22b..5a5d4af 100644
--- a/tccelf.c
+++ b/tccelf.c
@@ -1443,16 +1443,16 @@ ST_FUNC void tcc_add_runtime(TCCState *s1)
#ifdef CONFIG_USE_LIBGCC
if (!s1->static_link) {
tcc_add_file(s1, TCC_LIBGCC);
- tcc_add_support(s1, "libtcc1.a");
+ tcc_add_support(s1, "libcrt.a");
} else
- tcc_add_support(s1, "libtcc1.a");
+ tcc_add_support(s1, "libcrt.a");
#else
- tcc_add_support(s1, "libtcc1.a");
+ tcc_add_support(s1, "libcrt.a");
#endif
}
/* tcc_add_bcheck tries to relocate a call to __bound_init in _init so
- libtcc1.a must be loaded before for __bound_init to be defined and
+ libcrt.a must be loaded before for __bound_init to be defined and
crtn.o must be loaded after to not finalize _init too early. */
tcc_add_bcheck(s1);