History

tccelf: fix warning

grischka committed 16 years ago

Commit d2cf9701 parent e6f43dd1 file · +2 −0Browse files

Unified · Split

tccelf.c+2−0
@@ -1375,8 +1375,10 @@ ST_FUNC void fill_got_entry(TCCState *s1, ElfW_Rel *rel) · 1374 unmodified lines
13751375 return;
13761376 offset = s1->got_offsets[sym_index];
13771377 section_reserve(s1->got, offset + PTR_SIZE);
1378+#ifdef TCC_TARGET_X86_64
13781379 /* only works for x86-64 */
13791380 put32(s1->got->data + offset, sym->st_value >> 32);
1381+#endif
13801382 put32(s1->got->data + offset, sym->st_value & 0xffffffff);
13811383 }
13821384

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