Unified · Split
| @@ -1588,12 +1588,9 @@ ST_FUNC void tcc_add_runtime(TCCState *s1) · 1587 unmodified lines | |||
| 1588 | #ifdef CONFIG_USE_LIBGCC | 1588 | #ifdef CONFIG_USE_LIBGCC |
| 1589 | if (!s1->static_link) { | 1589 | if (!s1->static_link) { |
| 1590 | tcc_add_file(s1, TCC_LIBGCC); | 1590 | tcc_add_file(s1, TCC_LIBGCC); |
| 1591 | tcc_add_support(s1, "libtcc1.a"); | 1591 | } |
| 1592 | } else | ||
| 1593 | tcc_add_support(s1, "libtcc1.a"); | ||
| 1594 | #else | ||
| 1595 | tcc_add_support(s1, "libtcc1.a"); | ||
| 1596 | #endif | 1592 | #endif |
| 1593 | tcc_add_support(s1, "libtcc1.a"); | ||
| 1597 | } | 1594 | } |
| 1598 | 1595 | ||
| 1599 | /* tcc_add_bcheck tries to relocate a call to __bound_init in _init so | 1596 | /* tcc_add_bcheck tries to relocate a call to __bound_init in _init so |