From b10977fc3cdfec0203132b30e0e620f9efda1946 Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Sat, 26 Mar 2011 12:16:23 +0100 Subject: [PATCH] dbghelp: Now that compilers (like clang) start to merge symbols across compilation units, no longer barf about duplicates. --- dlls/dbghelp/elf_module.c | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/dlls/dbghelp/elf_module.c b/dlls/dbghelp/elf_module.c index c6634556319..4ea27f6d2eb 100644 --- a/dlls/dbghelp/elf_module.c +++ b/dlls/dbghelp/elf_module.c @@ -767,28 +767,6 @@ static int elf_new_wine_thunks(struct module* module, const struct hash_table* h */ module->sortlist_valid = TRUE; } - else if (strcmp(ste->ht_elt.name, symt->hash_elt.name)) - { - ULONG64 xaddr = 0, xsize = 0; - DWORD kind = -1; - - symt_get_address(&symt->symt, &xaddr); - symt_get_info(module, &symt->symt, TI_GET_LENGTH, &xsize); - symt_get_info(module, &symt->symt, TI_GET_DATAKIND, &kind); - - /* If none of symbols has a correct size, we consider they are both markers - * Hence, we can silence this warning - * Also, we check that we don't have two symbols, one local, the other - * global which is legal - */ - if ((xsize || ste->symp->st_size) && - (kind == (ELF32_ST_BIND(ste->symp->st_info) == STB_LOCAL) ? DataIsFileStatic : DataIsGlobal)) - FIXME("Duplicate in %s: %s<%08lx-%08x> %s<%s-%s>\n", - debugstr_w(module->module.ModuleName), - ste->ht_elt.name, addr, (unsigned int)ste->symp->st_size, - symt->hash_elt.name, - wine_dbgstr_longlong(xaddr), wine_dbgstr_longlong(xsize)); - } } } /* see comment above */ -- 2.11.4.GIT