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
15881588 #ifdef CONFIG_USE_LIBGCC
15891589 if (!s1->static_link) {
15901590 tcc_add_file(s1, TCC_LIBGCC);
1591− tcc_add_support(s1, "libtcc1.a");
1592− } else
1593− tcc_add_support(s1, "libtcc1.a");
1594−#else
1595− tcc_add_support(s1, "libtcc1.a");
1591+ }
15961592 #endif
1593+ tcc_add_support(s1, "libtcc1.a");
15971594 }
15981595
15991596 /* 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