Skip to content

Commit

Permalink
Remove declaration of Object::load_shared_object (#1487)
Browse files Browse the repository at this point in the history
Its definition was removed by 758aa22 in 2016.
  • Loading branch information
hainest committed Aug 18, 2023
1 parent d40984a commit 366f920
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion symtabAPI/src/Object-elf.C
Original file line number Diff line number Diff line change
Expand Up @@ -2419,7 +2419,6 @@ Object::Object(MappedFile *mf_, bool, void (*err_func)(const char *),
dwarf = DwarfHandle::createDwarfHandle(mf_->pathname(), elfHdr);

if (elfHdr->e_type() == ET_DYN) {
// load_shared_object(alloc_syms);
load_object(alloc_syms);
} else if (elfHdr->e_type() == ET_REL || elfHdr->e_type() == ET_EXEC) {
load_object(alloc_syms);
Expand Down
1 change: 0 additions & 1 deletion symtabAPI/src/Object-elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,6 @@ class Object : public AObject
void parseDwarfTypes(Symtab *obj);

void load_object(bool);
void load_shared_object(bool);

// initialize relocation_table_ from .rel[a].plt section entries
bool get_relocation_entries(Elf_X_Shdr *&rel_plt_scnp,
Expand Down

0 comments on commit 366f920

Please sign in to comment.