diff options
author | Vladimir Sorokin <sorokin@altell.ru> | 2010-10-25 17:20:25 +0400 |
---|---|---|
committer | Roman I Khimov <khimov@altell.ru> | 2010-10-30 11:09:27 +0400 |
commit | 532b09c8b2b11d8e0133c33d7ec235feb54111bd (patch) | |
tree | 816a8d16d0bf4707c6c8b3bd554d5ca45b9c68dc /recipes/valgrind/valgrind-3.6.0 | |
parent | 237d418d6409fff608cb7acdcfefe8bbd6c150ad (diff) | |
download | openembedded-532b09c8b2b11d8e0133c33d7ec235feb54111bd.tar.gz |
valgrind: new version 3.6.0
Signed-off-by: Vladimir Sorokin <sorokin@altell.ru>
Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'recipes/valgrind/valgrind-3.6.0')
-rw-r--r-- | recipes/valgrind/valgrind-3.6.0/fix-link-tool.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes/valgrind/valgrind-3.6.0/fix-link-tool.patch b/recipes/valgrind/valgrind-3.6.0/fix-link-tool.patch new file mode 100644 index 0000000000..0e395306cc --- /dev/null +++ b/recipes/valgrind/valgrind-3.6.0/fix-link-tool.patch @@ -0,0 +1,26 @@ +diff -rupN valgrind-3.6.0/coregrind/link_tool_exe_linux.in new/coregrind/link_tool_exe_linux.in +--- valgrind-3.6.0/coregrind/link_tool_exe_linux.in 2010-10-21 00:19:45.000000000 +0400 ++++ new/coregrind/link_tool_exe_linux.in 2010-10-25 17:11:47.000000000 +0400 +@@ -60,20 +60,13 @@ my $ala = $ARGV[0]; + die "Bogus alt-load address" + if (length($ala) < 3 || index($ala, "0x") != 0); + +-# The cc invokation to do the final link +-my $cc = $ARGV[1]; +- +-# and the 'restargs' are argv[2 ..] +- +-# so, build up the complete command here: +-# 'cc' -static -Ttext='ala' 'restargs' +- +-my $cmd="$cc -static -Wl,-Ttext=$ala"; ++my $cmd=""; + + # Add the rest of the parameters + foreach my $n (2 .. $#ARGV) { + $cmd = "$cmd $ARGV[$n]"; + } ++$cmd = "$cmd -static -Wl,-Ttext=$ala"; + + #print "link_tool_exe_linux: $cmd\n"; + |