public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] x86: Improve L to support L(XXX_SYMBOL (YYY, ZZZ))
@ 2022-02-06 16:13 H.J. Lu
  0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 2022-02-06 16:13 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=1283948f236f209b7d3f44b69a42b96806fa6da0

commit 1283948f236f209b7d3f44b69a42b96806fa6da0
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sat Feb 5 11:06:01 2022 -0800

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

Diff:
---
 sysdeps/x86/sysdep.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sysdeps/x86/sysdep.h b/sysdeps/x86/sysdep.h
index 61f1255bfd..007a1eb13d 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"


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-06 16:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-06 16:13 [glibc] x86: Improve L to support L(XXX_SYMBOL (YYY, ZZZ)) H.J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).