aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Elliston <bje@gnu.org>2007-12-27 21:54:24 +0000
committerBen Elliston <bje@gnu.org>2007-12-27 21:54:24 +0000
commit19fa18319524fc5d94254b17aa0ec2ed4daeddbd (patch)
treea5870857bfb9ea863d4a23e73343f80902b684ff
parentdd9afac8c104e0262db9bdc2c43f9c391aae260f (diff)
downloaddejagnu-origin.zip
dejagnu-origin.tar.gz
dejagnu-origin.tar.bz2
* lib/target.exp (default_link): Initialize nobjects before use.origin/originorigin
-rw-r--r--ChangeLog4
-rw-r--r--lib/target.exp1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5b14889..621eaa1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-12-28 Joseph Myers <joseph@codesourcery.com>
+
+ * lib/target.exp (default_link): Initialize nobjects before use.
+
2007-12-06 Ben Elliston <bje@gnu.org>
* lib/dg.exp (dg_bogus): Comment fix.
diff --git a/lib/target.exp b/lib/target.exp
index 6e6d8cc..278b9b4 100644
--- a/lib/target.exp
+++ b/lib/target.exp
@@ -758,6 +758,7 @@ proc default_link { board objects destfile flags } {
}
if {[is_remote host]} {
+ set nobjects ""
foreach x $objects {
set nobjects "$nobjects [remote_download host $x]"
}