History

defined twice: revert

An error message is changed to suggest -fcommon

seyko committed 11 years ago

Commit 35e715a1 parent c07785a1 file · +1 −1Browse files

Unified · Split

tccelf.c+1−1
@@ -248,7 +248,7 @@ ST_FUNC int add_elf_sym(Section *s, addr_t value, unsigned long size, · 247 unmodified lines
248 printf("new_bind=%x new_shndx=%x new_vis=%x old_bind=%x old_shndx=%x old_vis=%x\n",248 printf("new_bind=%x new_shndx=%x new_vis=%x old_bind=%x old_shndx=%x old_vis=%x\n",
249 sym_bind, sh_num, new_vis, esym_bind, esym->st_shndx, esym_vis);249 sym_bind, sh_num, new_vis, esym_bind, esym->st_shndx, esym_vis);
250#endif250#endif
251 // tcc_error_noabort("'%s' defined twice", name);251 tcc_error_noabort("'%s' defined twice... may be -fcommon is needed?", name);
252 }252 }
253 } else {253 } else {
254 do_patch:254 do_patch:

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