From 35e715a1e3eb9949419c92196a07bde3e281a613 Mon Sep 17 00:00:00 2001 From: seyko Date: Thu, 29 Oct 2015 17:10:04 +0300 Subject: [PATCH] defined twice: revert An error message is changed to suggest -fcommon --- tccelf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tccelf.c b/tccelf.c index e2d1e631..d2c4a901 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... may be -fcommon is needed?", name); } } else { do_patch: