513694
From bc402884eb392fa9c3c5813fca95c0b37d9879a6 Mon Sep 17 00:00:00 2001
513694
From: "H.J. Lu" <hjl.tools@gmail.com>
513694
Date: Sat, 5 Feb 2022 11:06:01 -0800
513694
Subject: [PATCH] x86: Improve L to support L(XXX_SYMBOL (YYY, ZZZ))
513694
513694
(cherry picked from commit 1283948f236f209b7d3f44b69a42b96806fa6da0)
513694
---
513694
 sysdeps/x86/sysdep.h | 3 ++-
513694
 1 file changed, 2 insertions(+), 1 deletion(-)
513694
513694
diff --git a/sysdeps/x86/sysdep.h b/sysdeps/x86/sysdep.h
513694
index a70bb3a2..49b0efe2 100644
513694
--- a/sysdeps/x86/sysdep.h
513694
+++ b/sysdeps/x86/sysdep.h
513694
@@ -111,7 +111,8 @@ enum cf_protection_level
513694
 /* Local label name for asm code. */
513694
 #ifndef L
513694
 /* ELF-like local names start with `.L'.  */
513694
-# define L(name)	.L##name
513694
+# define LOCAL_LABEL(name) .L##name
513694
+# define L(name)	LOCAL_LABEL(name)
513694
 #endif
513694
 
513694
 #define atom_text_section .section ".text.atom", "ax"
513694
-- 
513694
GitLab
513694