From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4848 invoked by alias); 1 Mar 2006 22:06:35 -0000 Received: (qmail 4827 invoked by uid 22791); 1 Mar 2006 22:06:32 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 01 Mar 2006 22:06:29 +0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.4/8.13.4) with ESMTP id k21M5jZs002436; Wed, 1 Mar 2006 23:05:45 +0100 (CET) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.4/8.13.3) with ESMTP id k21M5jLF028179; Wed, 1 Mar 2006 23:05:45 +0100 (CET) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.4/8.13.4/Submit) id k21M5jRQ005912; Wed, 1 Mar 2006 23:05:45 +0100 (CET) Date: Wed, 01 Mar 2006 22:06:00 -0000 Message-Id: <200603012205.k21M5jRQ005912@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: msnyder@redhat.com CC: davem@davemloft.net, gdb-patches@sourceware.org In-reply-to: <440615E5.5080307@redhat.com> (message from Michael Snyder on Wed, 01 Mar 2006 13:45:09 -0800) Subject: Re: [PATCH]: Sparc/Linux build fix References: <20060226.221656.21898956.davem@davemloft.net> <440615E5.5080307@redhat.com> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-03/txt/msg00022.txt.bz2 > Date: Wed, 01 Mar 2006 13:45:09 -0800 > From: Michael Snyder > > David S. Miller wrote: > > I just checked in this obvious build fix for the two > > Linux/Sparc targets. > > Hmm. sol2-tdep.o is required to build a linux target? > That seems counter-intuitive... Which was why I forgot about it too. The Linux code re-uses some of the Solaris code; the Linux ABI is clearly inspired by Solaris. It has the nice benefit that you can actually debug Solaris binaries running on Linux. Anyway, thanks David for fixing this. > > > > > 2006-02-26 David S. Miller > > > > * config/sparc/linux.mt (TDEPFILES): Add sol2-tdep.o. > > * config/sparc/linux64.mt (TDEPFILES): Likewise. > > > > --- ./config/sparc/linux.mt.~1~ 2005-02-09 07:58:51.000000000 -0800 > > +++ ./config/sparc/linux.mt 2006-02-25 15:17:27.000000000 -0800 > > @@ -1,4 +1,4 @@ > > # Target: GNU/Linux SPARC > > -TDEPFILES= sparc-tdep.o sparc-sol2-tdep.o sparc-linux-tdep.o \ > > +TDEPFILES= sparc-tdep.o sparc-sol2-tdep.o sol2-tdep.o sparc-linux-tdep.o \ > > solib.o solib-svr4.o symfile-mem.o > > DEPRECATED_TM_FILE= solib.h > > --- ./config/sparc/linux64.mt.~1~ 2004-09-13 13:55:42.000000000 -0700 > > +++ ./config/sparc/linux64.mt 2006-02-25 15:17:34.000000000 -0800 > > @@ -1,5 +1,5 @@ > > # Target: GNU/Linux UltraSPARC > > -TDEPFILES= sparc64-tdep.o sparc64-sol2-tdep.o sparc64-linux-tdep.o \ > > +TDEPFILES= sparc64-tdep.o sparc64-sol2-tdep.o sol2-tdep.o sparc64-linux-tdep.o \ > > sparc-tdep.o sparc-sol2-tdep.o sparc-linux-tdep.o \ > > solib.o solib-svr4.o > > DEPRECATED_TM_FILE= solib.h > > >