summaryrefslogtreecommitdiff
path: root/package/devel/valgrind/patches/310-mips-link-tool.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2016-10-01 19:54:22 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2016-12-03 21:03:56 +0100
commit7e6c53dac985d39737107edc187d7b7039a42ad0 (patch)
tree853f832b8ae458f1d80705914e4b7a81481daa2e /package/devel/valgrind/patches/310-mips-link-tool.patch
parent4e07167eff3992150c6c2f414a0f3a88d5c42013 (diff)
downloadmtk-20170518-7e6c53dac985d39737107edc187d7b7039a42ad0.zip
mtk-20170518-7e6c53dac985d39737107edc187d7b7039a42ad0.tar.gz
mtk-20170518-7e6c53dac985d39737107edc187d7b7039a42ad0.tar.bz2
valgrind: update to 3.12.0
Support for MIPS toolchains without FPU support was added upstream, so remove our patch. patches/310-mips-link-tool.patch was a backport form this version of valgrind src/abort.c is not referenced anywhere Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/devel/valgrind/patches/310-mips-link-tool.patch')
-rw-r--r--package/devel/valgrind/patches/310-mips-link-tool.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/package/devel/valgrind/patches/310-mips-link-tool.patch b/package/devel/valgrind/patches/310-mips-link-tool.patch
deleted file mode 100644
index 198f740..0000000
--- a/package/devel/valgrind/patches/310-mips-link-tool.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-r15754 | petarj | 2015-12-29 20:14:37 +0100 (Tue, 29 Dec 2015) | 8 lines
-
-mips: remove link script exception for MIPS arch
-
-Current toolchains on MIPS targets that we care about are reasonably
-modern and we do not need this link script exception for MIPS anymore.
-
-This should fix issues with newer toolchain versions and .MIPS.abiflags
-section.
-
---- a/coregrind/link_tool_exe_linux.in
-+++ b/coregrind/link_tool_exe_linux.in
-@@ -69,24 +69,7 @@ shift; # Remove $ala from @ARGV
- die "Bogus alt-load address"
- if (length($ala) < 3 || index($ala, "0x") != 0);
-
--# For mips32 or mips64 we need to use "--section-start=.reginfo=$ala" or
--# "--section-start=.MIPS.options=$ala" respectively, because "-Ttext=$ala" will
--# not put all the sections to the specificed address ($ala).
--my $x = `cat ../config.log 2>&1 | grep host_cpu= | sed "s/host_cpu='//g"`;
--my $arch = substr($x, 0, index($x, "'"));
--
--my $extra_args;
--if (($arch eq 'mips') || ($arch eq 'mipsel')
-- || ($arch eq 'mipsisa32r2el')) {
-- $extra_args = "-static -Wl,--section-start=.reginfo=$ala";
--} elsif (($arch eq 'mips64') || ($arch eq 'mips64el') ||
-- ($arch eq 'mipsisa64el')) {
-- $extra_args = "-static -Wl,--section-start=.MIPS.options=$ala";
--} else {
-- $extra_args = "-static -Wl,@FLAG_T_TEXT@=$ala";
--}
--
--my $cmd = join(" ", @ARGV, $extra_args);
-+my $cmd = join(" ", @ARGV, "-static -Wl,@FLAG_T_TEXT@=$ala");
-
- #print "link_tool_exe_linux: $cmd\n";
-