ubsan: moxie: left shift of negative value
[deliverable/binutils-gdb.git] / gdb / dicos-tdep.c
index 48f11a55d31fd713b72a263aa154577a90b2da59..3ef9114b10579ad907b4f81bb28a24ee0ed260ac 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-
-/* Local non-gdb includes.  */
-#include "dicos-tdep.h"
-#include "inferior.h"
 #include "osabi.h"
-#include "solib-target.h"
 #include "solib.h"
+#include "solib-target.h"
+#include "inferior.h"
+#include "dicos-tdep.h"
+#include "gdbarch.h"
 
 void
 dicos_init_abi (struct gdbarch *gdbarch)
@@ -71,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
This page took 0.025691 seconds and 4 git commands to generate.