glibc-bsd-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Glibc-bsd-hackers] [PATCH] Fix i386-k*bsd-gnu fix (w/ChangeLog)


From: Jakub Jelinek
Subject: [Glibc-bsd-hackers] [PATCH] Fix i386-k*bsd-gnu fix (w/ChangeLog)
Date: Sat, 27 Nov 2004 06:33:28 -0500
User-agent: Mutt/1.4.1i

On Fri, Nov 26, 2004 at 10:38:18PM +0100, Gerald Pfeifer wrote:
> On Tue, 16 Nov 2004, Robert Millan wrote:
> > Btw, it's worth noting that this patch was already reviewed and committed by
> > Jim Wilson, but was accidentaly reverted in one of the post-release branch
> > merges.  See http://gcc.gnu.org/ml/gcc-patches/2004-05/msg00050.html
> > 
> > 2004-11-16  Robert Millan  <address@hidden>
> > 
> >     Changes for k*bsd-gnu support.
> >     * config/i386/linux.h: Define REG_NAME to allow overriding of register
> >     names in sc structure.
> >     * config/i386/linux-unwind.h: Refer to sc->REG_NAME(reg) instead of
> >     sc->reg.
> >     * config.gcc: Detect x86_64-k*bsd-gnu systems.
> 
> Committed.

Unfortunately it breaks x86_64-*-linux.
Fixed thusly, committed as obvious.

2004-11-27  Jakub Jelinek  <address@hidden>

        * config/i386/linux64.h (REG_NAME): Define.

--- gcc/config/i386/linux64.h.jj        2004-10-18 00:57:21.000000000 +0200
+++ gcc/config/i386/linux64.h   2004-11-27 12:12:01.326687080 +0100
@@ -70,3 +70,6 @@ Boston, MA 02111-1307, USA.  */
 #define NEED_INDICATE_EXEC_STACK 1
 
 #define MD_UNWIND_SUPPORT "config/i386/linux-unwind.h"
+
+/* This macro may be overriden in i386/k*bsd-gnu.h */
+#define REG_NAME(reg) reg

        Jakub




reply via email to

[Prev in Thread] Current Thread [Next in Thread]