From: Ulrich Drepper Date: Sat, 1 Apr 2006 19:56:00 +0000 (+0000) Subject: [BZ #2477] X-Git-Tag: cvs/fedora-glibc-20060424T0820~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a44cffaa1235dc9e46c3d8174961eb4793c391ac;p=thirdparty%2Fglibc.git [BZ #2477] * sysdeps/unix/sysv/linux/i386/sysdep.h: Create correct LOADARGS_* macros for non-shared position-independent code. --- diff --git a/ChangeLog b/ChangeLog index cc94216eb58..97043e253b2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2006-04-01 Ulrich Drepper + [BZ #2477] + * sysdeps/unix/sysv/linux/i386/sysdep.h: Create correct LOADARGS_* + macros for non-shared position-independent code. + [BZ #2472] * bits/siginfo.h: Fix typo in ILL_ILLOPN definition. diff --git a/sysdeps/unix/sysv/linux/i386/sysdep.h b/sysdeps/unix/sysv/linux/i386/sysdep.h index cb5767955ce..90423d84341 100644 --- a/sysdeps/unix/sysv/linux/i386/sysdep.h +++ b/sysdeps/unix/sysv/linux/i386/sysdep.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1992,1993,1995,1996,1997,1998,1999,2000,2002,2003,2004,2005 +/* Copyright (C) 1992,1993,1995-2000,2002-2005,2006 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper, , August 1995. @@ -447,7 +447,7 @@ asm (".L__X'%ebx = 1\n\t" #define LOADARGS_0 #ifdef __PIC__ -# if defined I386_USE_SYSENTER +# if defined I386_USE_SYSENTER && defined SHARED # define LOADARGS_1 \ "bpushl .L__X'%k3, %k3\n\t" # define LOADARGS_5 \