History

tcc_add_runtime() for a CONFIG_USE_LIBGCC case: reducing a complexity

seyko committed 11 years ago

Commit 6cbf4fb1 parent cd4f3d91 file · +2 −5Browse files

Unified · Split

tccelf.c+2−5
@@ -1588,12 +1588,9 @@ ST_FUNC void tcc_add_runtime(TCCState *s1) · 1587 unmodified lines
1588#ifdef CONFIG_USE_LIBGCC1588#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#endif1592#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 so1596 /* tcc_add_bcheck tries to relocate a call to __bound_init in _init so

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t