From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5682 invoked by alias); 14 Apr 2003 13:35:51 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 5666 invoked from network); 14 Apr 2003 13:35:51 -0000 Received: from unknown (HELO localhost.localdomain) (195.113.19.66) by sources.redhat.com with SMTP; 14 Apr 2003 13:35:51 -0000 Received: from sunsite.ms.mff.cuni.cz (sunsite.mff.cuni.cz [127.0.0.1]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id h3EDZmqO002105; Mon, 14 Apr 2003 15:35:48 +0200 Received: (from jakub@localhost) by sunsite.ms.mff.cuni.cz (8.12.8/8.12.8/Submit) id h3EDZmCx002103; Mon, 14 Apr 2003 15:35:48 +0200 Date: Mon, 14 Apr 2003 13:35:00 -0000 From: Jakub Jelinek To: Ulrich Drepper , Roland McGrath Cc: Glibc hackers Subject: [PATCH] Fix i686 NPTL compile Message-ID: <20030414133548.GL16629@sunsite.ms.mff.cuni.cz> Reply-To: Jakub Jelinek Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-SW-Source: 2003-04/txt/msg00040.txt.bz2 Hi! Without this e.g. nanosleep.o* don't assemble as .LSAVEBX1 and .LRESTBX1 labels are used in .eh_frame, yet aren't defined anywhere. 2003-04-14 Jakub Jelinek * sysdeps/unix/sysv/linux/i386/sysdep.h (PUSHARGS_1): Add L(SAVEBX1) label. (POPARGS_1): Add L(RESTBX1) label. --- libc/sysdeps/unix/sysv/linux/i386/sysdep.h.jj 2003-04-13 16:44:14.000000000 -0400 +++ libc/sysdeps/unix/sysv/linux/i386/sysdep.h 2003-04-14 08:18:22.000000000 -0400 @@ -247,9 +247,9 @@ __i686.get_pc_thunk.reg: \ #define _DOARGS_0(n) /* No arguments to frob. */ #define _POPARGS_0 /* No arguments to pop. */ -#define PUSHARGS_1 movl %ebx, %edx; PUSHARGS_0 +#define PUSHARGS_1 movl %ebx, %edx; L(SAVEBX1): PUSHARGS_0 #define DOARGS_1 _DOARGS_1 (4) -#define POPARGS_1 POPARGS_0; movl %edx, %ebx +#define POPARGS_1 POPARGS_0; movl %edx, %ebx; L(RESTBX1): #define _PUSHARGS_1 pushl %ebx; L(PUSHBX1): _PUSHARGS_0 #define _DOARGS_1(n) movl n(%esp), %ebx; _DOARGS_0(n-4) #define _POPARGS_1 _POPARGS_0; popl %ebx; L(POPBX1): Jakub