RFC: Formalization of the Intel assembly syntax (PR53929)

Jan Beulich jbeulich@suse.com
Tue Jan 23 09:37:08 GMT 2024


On 23.01.2024 10:21, LIU Hao wrote:
> 在 2024-01-23 17:03, Jan Beulich 写道:
>> Hmm, that would suggest to me that the Dwarf code abuses the interface.
>> A "name" certainly shouldn't be an expression. And hence the result of
>> the example ought to be
>>
>>       .long "LXXYY"-1    # "LXXYY" minus one
> 
> So I shouldn't have checked for `*` right?

I don't know.

> The calls to `output_addr_const()` are from `dw2_assemble_integer (int size, rtx x)` in 
> 'gcc/dwarf2asm.cc'. Now I need some directives on how to fix this; parsing the symbol seems awkward.

Indeed.

Jan


More information about the Gcc mailing list