mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 04:50:07 +00:00
elf: Remove DL_STATIC_INIT
All users have been converted to the __rtld_static_init mechanism. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
parent
b7fc189f7f
commit
0b3e92bdf3
@ -781,10 +781,6 @@ dl_open_worker (void *a)
|
|||||||
_dl_call_libc_early_init (libc_map, initial);
|
_dl_call_libc_early_init (libc_map, initial);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef SHARED
|
|
||||||
DL_STATIC_INIT (new);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Run the initializer functions of new objects. Temporarily
|
/* Run the initializer functions of new objects. Temporarily
|
||||||
disable the exception handler, so that lazy binding failures are
|
disable the exception handler, so that lazy binding failures are
|
||||||
fatal. */
|
fatal. */
|
||||||
|
@ -135,12 +135,6 @@ dl_symbol_visibility_binds_local_p (const ElfW(Sym) *sym)
|
|||||||
# define DL_UNMAP(map) _dl_unmap_segments (map)
|
# define DL_UNMAP(map) _dl_unmap_segments (map)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* By default we do not need special support to initialize DSOs loaded
|
|
||||||
by statically linked binaries. */
|
|
||||||
#ifndef DL_STATIC_INIT
|
|
||||||
# define DL_STATIC_INIT(map)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Reloc type classes as returned by elf_machine_type_class().
|
/* Reloc type classes as returned by elf_machine_type_class().
|
||||||
ELF_RTYPE_CLASS_PLT means this reloc should not be satisfied by
|
ELF_RTYPE_CLASS_PLT means this reloc should not be satisfied by
|
||||||
some PLT symbol, ELF_RTYPE_CLASS_COPY means this reloc should not be
|
some PLT symbol, ELF_RTYPE_CLASS_COPY means this reloc should not be
|
||||||
|
Loading…
Reference in New Issue
Block a user