This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix target/8787 DJGPP and -masm=intel
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: gcc-patches at gcc dot gnu dot org, Mark Mitchell <mark at codesourcery dot com>
- Date: Mon, 09 Jun 2003 13:36:48 -0700
- Subject: Re: [PATCH] Fix target/8787 DJGPP and -masm=intel
- References: <517B8213-9AB5-11D7-85EB-000393A6D2F2@physics.uc.edu>
Andrew Pinski <pinskia@physics.uc.edu> writes:
> On DJGPP, gcc does not emit .intel_syntax if you include the option
> -masm=intel
> so as thinks the file is still in AT&T as syntax mode for x86 asm so
> it will not
> assemble you programs and error out.
> This patch fixes that by emitting it if -masm=intel is there.
>
> The submitter tested the patch to see if it really worked and it did.
> It would seem that is small patch should also go into 3.3.1 because it
> fixes a bug.
>
> Okay for 3.3.1 and mainline? (Note I do not cvs access and I waiting
> for the mail for the copyright assignment)
Approved and applied to mainline. This patch is a two-line
cut-and-paste from another file already in GCC, so it does not need a
copyright assignment.
I am not sure whether this is appropriate for 3.3.1. Mark?
zw