[valgrind-variant] r131 committed - Use an absolute path to fixup_macho_loadcmds in link_tool_exe_darwin.

1 view
Skip to first unread message

valgrind...@googlecode.com

unread,
Dec 27, 2011, 5:25:10 AM12/27/11
to valgrind-var...@googlegroups.com
Revision: 131
Author: gli...@google.com
Date: Tue Dec 27 02:24:31 2011
Log: Use an absolute path to fixup_macho_loadcmds in
link_tool_exe_darwin.

http://code.google.com/p/valgrind-variant/source/detail?r=131

Modified:
/trunk/valgrind/coregrind/link_tool_exe_darwin.in

=======================================
--- /trunk/valgrind/coregrind/link_tool_exe_darwin.in Tue Oct 25 09:11:36
2011
+++ /trunk/valgrind/coregrind/link_tool_exe_darwin.in Tue Dec 27 02:24:31
2011
@@ -70,6 +70,7 @@

use warnings;
use strict;
+use Cwd;
# we need to be able to do 64-bit arithmetic:
use Math::BigInt;

@@ -173,7 +174,7 @@
# and now kludge the tool exe
# see bug 267997

-$cmd = "../coregrind/fixup_macho_loadcmds";
+$cmd = getcwd() . "/../coregrind/fixup_macho_loadcmds";
$cmd = "$cmd $stack_addr_str $stack_size_str $outname";

print "link_tool_exe_darwin: $cmd\n";

Reply all
Reply to author
Forward
0 new messages