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

(cherry picked from commit 1283948f23)
This commit is contained in:
H.J. Lu 2022-02-05 11:06:01 -08:00 committed by Sunil K Pandey
parent 58947e1fa5
commit d422197a69

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"