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
1375 return;1375 return;
1376 offset = s1->got_offsets[sym_index];1376 offset = s1->got_offsets[sym_index];
1377 section_reserve(s1->got, offset + PTR_SIZE);1377 section_reserve(s1->got, offset + PTR_SIZE);
1378#ifdef TCC_TARGET_X86_64
1378 /* only works for x86-64 */1379 /* only works for x86-64 */
1379 put32(s1->got->data + offset, sym->st_value >> 32);1380 put32(s1->got->data + offset, sym->st_value >> 32);
1381#endif
1380 put32(s1->got->data + offset, sym->st_value & 0xffffffff);1382 put32(s1->got->data + offset, sym->st_value & 0xffffffff);
1381}1383}
1382 1384

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