diff options
| author | Thomas Preud'homme <robotux@celest.fr> | 2014-02-10 21:34:04 +0800 |
|---|---|---|
| committer | Thomas Preud'homme <robotux@celest.fr> | 2014-02-10 21:35:00 +0800 |
| commit | 361ec4f98e129b9a5b76da0600b9d9abef9eb0c3 (patch) | |
| tree | b218048a380cec38c4ceff83051d86549596660d /tccelf.c | |
| parent | c6017182f653fed44543ef81110cf3abbc34a08b (diff) | |
| download | tinycc-361ec4f98e129b9a5b76da0600b9d9abef9eb0c3.tar.gz tinycc-361ec4f98e129b9a5b76da0600b9d9abef9eb0c3.tar.bz2 | |
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.
Diffstat (limited to 'tccelf.c')
| -rw-r--r-- | tccelf.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1541,13 +1541,11 @@ ST_FUNC void fill_got(TCCState *s1) continue; for_each_elem(s, 0, rel, ElfW_Rel) { switch (ELFW(R_TYPE) (rel->r_info)) { -#ifdef TCC_TARGET_X86_64 case R_X86_64_GOT32: case R_X86_64_GOTPCREL: case R_X86_64_PLT32: fill_got_entry(s1, rel); break; -#endif } } } |
