https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53929

LIU Hao <lh_mouse at 126 dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #57199|0                           |1
        is obsolete|                            |

--- Comment #30 from LIU Hao <lh_mouse at 126 dot com> ---
Created attachment 60542
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60542&action=edit
proposed patch for master

Quote symbols so they are not to be mistaken for registers. This requires
Binutils 2.26, where the fix was originally done for ARM:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d02603dc201f80cd9d2a1f4b1a16110b1e04222b

Bootstrapped on i686-w64-mingw32 with DWARF2 exception model, and on
x86_64-w64-mingw32 with SEH exception model, both patched to use Intel syntax
by default.

Also bootstrapped on x86_64-linux-gnu with default AT&T syntax, and verified
that it produces expected assembly with `-masm=intel`.

Reply via email to