This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] x86: reject architecture settings that are invalid to be set from the command line (v3)
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Jan Beulich <JBeulich at novell dot com>
- Cc: binutils at sourceware dot org
- Date: Fri, 11 Jun 2010 07:24:46 -0700
- Subject: Re: [PATCH] x86: reject architecture settings that are invalid to be set from the command line (v3)
- References: <4C11F76902000078000061C0@vpn.id2.novell.com>
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.