This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH]: Sparc/Linux build fix
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: msnyder at redhat dot com
- Cc: davem at davemloft dot net, gdb-patches at sourceware dot org
- Date: Wed, 1 Mar 2006 23:05:45 +0100 (CET)
- Subject: Re: [PATCH]: Sparc/Linux build fix
- References: <20060226.221656.21898956.davem@davemloft.net> <440615E5.5080307@redhat.com>
> Date: Wed, 01 Mar 2006 13:45:09 -0800
> From: Michael Snyder <msnyder@redhat.com>
>
> 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 <davem@sunset.davemloft.net>
> >
> > * 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
> >
>