From: H.J. Lu Date: Sat, 5 Feb 2022 19:06:01 +0000 (-0800) Subject: x86: Improve L to support L(XXX_SYMBOL (YYY, ZZZ)) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09774a6e143361a95ff257229fc751240247a860;p=thirdparty%2Fglibc.git x86: Improve L to support L(XXX_SYMBOL (YYY, ZZZ)) (cherry picked from commit 1283948f236f209b7d3f44b69a42b96806fa6da0) --- diff --git a/sysdeps/x86/sysdep.h b/sysdeps/x86/sysdep.h index 937180c1bd7..deda1c4e492 100644 --- a/sysdeps/x86/sysdep.h +++ b/sysdeps/x86/sysdep.h @@ -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"