Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: opcodes/sh64-dis.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « opcodes/sh-dis.c ('k') | opcodes/sparc-dis.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Disassemble SH64 instructions. 1 /* Disassemble SH64 instructions.
2 Copyright 2000, 2001, 2002, 2003, 2005, 2007 Free Software Foundation, Inc. 2 Copyright 2000, 2001, 2002, 2003, 2005, 2007, 2012
3 Free Software Foundation, Inc.
3 4
4 This file is part of the GNU opcodes library. 5 This file is part of the GNU opcodes library.
5 6
6 This library is free software; you can redistribute it and/or modify 7 This library is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by 8 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3, or (at your option) 9 the Free Software Foundation; either version 3, or (at your option)
9 any later version. 10 any later version.
10 11
11 It is distributed in the hope that it will be useful, but WITHOUT 12 It is distributed in the hope that it will be useful, but WITHOUT
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 14 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
14 License for more details. 15 License for more details.
15 16
16 You should have received a copy of the GNU General Public License 17 You should have received a copy of the GNU General Public License
17 along with this file; see the file COPYING. If not, write to the 18 along with this file; see the file COPYING. If not, write to the
18 Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston, 19 Free Software Foundation, 51 Franklin Street - Fifth Floor, Boston,
19 MA 02110-1301, USA. */ 20 MA 02110-1301, USA. */
20 21
22 #include "sysdep.h"
21 #include <stdio.h> 23 #include <stdio.h>
22
23 #include "dis-asm.h" 24 #include "dis-asm.h"
24 #include "sysdep.h"
25 #include "sh64-opc.h" 25 #include "sh64-opc.h"
26 #include "libiberty.h" 26 #include "libiberty.h"
27 /* We need to refer to the ELF header structure. */ 27 /* We need to refer to the ELF header structure. */
28 #include "elf-bfd.h" 28 #include "elf-bfd.h"
29 #include "elf/sh.h" 29 #include "elf/sh.h"
30 #include "elf32-sh64.h" 30 #include "elf32-sh64.h"
31 31
32 #define ELF_MODE32_CODE_LABEL_P(SYM) \ 32 #define ELF_MODE32_CODE_LABEL_P(SYM) \
33 (((elf_symbol_type *) (SYM))->internal_elf_sym.st_other & STO_SH5_ISA32) 33 (((elf_symbol_type *) (SYM))->internal_elf_sym.st_other & STO_SH5_ISA32)
34 34
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 } 611 }
612 612
613 return i ? i : -1; 613 return i ? i : -1;
614 } 614 }
615 } 615 }
616 } 616 }
617 617
618 /* SH1 .. SH4 instruction, let caller handle it. */ 618 /* SH1 .. SH4 instruction, let caller handle it. */
619 return -2; 619 return -2;
620 } 620 }
OLDNEW
« no previous file with comments | « opcodes/sh-dis.c ('k') | opcodes/sparc-dis.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698