* objdump.c (main) :Accept multiple -M switch.
[deliverable/binutils-gdb.git] / binutils / objdump.c
index 4fc84ffa5bb9c1beb89f789b1167b67b32d7374f..47da66f1ab8551c11828136f88883598294e8296 100644 (file)
@@ -2661,12 +2661,10 @@ main (argc, argv)
          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;
+           /* Ignore potential memory leak for now.  */
+           disassembler_options = concat (disassembler_options, ",", optarg, NULL);
+         else
+           disassembler_options = optarg;
          break;
        case 'j':
          if (only == NULL)
This page took 0.023327 seconds and 4 git commands to generate.