diff -u -p -r1.15 bootstrap.exp
--- ld/testsuite/ld-bootstrap/bootstrap.exp 6 Jul 2007 14:09:42 -0000 1.15
+++ ld/testsuite/ld-bootstrap/bootstrap.exp 26 Feb 2009 04:44:23 -0000
@@ -152,8 +152,8 @@ foreach flags {"" "strip" "--static" "--
# Although this works, a way to set the date would be better.
# Removing or zeroing the date stamp in the binary produced by
# the linker is not possible as it is required by the target OS.
- exec tail +140 tmpdir/ld2 >tmpdir/ld2tail
- exec tail +140 tmpdir/ld3 >tmpdir/ld3tail
+ exec tail -n +140 tmpdir/ld2 >tmpdir/ld2tail
+ exec tail -n +140 tmpdir/ld3 >tmpdir/ld3tail
catch "exec cmp tmpdir/ld2tail tmpdir/ld3tail" exec_output
exec rm tmpdir/ld2tail tmpdir/ld3tail
} else {