076f82
commit 8de6e4a199ba6cc8aaeb43924b974eed67164bd6
076f82
Author: H.J. Lu <hjl.tools@gmail.com>
076f82
Date:   Sat Feb 5 11:06:01 2022 -0800
076f82
076f82
    x86: Improve L to support L(XXX_SYMBOL (YYY, ZZZ))
076f82
    
076f82
    (cherry picked from commit 1283948f236f209b7d3f44b69a42b96806fa6da0)
076f82
076f82
diff --git a/sysdeps/x86/sysdep.h b/sysdeps/x86/sysdep.h
076f82
index 937180c1bd791570..deda1c4e492f6176 100644
076f82
--- a/sysdeps/x86/sysdep.h
076f82
+++ b/sysdeps/x86/sysdep.h
076f82
@@ -111,7 +111,8 @@ enum cf_protection_level
076f82
 /* Local label name for asm code. */
076f82
 #ifndef L
076f82
 /* ELF-like local names start with `.L'.  */
076f82
-# define L(name)	.L##name
076f82
+# define LOCAL_LABEL(name) .L##name
076f82
+# define L(name)	LOCAL_LABEL(name)
076f82
 #endif
076f82
 
076f82
 #define atom_text_section .section ".text.atom", "ax"