Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH]: Sparc/Linux build fix
@ 2006-02-27 16:43 David S. Miller
  2006-03-01 21:45 ` Michael Snyder
  0 siblings, 1 reply; 3+ messages in thread
From: David S. Miller @ 2006-02-27 16:43 UTC (permalink / raw)
  To: gdb-patches


I just checked in this obvious build fix for the two
Linux/Sparc targets.

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH]: Sparc/Linux build fix
  2006-02-27 16:43 [PATCH]: Sparc/Linux build fix David S. Miller
@ 2006-03-01 21:45 ` Michael Snyder
  2006-03-01 22:06   ` Mark Kettenis
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Snyder @ 2006-03-01 21:45 UTC (permalink / raw)
  To: David S. Miller; +Cc: gdb-patches

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...

> 
> 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
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH]: Sparc/Linux build fix
  2006-03-01 21:45 ` Michael Snyder
@ 2006-03-01 22:06   ` Mark Kettenis
  0 siblings, 0 replies; 3+ messages in thread
From: Mark Kettenis @ 2006-03-01 22:06 UTC (permalink / raw)
  To: msnyder; +Cc: davem, gdb-patches

> 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
> > 
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-03-01 22:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-27 16:43 [PATCH]: Sparc/Linux build fix David S. Miller
2006-03-01 21:45 ` Michael Snyder
2006-03-01 22:06   ` Mark Kettenis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox