about summary refs log tree commit diff
path: root/elf/readlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/readlib.c')
-rw-r--r--elf/readlib.c9
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: