public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] x86: Improve L to support L(XXX_SYMBOL (YYY, ZZZ))
@ 2022-02-06  0:29 H.J. Lu
  2022-02-06 14:49 ` H.J. Lu
  0 siblings, 1 reply; 3+ messages in thread
From: H.J. Lu @ 2022-02-06  0:29 UTC (permalink / raw)
  To: libc-alpha

---
 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 b92a0db5dd..60b366258f 100644
--- a/sysdeps/x86/sysdep.h
+++ b/sysdeps/x86/sysdep.h
@@ -114,7 +114,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"
-- 
2.34.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] x86: Improve L to support L(XXX_SYMBOL (YYY, ZZZ))
  2022-02-06  0:29 [PATCH] x86: Improve L to support L(XXX_SYMBOL (YYY, ZZZ)) H.J. Lu
@ 2022-02-06 14:49 ` H.J. Lu
  2022-05-12 19:07   ` Sunil Pandey
  0 siblings, 1 reply; 3+ messages in thread
From: H.J. Lu @ 2022-02-06 14:49 UTC (permalink / raw)
  To: GNU C Library

On Sat, Feb 5, 2022 at 4:29 PM H.J. Lu <hjl.tools@gmail.com> wrote:
>
> ---
>  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 b92a0db5dd..60b366258f 100644
> --- a/sysdeps/x86/sysdep.h
> +++ b/sysdeps/x86/sysdep.h
> @@ -114,7 +114,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"
> --
> 2.34.1
>

I am checking this in.

-- 
H.J.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] x86: Improve L to support L(XXX_SYMBOL (YYY, ZZZ))
  2022-02-06 14:49 ` H.J. Lu
@ 2022-05-12 19:07   ` Sunil Pandey
  0 siblings, 0 replies; 3+ messages in thread
From: Sunil Pandey @ 2022-05-12 19:07 UTC (permalink / raw)
  To: H.J. Lu, Libc-stable Mailing List; +Cc: GNU C Library

On Sun, Feb 6, 2022 at 6:50 AM H.J. Lu via Libc-alpha
<libc-alpha@sourceware.org> wrote:
>
> On Sat, Feb 5, 2022 at 4:29 PM H.J. Lu <hjl.tools@gmail.com> wrote:
> >
> > ---
> >  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 b92a0db5dd..60b366258f 100644
> > --- a/sysdeps/x86/sysdep.h
> > +++ b/sysdeps/x86/sysdep.h
> > @@ -114,7 +114,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"
> > --
> > 2.34.1
> >
>
> I am checking this in.
>
> --
> H.J.

I would like to backport this patch to release branches.
Any comments or objections?

--Sunil

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-12 19:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-06  0:29 [PATCH] x86: Improve L to support L(XXX_SYMBOL (YYY, ZZZ)) H.J. Lu
2022-02-06 14:49 ` H.J. Lu
2022-05-12 19:07   ` Sunil Pandey

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).