From c628c2296392ed3bf2cb8d8470668e64fe53389f Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Fri, 4 Mar 2022 10:27:15 -0300 Subject: elf: Remove ldconfig kernel version check Now that it was removed on libc.so. --- elf/readlib.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'elf/readlib.c') diff --git a/elf/readlib.c b/elf/readlib.c index 3651dcdd8e..ed42fbd48e 100644 --- a/elf/readlib.c +++ b/elf/readlib.c @@ -72,9 +72,8 @@ is_gdb_python_file (const char *name) /* Returns 0 if everything is ok, != 0 in case of error. */ int process_file (const char *real_file_name, const char *file_name, - const char *lib, int *flag, unsigned int *osversion, - unsigned int *isa_level, char **soname, int is_link, - struct stat *stat_buf) + const char *lib, int *flag, unsigned int *isa_level, + char **soname, int is_link, struct stat *stat_buf) { FILE *file; struct stat statbuf; @@ -172,8 +171,8 @@ process_file (const char *real_file_name, const char *file_name, /* Libraries have to be shared object files. */ else if (elf_header->e_type != ET_DYN) ret = 1; - else if (process_elf_file (file_name, lib, flag, osversion, isa_level, - soname, file_contents, statbuf.st_size)) + else if (process_elf_file (file_name, lib, flag, isa_level, soname, + file_contents, statbuf.st_size)) ret = 1; done: -- cgit v1.2.3