[arnm-elf-objdump] Can't use two -M flags for disassembler (-Mforce-thumb and -Mreg-names-raw)

Daniel Jacobowitz drow@mvista.com
Thu Jul 17 18:39:00 GMT 2003


On Thu, Jul 17, 2003 at 05:48:45PM +0100, Nick Clifton wrote:
>   	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':
> 

Is there any reason not to do:
  disassembler_options = concat (disassembler_options, " ", optarg, NULL);
instead?

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Binutils mailing list