summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/valgrind/valgrind/11_mips-link-tool.patch
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2016-10-28 17:41:18 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-06 23:35:34 +0000
commit6c6b6753c0d3494fa79ae493d5d798495a9b03ba (patch)
treeb1ab7d4095d01053d7ef6f42493d8653e1ad04c3 /meta/recipes-devtools/valgrind/valgrind/11_mips-link-tool.patch
parent0340573629b5faab18859e731a91876d0798186a (diff)
downloadpoky-6c6b6753c0d3494fa79ae493d5d798495a9b03ba.tar.gz
valgrind: update to 3.12.0
Remove backported gcc5-port.patch Remove 11_mips-link-tool.patch as there is nothing in the target file (or the entire source tree) that resembles anything contained in the patch. (From OE-Core rev: 221093e850fbc3c154e9069f1958384b59ba3f70) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/valgrind/valgrind/11_mips-link-tool.patch')
-rw-r--r--meta/recipes-devtools/valgrind/valgrind/11_mips-link-tool.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind/11_mips-link-tool.patch b/meta/recipes-devtools/valgrind/valgrind/11_mips-link-tool.patch
deleted file mode 100644
index ecb33b8cb3..0000000000
--- a/meta/recipes-devtools/valgrind/valgrind/11_mips-link-tool.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1Debian fix for MIPS: mmap(0x400000, 32768) failed in UME with error 22 (Invalid argument)
2
3 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777704
4
5Upstream-Status: Pending
6
7Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
8
9
10Description: Disable the MIPS linker workarounds when using -Ttext-section
11Origin: vendor
12Bug-Debian: http://bugs.debian.org/777704
13Author: James Cowgill <james410@cowgill.org.uk>
14Last-Update: 2015-04-25
15
16--- a/coregrind/link_tool_exe_linux.in
17+++ b/coregrind/link_tool_exe_linux.in
18@@ -76,12 +76,13 @@
19 my $arch = substr($x, 0, index($x, "'"));
20
21 my $extra_args;
22-if (($arch eq 'mips') || ($arch eq 'mipsel')
23- || ($arch eq 'mipsisa32r2el')) {
24- $extra_args = "-static -Wl,--section-start=.reginfo=$ala";
25-} elsif (($arch eq 'mips64') || ($arch eq 'mips64el') ||
26- ($arch eq 'mipsisa64el')) {
27- $extra_args = "-static -Wl,--section-start=.MIPS.options=$ala";
28+if ($arch =~ /^mips/ && "@FLAG_T_TEXT@" eq '-Ttext') {
29+ # We only need to use the special mips options when using -Ttext
30+ if ($arch =~ /^mips(64|isa64)/) {
31+ $extra_args = "-static -Wl,--section-start=.MIPS.options=$ala";
32+ } else {
33+ $extra_args = "-static -Wl,--section-start=.reginfo=$ala";
34+ }
35 } else {
36 $extra_args = "-static -Wl,@FLAG_T_TEXT@=$ala";
37 }