History

Call fill_got_entry unconditionally

Call fill_got_entry unconditionally from fill_got so as to avoid warnings on !x86-64 architectures. This can be done since this code path is only followed by x86-64 architecture anyway.

Thomas Preud'homme committed 12 years ago

Commit 361ec4f1 parent c6017181 file · +0 −2Browse files

Unified · Split

tccelf.c+0−2
@@ -1541,13 +1541,11 @@ ST_FUNC void fill_got(TCCState *s1) · 1540 unmodified lines
15411541 continue;
15421542 for_each_elem(s, 0, rel, ElfW_Rel) {
15431543 switch (ELFW(R_TYPE) (rel->r_info)) {
1544−#ifdef TCC_TARGET_X86_64
15451544 case R_X86_64_GOT32:
15461545 case R_X86_64_GOTPCREL:
15471546 case R_X86_64_PLT32:
15481547 fill_got_entry(s1, rel);
15491548 break;
1550−#endif
15511549 }
15521550 }
15531551 }

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