https://sourceware.org/bugzilla/show_bug.cgi?id=27687

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl.tools at gmail dot com

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Mark Harmstone from comment #0)
> Created attachment 13344 [details]
> patch
> 
> There doesn't seem to be currently any way to get gas to accept question
> marks in labels for x86 assembly. This -
> 
> "?label":
>         jmp ?label
> 
> - fails with "Error: invalid character '?' before operand 1".
> 
> The use case for this is MSVC's C++ name mangling, which uses question marks
> extensively - there seems to be no way to call MSVC C++ functions from gas.
> 
> Attached is a patch which defines LEX_QM in gas/config/tc-i386.h, which
> seems to fix the issue.

This needs assembler tests.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to