diff options
author | Nick Clifton <nickc@redhat.com> | 2003-07-17 17:02:46 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-07-17 17:02:46 +0000 |
commit | 073fbac62c4e7eb6b2c259fd5a6c5059b7cb9813 (patch) | |
tree | 09e2695d14ec5f9d860c8e87981479dec5cc68ae /binutils/objdump.c | |
parent | 602d6c6fd45b796f28e72dc179ed6651b0bcbe77 (diff) | |
download | gdb-073fbac62c4e7eb6b2c259fd5a6c5059b7cb9813.zip gdb-073fbac62c4e7eb6b2c259fd5a6c5059b7cb9813.tar.gz gdb-073fbac62c4e7eb6b2c259fd5a6c5059b7cb9813.tar.bz2 |
* objdump.c (main): Issue a warning message if multiple -M
switches are used.
* doc/binutils.texi (objdump): Update documentation about -M
option.
Diffstat (limited to 'binutils/objdump.c')
-rw-r--r-- | binutils/objdump.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c index dd8a536..4fc84ff 100644 --- a/binutils/objdump.c +++ b/binutils/objdump.c @@ -2660,6 +2660,12 @@ main (argc, argv) machine = optarg; break; case 'M': + if (disassembler_options) + { + non_fatal ("multiple separate -M options are not supported."); + non_fatal ("please combine them into a single, space separated option."); + non_fatal ("ignoring option '-M%s'", disassembler_options); + } disassembler_options = optarg; break; case 'j': |