]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/dicos-tdep.c
bfd_section_* macros
[thirdparty/binutils-gdb.git] / gdb / dicos-tdep.c
index 954428a1101fdde5543f60b07cc950685f6a37f0..3ef9114b10579ad907b4f81bb28a24ee0ed260ac 100644 (file)
@@ -70,7 +70,7 @@ dicos_load_module_p (bfd *abfd, int header_size)
   if (!section)
     return 0;
 
-  if (bfd_section_size (abfd, section) != header_size)
+  if (bfd_section_size (section) != header_size)
     return 0;
 
   /* Dicos LMs always have a "Dicos_loadModuleInfo" symbol