x86: Improve L to support L(XXX_SYMBOL (YYY, ZZZ))

This commit is contained in:
H.J. Lu 2022-02-05 11:06:01 -08:00
parent 90cbb80636
commit 1283948f23

View 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"