Support R_SPARC_WDISP10 and R_SPARC_H34.
[external/binutils.git] / opcodes / tic80-dis.c
index 09df146..3089acc 100644 (file)
@@ -1,15 +1,17 @@
 /* Print TI TMS320C80 (MVP) instructions
-   Copyright 1996, 1997, 1998, 2000, 2005 Free Software Foundation, Inc.
+   Copyright 1996, 1997, 1998, 2000, 2005, 2007 Free Software Foundation, Inc.
 
-   This file is free software; you can redistribute it and/or modify
+   This file is part of the GNU opcodes library.
+
+   This library is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2 of the License, or
-   (at your option) any later version.
+   the Free Software Foundation; either version 3, or (at your option)
+   any later version.
 
-   This program is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
+   It is distributed in the hope that it will be useful, but WITHOUT
+   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
+   License for more details.
 
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
@@ -87,7 +89,7 @@ print_operand_bitnum (struct disassemble_info *info, long value)
   if (tmp != NULL)
     (*info->fprintf_func) (info->stream, "%s", tmp);
   else
-    (*info->fprintf_func) (info->stream, "%ld", bitnum);
+    (*info->fprintf_func) (info->stream, "%d", bitnum);
 }
 \f
 /* Print the operand as directed by the flags.  */