Re: [PATCH] i386: Quote user-defined symbols in assembly in Intel syntax

2025-05-25 Thread Jonathan Yong
On 5/20/25 3:06 AM, LIU Hao wrote: 在 2025-5-13 17:18, LIU Hao 写道: Hello, Attached is a patch for PR 53929, but is also required by PR 80881. Ping. Also I just notice that Clang also quotes mangled MSVC++ symbols in this way, at least since Clang 3.5, so it's accepted by both GAS and LLVM:

Re: [PATCH] i386: Quote user-defined symbols in assembly in Intel syntax

2025-05-19 Thread LIU Hao
在 2025-5-13 17:18, LIU Hao 写道: Hello, Attached is a patch for PR 53929, but is also required by PR 80881. Ping. Also I just notice that Clang also quotes mangled MSVC++ symbols in this way, at least since Clang 3.5, so it's accepted by both GAS and LLVM: (https://gcc.godbolt.org/z/9xjKb4YP6

[PATCH] i386: Quote user-defined symbols in assembly in Intel syntax

2025-05-13 Thread LIU Hao
er cannot handle label differences between sections. */ -- 2.49.0 From d733676c742f9af9b9ab34317433db242128e53d Mon Sep 17 00:00:00 2001 From: LIU Hao Date: Sat, 22 Feb 2025 13:11:51 +0800 Subject: [PATCH] i386: Quote user-defined symbols in assembly in Intel syntax With `-masm=intel`, GCC generates regis

Re: [PATCH] i386: Quote user-defined symbols in assembly in Intel syntax

2025-05-05 Thread LIU Hao
在 2025-4-28 14:43, LIU Hao 写道: Hello, I'm sending this patch again after GCC 15 has been released. This patch was sent in February and but there were no comments: https://patchwork.sourceware.org/project/gcc/patch/eca6660c-6578-4e39-8aa9-be9fdd013...@126.com/ Ping. -- Best regards, LIU Ha

[PATCH] i386: Quote user-defined symbols in assembly in Intel syntax

2025-04-27 Thread LIU Hao
From f6c09e9397d5fe9c0dd1f7a02c90536732aed3df Mon Sep 17 00:00:00 2001 From: LIU Hao Date: Sat, 22 Feb 2025 13:11:51 +0800 Subject: [PATCH] i386: Quote user-defined symbols in assembly in Intel syntax With `-masm=intel`, GCC generates registers without % prefixes. If a user-declared symbol happens to match a register, it will co

[PATCH] i386: Quote user-defined symbols in assembly in Intel syntax

2025-02-20 Thread LIU Hao
From: LIU Hao Date: Thu, 20 Feb 2025 18:12:14 +0800 Subject: [PATCH] i386: Quote user-defined symbols in assembly in Intel syntax With `-masm=intel`, GCC generates registers without % prefixes. If a user-declared symbol happens to match a register, it will confuse the assembler. User-defined sym