| OLD | NEW |
| 1 /* Disassembler code for Renesas RX. | 1 /* Disassembler code for Renesas RX. |
| 2 Copyright 2008, 2009 Free Software Foundation, Inc. | 2 Copyright 2008, 2009, 2012 Free Software Foundation, Inc. |
| 3 Contributed by Red Hat. | 3 Contributed by Red Hat. |
| 4 Written by DJ Delorie. | 4 Written by DJ Delorie. |
| 5 | 5 |
| 6 This file is part of the GNU opcodes library. | 6 This file is part of the GNU opcodes library. |
| 7 | 7 |
| 8 This library is free software; you can redistribute it and/or modify | 8 This library is free software; you can redistribute it and/or modify |
| 9 it under the terms of the GNU General Public License as published by | 9 it under the terms of the GNU General Public License as published by |
| 10 the Free Software Foundation; either version 3, or (at your option) | 10 the Free Software Foundation; either version 3, or (at your option) |
| 11 any later version. | 11 any later version. |
| 12 | 12 |
| 13 It is distributed in the hope that it will be useful, but WITHOUT | 13 It is distributed in the hope that it will be useful, but WITHOUT |
| 14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | 14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
| 15 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public | 15 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public |
| 16 License for more details. | 16 License for more details. |
| 17 | 17 |
| 18 You should have received a copy of the GNU General Public License | 18 You should have received a copy of the GNU General Public License |
| 19 along with this program; if not, write to the Free Software | 19 along with this program; if not, write to the Free Software |
| 20 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, | 20 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, |
| 21 MA 02110-1301, USA. */ | 21 MA 02110-1301, USA. */ |
| 22 | 22 |
| 23 #include "sysdep.h" |
| 23 #include <stdio.h> | 24 #include <stdio.h> |
| 24 | 25 |
| 25 #include "bfd.h" | 26 #include "bfd.h" |
| 26 #include "dis-asm.h" | 27 #include "dis-asm.h" |
| 27 #include "opcode/rx.h" | 28 #include "opcode/rx.h" |
| 28 | 29 |
| 29 typedef struct | 30 typedef struct |
| 30 { | 31 { |
| 31 bfd_vma pc; | 32 bfd_vma pc; |
| 32 disassemble_info * dis; | 33 disassemble_info * dis; |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 default: | 192 default: |
| 192 PR (PS, "[???]"); | 193 PR (PS, "[???]"); |
| 193 break; | 194 break; |
| 194 } | 195 } |
| 195 } | 196 } |
| 196 } | 197 } |
| 197 } | 198 } |
| 198 | 199 |
| 199 return rv; | 200 return rv; |
| 200 } | 201 } |
| OLD | NEW |