Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Fix m32c and mep build
@ 2012-08-01 19:38 Richard Henderson
  2012-08-01 19:48 ` Tom Tromey
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Henderson @ 2012-08-01 19:38 UTC (permalink / raw)
  To: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 151 bytes --]

Since prologue-value.o is now unconditionally linked in,
this leads to multiple-definition link errors.

Approved by tromey on irc and committed.


r~

[-- Attachment #2: z --]
[-- Type: text/plain, Size: 875 bytes --]

        * configure.tgt (m32c-*-*) [gdb_target_obs]: Remove prologue-value.o.
        (mep-*-*) [gdb_target_obs]: Likewise.


Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.255
diff -u -r1.255 configure.tgt
--- configure.tgt	25 Jul 2012 15:34:08 -0000	1.255
+++ configure.tgt	1 Aug 2012 18:27:06 -0000
@@ -267,7 +267,7 @@
 
 m32c-*-*)
 	# Target: Renesas M32C family
-	gdb_target_obs="m32c-tdep.o prologue-value.o"
+	gdb_target_obs="m32c-tdep.o"
 	# There may also be a SID / CGEN simulator for this,
 	# but we do have DJ Delorie's mini-sim.
 	gdb_sim=../sim/m32c/libsim.a
@@ -321,7 +321,7 @@
 
 mep-*-*)
 	# Target: Toshiba Media Processor (MEP)
-	gdb_target_obs="mep-tdep.o prologue-value.o"
+	gdb_target_obs="mep-tdep.o"
 	# No sim needed. Target uses SID.
 	;;
 

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

* Re: Fix m32c and mep build
  2012-08-01 19:38 Fix m32c and mep build Richard Henderson
@ 2012-08-01 19:48 ` Tom Tromey
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Tromey @ 2012-08-01 19:48 UTC (permalink / raw)
  To: Richard Henderson; +Cc: gdb-patches

>>>>> "rth" == Richard Henderson <rth@redhat.com> writes:

rth> Since prologue-value.o is now unconditionally linked in,
rth> this leads to multiple-definition link errors.

rth> Approved by tromey on irc and committed.

I'm putting it on the 7.5 branch as well.

Tom


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

end of thread, other threads:[~2012-08-01 19:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-01 19:38 Fix m32c and mep build Richard Henderson
2012-08-01 19:48 ` Tom Tromey

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