Commit d4abd56763763ad22cb006b352f724d8472371d6
1 parent
968467e3
Document the binutils source files used in constructing sparc-dis.c
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5542 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
11 additions
and
0 deletions
sparc-dis.c
| 1 | +/* | ||
| 2 | + * These files from binutils are concatenated: | ||
| 3 | + * include/opcode/sparc.h, opcodes/sparc-opc.c, opcodes/sparc-dis.c | ||
| 4 | + */ | ||
| 5 | + | ||
| 6 | +/* include/opcode/sparc.h */ | ||
| 7 | + | ||
| 1 | /* Print SPARC instructions. | 8 | /* Print SPARC instructions. |
| 2 | Copyright 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | 9 | Copyright 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
| 3 | 2000, 2002 Free Software Foundation, Inc. | 10 | 2000, 2002 Free Software Foundation, Inc. |
| @@ -221,6 +228,8 @@ static const char *sparc_decode_membar PARAMS ((int)); | @@ -221,6 +228,8 @@ static const char *sparc_decode_membar PARAMS ((int)); | ||
| 221 | static const char *sparc_decode_prefetch PARAMS ((int)); | 228 | static const char *sparc_decode_prefetch PARAMS ((int)); |
| 222 | static const char *sparc_decode_sparclet_cpreg PARAMS ((int)); | 229 | static const char *sparc_decode_sparclet_cpreg PARAMS ((int)); |
| 223 | 230 | ||
| 231 | +/* opcodes/sparc-opc.c */ | ||
| 232 | + | ||
| 224 | /* Some defines to make life easy. */ | 233 | /* Some defines to make life easy. */ |
| 225 | #define MASK_V6 SPARC_OPCODE_ARCH_MASK (SPARC_OPCODE_ARCH_V6) | 234 | #define MASK_V6 SPARC_OPCODE_ARCH_MASK (SPARC_OPCODE_ARCH_V6) |
| 226 | #define MASK_V7 SPARC_OPCODE_ARCH_MASK (SPARC_OPCODE_ARCH_V7) | 235 | #define MASK_V7 SPARC_OPCODE_ARCH_MASK (SPARC_OPCODE_ARCH_V7) |
| @@ -2235,6 +2244,8 @@ sparc_decode_sparclet_cpreg (value) | @@ -2235,6 +2244,8 @@ sparc_decode_sparclet_cpreg (value) | ||
| 2235 | 2244 | ||
| 2236 | #undef MASK_V9 | 2245 | #undef MASK_V9 |
| 2237 | 2246 | ||
| 2247 | +/* opcodes/sparc-dis.c */ | ||
| 2248 | + | ||
| 2238 | /* Bitmask of v9 architectures. */ | 2249 | /* Bitmask of v9 architectures. */ |
| 2239 | #define MASK_V9 ((1 << SPARC_OPCODE_ARCH_V9) \ | 2250 | #define MASK_V9 ((1 << SPARC_OPCODE_ARCH_V9) \ |
| 2240 | | (1 << SPARC_OPCODE_ARCH_V9A) \ | 2251 | | (1 << SPARC_OPCODE_ARCH_V9A) \ |