bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/27687] gas should allow question marks in labels for x86 asm


From: hjl.tools at gmail dot com
Subject: [Bug gas/27687] gas should allow question marks in labels for x86 asm
Date: Fri, 02 Apr 2021 13:43:01 +0000

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

[Prev in Thread] Current Thread [Next in Thread]