An error message is changed to suggest -fcommon
Unified · Split
| @@ -248,7 +248,7 @@ ST_FUNC int add_elf_sym(Section *s, addr_t value, unsigned long size, · 247 unmodified lines | ||
| 248 | 248 | printf("new_bind=%x new_shndx=%x new_vis=%x old_bind=%x old_shndx=%x old_vis=%x\n", |
| 249 | 249 | sym_bind, sh_num, new_vis, esym_bind, esym->st_shndx, esym_vis); |
| 250 | 250 | #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 | 253 | } else { |
| 254 | 254 | do_patch: |