aboutsummaryrefslogtreecommitdiff
path: root/tccelf.c
diff options
context:
space:
mode:
authorseyko <seyko2@gmail.com>2015-10-25 00:41:17 +0300
committerseyko <seyko2@gmail.com>2015-10-25 00:41:17 +0300
commitc07785a1eac2ce244e7b5e2102e587961ff5c2dc (patch)
tree4e04fab12e865f3aada0992161c418f7526c7b9b /tccelf.c
parent12f94f27703032f1cd17924b352158a723a4ef7c (diff)
downloadtinycc-c07785a1eac2ce244e7b5e2102e587961ff5c2dc.tar.gz
tinycc-c07785a1eac2ce244e7b5e2102e587961ff5c2dc.tar.bz2
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; }
Diffstat (limited to 'tccelf.c')
-rw-r--r--tccelf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tccelf.c b/tccelf.c
index f9a8ced..e2d1e63 100644
--- a/tccelf.c
+++ b/tccelf.c
@@ -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: