diff options
| author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-03-04 10:27:15 -0300 |
|---|---|---|
| committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-05-16 15:03:49 -0300 |
| commit | c628c2296392ed3bf2cb8d8470668e64fe53389f (patch) | |
| tree | 9b81205495c9f84e216555e5630ece715a1c1523 /elf/readlib.c | |
| parent | b46d250656794e63a2946c481fda29271342dd1a (diff) | |
| download | glibc-c628c2296392ed3bf2cb8d8470668e64fe53389f.tar.xz glibc-c628c2296392ed3bf2cb8d8470668e64fe53389f.zip | |
elf: Remove ldconfig kernel version check
Now that it was removed on libc.so.
Diffstat (limited to 'elf/readlib.c')
| -rw-r--r-- | elf/readlib.c | 9 |
1 files changed, 4 insertions, 5 deletions
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: |
