Stop the ARC disassembler from seg-faulting if initialised without a BFD present.
[deliverable/binutils-gdb.git] / opcodes / mmix-dis.c
index 22db268af90fd1a4bfe4206a0737cf0d4d44ccbb..4bbc6a62146f164a402ddb11fcc7b3e316b34c9f 100644 (file)
@@ -1,5 +1,5 @@
 /* mmix-dis.c -- Disassemble MMIX instructions.
-   Copyright 2000, 2001, 2002, 2005, 2007 Free Software Foundation, Inc.
+   Copyright (C) 2000-2016 Free Software Foundation, Inc.
    Written by Hans-Peter Nilsson (hp@bitrange.com)
 
    This file is part of the GNU opcodes library.
@@ -19,9 +19,8 @@
    Software Foundation, 51 Franklin Street - Fifth Floor, Boston,
    MA 02110-1301, USA.  */
 
+#include "sysdep.h"
 #include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
 #include "opcode/mmix.h"
 #include "dis-asm.h"
 #include "libiberty.h"
This page took 0.024848 seconds and 4 git commands to generate.