comment out tcc_error_noabort("'%s' defined twice"...

gcc-3.4.6 don't give such error by default
    example file1
	char __version_303_xxxxxxxx;
	void func1() {}
    example file2
	char __version_303_xxxxxxxx;
	void func2() {}
	int main() { return 0; }
master
seyko 2015-10-25 00:41:17 +03:00
parent 12f94f2770
commit c07785a1ea
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ ST_FUNC int add_elf_sym(Section *s, addr_t value, unsigned long size,
printf("new_bind=%x new_shndx=%x new_vis=%x old_bind=%x old_shndx=%x old_vis=%x\n",
sym_bind, sh_num, new_vis, esym_bind, esym->st_shndx, esym_vis);
#endif
tcc_error_noabort("'%s' defined twice", name);
// tcc_error_noabort("'%s' defined twice", name);
}
} else {
do_patch: