objdump -M for x86
Andreas Jaeger
aj@suse.de
Sun Nov 4 03:20:00 GMT 2001
More information about the Binutils mailing list
Sun Nov 4 03:20:00 GMT 2001
- Previous message (by thread): objdump -M for x86
- Next message (by thread): patch to implement ISA numbers for GAS
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Alan Modra <amodra@bigpond.net.au> writes: > On Wed, Nov 14, 2001 at 09:24:34AM +0100, Andreas Jaeger wrote: >> + if (strncmp (p, "x86_64", 6) == 0) >> >> Can we change the parameter to x86-64? The architecture is called >> x86-64 but config.* doesn't allow the minus so we had to rename it. >> >> Shall I send a patch to do so? > > Feel free to check it in. You might also like to change cpu-i386.c Here's what I checked in, Andreas 2001-11-14 Andreas Jaeger <aj@suse.de> * doc/binutils.texi (objdump): Fix description to use x86-64. 2001-11-14 Andreas Jaeger <aj@suse.de> * i386-dis.c (print_insn): Use x86-64 as option. 2001-11-14 Andreas Jaeger <aj@suse.de> * cpu-i386.c (bfd_x86_64_arch_intel_syntax,bfd_x86_64_arch): Use x86-64 for display. ============================================================ Index: binutils/doc/binutils.texi --- binutils/doc/binutils.texi 2001/11/14 03:15:28 1.9 +++ binutils/doc/binutils.texi 2001/11/14 11:59:57 @@ -1572,12 +1572,12 @@ compilers. For the x86, some of the options duplicate functions of the @option{-m} switch, but allow finer grained control. Multiple selections from the following may be specified as a comma separated string. -@option{x86_64}, @option{i386} and @option{i8086} select disassembly for +@option{x86-64}, @option{i386} and @option{i8086} select disassembly for the given architecture. @option{intel} and @option{att} select between intel syntax mode and AT&T syntax mode. @option{addr32}, @option{addr16}, @option{data32} and @option{data16} specify the default address size and operand size. These four options will be overridden if -@option{x86_64}, @option{i386} or @option{i8086} appear later in the +@option{x86-64}, @option{i386} or @option{i8086} appear later in the option string. Lastly, @option{suffix}, when in AT&T mode, instructs the dissassembler to print a mnemonic suffix even when the suffix could be inferred by the operands. ============================================================ Index: opcodes/i386-dis.c --- opcodes/i386-dis.c 2001/11/14 03:15:28 1.33 +++ opcodes/i386-dis.c 2001/11/14 11:59:57 @@ -1903,7 +1903,7 @@ print_insn (pc, info) for (p = info->disassembler_options; p != NULL; ) { - if (strncmp (p, "x86_64", 6) == 0) + if (strncmp (p, "x86-64", 6) == 0) { mode_64bit = 1; priv.orig_sizeflag = AFLAG | DFLAG; ============================================================ Index: bfd/cpu-i386.c --- bfd/cpu-i386.c 2001/03/08 21:03:58 1.5 +++ bfd/cpu-i386.c 2001/11/14 11:59:58 @@ -44,8 +44,8 @@ const bfd_arch_info_type bfd_x86_64_arch 8, /* 8 bits in a byte */ bfd_arch_i386, bfd_mach_x86_64_intel_syntax, - "x86_64:intel", - "x86_64:intel", + "x86-64:intel", + "x86-64:intel", 3, true, bfd_default_compatible, @@ -75,8 +75,8 @@ const bfd_arch_info_type bfd_x86_64_arch 8, /* 8 bits in a byte */ bfd_arch_i386, bfd_mach_x86_64, - "x86_64", - "x86_64", + "x86-64", + "x86-64", 3, true, bfd_default_compatible, -- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.inka.de http://www.suse.de/~aj
- Previous message (by thread): objdump -M for x86
- Next message (by thread): patch to implement ISA numbers for GAS
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list