[PATCH] x86: reject architecture settings that are invalid to be set from the command line (v3)

H.J. Lu hjl.tools@gmail.com
Fri Jun 11 14:24:00 GMT 2010


On Thu, Jun 10, 2010 at 11:44 PM, Jan Beulich <JBeulich@novell.com> wrote:
> So far, options like -march=i8086 were accepted despite the assembler
> subsequently choking on other consistency checks, leading to reasonably
> cryptic error messages. This patch makes it so that entirely impossible
> architecure settings are neither accepted nor displayed (i.e. it is now
> made sure that those settings can only be used via directives).
>
> gas/
> 2010-06-11  Jan Beulich  <jbeulich@novell.com>
>
>        * config/tc-i386.c (md_parse_option): Ignore impossible processor
>        types.
>        (show_arch): New parameter 'check'.
>        (md_show_usage): Adjust calls to show_arch().
>

OK.  Thanks.


-- 
H.J.



More information about the Binutils mailing list