This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]