]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
x86: Improve L to support L(XXX_SYMBOL (YYY, ZZZ))
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 5 Feb 2022 19:06:01 +0000 (11:06 -0800)
committerSunil K Pandey <skpgkp2@gmail.com>
Tue, 17 May 2022 03:42:27 +0000 (20:42 -0700)
(cherry picked from commit 1283948f236f209b7d3f44b69a42b96806fa6da0)

sysdeps/x86/sysdep.h

index 937180c1bd791570c3b87fcb0bccd33d8a0e2537..deda1c4e492f6176e3d31ce836a312a6a9689931 100644 (file)
@@ -111,7 +111,8 @@ enum cf_protection_level
 /* Local label name for asm code. */
 #ifndef L
 /* ELF-like local names start with `.L'.  */
-# define L(name)       .L##name
+# define LOCAL_LABEL(name) .L##name
+# define L(name)       LOCAL_LABEL(name)
 #endif
 
 #define atom_text_section .section ".text.atom", "ax"