From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7852) id 44747385782C; Tue, 17 May 2022 04:38:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 44747385782C Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Sunil Pandey To: glibc-cvs@sourceware.org Subject: [glibc/release/2.33/master] x86: Improve L to support L(XXX_SYMBOL (YYY, ZZZ)) X-Act-Checkin: glibc X-Git-Author: H.J. Lu X-Git-Refname: refs/heads/release/2.33/master X-Git-Oldrev: 07b5c14c43c1813907ac2cf9c3a3121917cc1d02 X-Git-Newrev: 09774a6e143361a95ff257229fc751240247a860 Message-Id: <20220517043850.44747385782C@sourceware.org> Date: Tue, 17 May 2022 04:38:50 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2022 04:38:50 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=09774a6e143361a95ff257229fc751240247a860 commit 09774a6e143361a95ff257229fc751240247a860 Author: H.J. Lu Date: Sat Feb 5 11:06:01 2022 -0800 x86: Improve L to support L(XXX_SYMBOL (YYY, ZZZ)) (cherry picked from commit 1283948f236f209b7d3f44b69a42b96806fa6da0) 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 937180c1bd..deda1c4e49 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"