1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-28 02:44:48 +03:00

temporary

This commit is contained in:
Rui Ueyama 2020-10-28 11:02:58 +09:00
parent 6b217e3508
commit 925114f5d2

View File

@ -116,13 +116,6 @@ void ObjectFile::initialize_sections() {
void ObjectFile::initialize_symbols() {
local_symbols.reserve(first_global);
for (int i = 0; i < elf_syms.size(); i++) {
const ELF64LE::Sym &esym = elf_syms[i];
StringRef name = CHECK(esym.getName(symbol_strtab), this);
static ConcurrentMap<int> map;
// map.insert(name, 3);
}
for (int i = 0; i < first_global; i++) {
const ELF64LE::Sym &esym = elf_syms[i];
StringRef name = CHECK(esym.getName(symbol_strtab), this);
@ -132,9 +125,6 @@ void ObjectFile::initialize_symbols() {
local_strtab_size += name.size() + 1;
local_symtab_size += sizeof(ELF64LE::Sym);
}
static ConcurrentMap<int> map;
map.insert(name, 3);
}
symbols.reserve(elf_syms.size() - first_global);