X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=opcodes%2Fi860-dis.c;h=65b74afb52e8fb6a4d621a9176255b49784d969b;hb=fcdfa2809a284d8c7e4525e1c74e33a0ed524292;hp=d95c7e96f09ee94beb1ba45f958ddf17cd2f809c;hpb=7f8a68cd1964e99259a193786bf73d400a14ecb0;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/i860-dis.c b/opcodes/i860-dis.c index d95c7e96f0..65b74afb52 100644 --- a/opcodes/i860-dis.c +++ b/opcodes/i860-dis.c @@ -1,21 +1,24 @@ /* Disassembler for the i860. - Copyright 2000, 2003 Free Software Foundation, Inc. + Copyright 2000, 2003, 2005, 2007 Free Software Foundation, Inc. Contributed by Jason Eckhardt . -This program 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. + This file is part of the GNU opcodes library. -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. + 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 3, or (at your option) + any later version. -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + 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 + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ #include "dis-asm.h" #include "opcode/i860.h" @@ -73,7 +76,7 @@ print_br_address (disassemble_info *info, bfd_vma memaddr, long val) long adj = (long)memaddr + 4 + (val << 2); - (*info->fprintf_func) (info->stream, "0x%08x", adj); + (*info->fprintf_func) (info->stream, "0x%08lx", adj); /* Attempt to obtain a symbol for the target address. */