Add -M command line switch to objdump - text of switch is passed on to disassembler

Add support for register name set selection ot ARM disassembler.
This commit is contained in:
Nick Clifton 1999-06-16 02:24:26 +00:00
parent ef32ea0e86
commit 2e07d71fcd
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
1999-06-14 Nick Clifton <nickc@cygnus.com>
* dis-asm.h (arm_toggle_regnames): New prototype.
(struct diassemble_info): New field: disassembler_options.
1999-04-11 Richard Henderson <rth@cygnus.com> 1999-04-11 Richard Henderson <rth@cygnus.com>
* bfdlink.h (bfd_elf_version_expr): Rename `match' to `pattern'. * bfdlink.h (bfd_elf_version_expr): Rename `match' to `pattern'.

View File

@ -133,6 +133,9 @@ typedef struct disassemble_info {
zero if unknown. */ zero if unknown. */
bfd_vma target2; /* Second target address for dref2 */ bfd_vma target2; /* Second target address for dref2 */
/* Command line options specific to the target disassembler. */
char * disassembler_options;
} disassemble_info; } disassemble_info;
@ -181,6 +184,8 @@ extern int print_insn_tic30 PARAMS ((bfd_vma, disassemble_info*));
extern int print_insn_vax PARAMS ((bfd_vma, disassemble_info*)); extern int print_insn_vax PARAMS ((bfd_vma, disassemble_info*));
extern int print_insn_tic80 PARAMS ((bfd_vma, disassemble_info*)); extern int print_insn_tic80 PARAMS ((bfd_vma, disassemble_info*));
extern int arm_toggle_regnames PARAMS ((void));
/* Fetch the disassembler for a given BFD, if that support is available. */ /* Fetch the disassembler for a given BFD, if that support is available. */
extern disassembler_ftype disassembler PARAMS ((bfd *)); extern disassembler_ftype disassembler PARAMS ((bfd *));