From 03139d5b1cf95d5b2f699e8f56e1f0ba2d7f89e4 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Tue, 20 Nov 2018 14:56:11 +1100 Subject: libdl: Add object file dependencies to track references Tracking references lets us manage when an object file can be unloaded. If an object file has references to it, it cannot be unloaded. Modules that depend on each other cannot be unloaded. Updates #3605 --- cpukit/libdl/rtl-elf.h | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'cpukit/libdl/rtl-elf.h') diff --git a/cpukit/libdl/rtl-elf.h b/cpukit/libdl/rtl-elf.h index 5d560a0b34..1f5f82eb89 100644 --- a/cpukit/libdl/rtl-elf.h +++ b/cpukit/libdl/rtl-elf.h @@ -122,28 +122,6 @@ bool rtems_rtl_elf_relocate_rela (const rtems_rtl_obj* obj, const Elf_Byte syminfo, const Elf_Word symvalue); -/** - * Find the symbol. The symbol is passed as an ELF type symbol with the name - * and the value returned is the absolute address of the symbol. - * - * If the symbol type is STT_NOTYPE the symbol references a global symbol. The - * gobal symbol table is searched to find it and that value returned. If the - * symbol is local to the object module the section for the symbol is located - * and it's base added to the symbol's value giving an absolute location. - * - * @param obj The object the symbol is being resolved for. - * @param sym The ELF type symbol. - * @param symname The sym's name read from the symbol string table. - * @param value Return the value of the symbol. Only valid if the return value - * is true. - * @retval true The symbol resolved. - * @retval false The symbol could not be result. The RTL error is set. - */ -bool rtems_rtl_elf_find_symbol (rtems_rtl_obj* obj, - const Elf_Sym* sym, - const char* symname, - Elf_Word* value); - /** * The ELF format check handler. * -- cgit v1.2.3