rtld-elf(1): remove obsolete pre_init() hook
It's no longer used since 600ee699ed
and r358358 respectively.
This commit is contained in:
parent
50d823d5b8
commit
b58c853edf
@ -360,12 +360,6 @@ ifunc_init(Elf_Auxinfo aux_info[__min_size(AT_COUNT)] __unused)
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
pre_init(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* Process non-PLT relocations
|
||||
*/
|
||||
|
@ -516,12 +516,6 @@ ifunc_init(Elf_Auxinfo aux_info[__min_size(AT_COUNT)] __unused)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
pre_init(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
int __getosreldate(void);
|
||||
|
||||
void
|
||||
|
@ -488,12 +488,6 @@ ifunc_init(Elf_Auxinfo aux_info[__min_size(AT_COUNT)] __unused)
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
pre_init(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
allocate_initial_tls(Obj_Entry *objs)
|
||||
{
|
||||
|
@ -502,12 +502,6 @@ ifunc_init(Elf_Auxinfo aux_info[__min_size(AT_COUNT)] __unused)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
pre_init(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
allocate_initial_tls(Obj_Entry *objs)
|
||||
{
|
||||
|
@ -759,12 +759,6 @@ ifunc_init(Elf_Auxinfo aux_info[__min_size(AT_COUNT)] __unused)
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
pre_init(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
allocate_initial_tls(Obj_Entry *objs)
|
||||
{
|
||||
|
@ -809,12 +809,6 @@ ifunc_init(Elf_Auxinfo aux_info[__min_size(AT_COUNT)] __unused)
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
pre_init(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
allocate_initial_tls(Obj_Entry *list)
|
||||
{
|
||||
|
@ -706,12 +706,6 @@ ifunc_init(Elf_Auxinfo aux_info[__min_size(AT_COUNT)] __unused)
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
pre_init(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
allocate_initial_tls(Obj_Entry *list)
|
||||
{
|
||||
|
@ -384,12 +384,6 @@ ifunc_init(Elf_Auxinfo aux_info[__min_size(AT_COUNT)] __unused)
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
pre_init(void)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
allocate_initial_tls(Obj_Entry *objs)
|
||||
{
|
||||
|
@ -803,12 +803,6 @@ _rtld(Elf_Addr *sp, func_ptr_type *exit_proc, Obj_Entry **objp)
|
||||
obj_main->fini_array = (Elf_Addr)NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
* Execute MD initializers required before we call the objects'
|
||||
* init functions.
|
||||
*/
|
||||
pre_init();
|
||||
|
||||
if (direct_exec) {
|
||||
/* Set osrel for direct-execed binary */
|
||||
mib[0] = CTL_KERN;
|
||||
|
@ -414,7 +414,6 @@ int reloc_iresolve(Obj_Entry *, struct Struct_RtldLockState *);
|
||||
int reloc_iresolve_nonplt(Obj_Entry *, struct Struct_RtldLockState *);
|
||||
int reloc_gnu_ifunc(Obj_Entry *, int flags, struct Struct_RtldLockState *);
|
||||
void ifunc_init(Elf_Auxinfo[__min_size(AT_COUNT)]);
|
||||
void pre_init(void);
|
||||
void init_pltgot(Obj_Entry *);
|
||||
void allocate_initial_tls(Obj_Entry *);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user