diff options
| author | seyko <seyko2@gmail.com> | 2015-03-03 17:11:18 +0300 |
|---|---|---|
| committer | seyko <seyko2@gmail.com> | 2015-03-03 17:11:18 +0300 |
| commit | 6cbf4fb7406caa8e4e9d1bf745ca918c9a3349a1 (patch) | |
| tree | 7fa05a39f651cd84dba6ba23cda1e408fa104e5e | |
| parent | cd4f3d962d3d6f28bef49f00caac223092c6b4b6 (diff) | |
| download | tinycc-6cbf4fb7406caa8e4e9d1bf745ca918c9a3349a1.tar.gz tinycc-6cbf4fb7406caa8e4e9d1bf745ca918c9a3349a1.tar.bz2 | |
tcc_add_runtime() for a CONFIG_USE_LIBGCC case: reducing a complexity
| -rw-r--r-- | tccelf.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -1588,12 +1588,9 @@ 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"); - } else - tcc_add_support(s1, "libtcc1.a"); -#else - tcc_add_support(s1, "libtcc1.a"); + } #endif + tcc_add_support(s1, "libtcc1.a"); } /* tcc_add_bcheck tries to relocate a call to __bound_init in _init so |
