rtld-elf(1): remove obsolete pre_init() hook

It's no longer used since 600ee699ed
and r358358 respectively.
This commit is contained in:
Marius Strobl 2020-12-24 21:18:44 +01:00
parent 50d823d5b8
commit b58c853edf
10 changed files with 0 additions and 55 deletions

View File

@ -360,12 +360,6 @@ ifunc_init(Elf_Auxinfo aux_info[__min_size(AT_COUNT)] __unused)
}
void
pre_init(void)
{
}
/*
* Process non-PLT relocations
*/

View File

@ -516,12 +516,6 @@ ifunc_init(Elf_Auxinfo aux_info[__min_size(AT_COUNT)] __unused)
}
}
void
pre_init(void)
{
}
int __getosreldate(void);
void

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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;

View File

@ -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 *);