summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark/libhugetlbfs/files/0005-libhugetlbfs-elf_i386-avoid-search-host-library-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-benchmark/libhugetlbfs/files/0005-libhugetlbfs-elf_i386-avoid-search-host-library-path.patch')
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/files/0005-libhugetlbfs-elf_i386-avoid-search-host-library-path.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0005-libhugetlbfs-elf_i386-avoid-search-host-library-path.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0005-libhugetlbfs-elf_i386-avoid-search-host-library-path.patch
new file mode 100644
index 0000000000..fc8776af66
--- /dev/null
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0005-libhugetlbfs-elf_i386-avoid-search-host-library-path.patch
@@ -0,0 +1,41 @@
1From 8c7a379876e3c7a32bef8620f94a85d20b7b186f Mon Sep 17 00:00:00 2001
2From: Jackie Huang <jackie.huang@windriver.com>
3Date: Tue, 4 Nov 2014 00:49:11 -0800
4Subject: [PATCH] libhugetlbfs/elf_i386: avoid search host library path for
5 cross compilation
6
7Upstream-Status: Inappropriate [cross compile specific]
8
9Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
10---
11 ldscripts/elf_i386.xB | 1 -
12 ldscripts/elf_i386.xBDT | 1 -
13 2 files changed, 2 deletions(-)
14
15diff --git a/ldscripts/elf_i386.xB b/ldscripts/elf_i386.xB
16index 43fe51c..eae0fa8 100644
17--- a/ldscripts/elf_i386.xB
18+++ b/ldscripts/elf_i386.xB
19@@ -3,7 +3,6 @@ OUTPUT_FORMAT("elf32-i386", "elf32-i386",
20 "elf32-i386")
21 OUTPUT_ARCH(i386)
22 ENTRY(_start)
23-SEARCH_DIR("/usr/i486-linux-gnu/lib"); SEARCH_DIR("/usr/local/lib"); SEARCH_DIR("/lib"); SEARCH_DIR("/usr/lib");
24 INPUT(-lhugetlbfs);
25 /* Do we need any of these for elf?
26 __DYNAMIC = 0; */
27diff --git a/ldscripts/elf_i386.xBDT b/ldscripts/elf_i386.xBDT
28index d72aebe..3bac1b1 100644
29--- a/ldscripts/elf_i386.xBDT
30+++ b/ldscripts/elf_i386.xBDT
31@@ -3,7 +3,6 @@ OUTPUT_FORMAT("elf32-i386", "elf32-i386",
32 "elf32-i386")
33 OUTPUT_ARCH(i386)
34 ENTRY(_start)
35-SEARCH_DIR("/usr/i486-linux-gnu/lib"); SEARCH_DIR("/usr/local/lib"); SEARCH_DIR("/lib"); SEARCH_DIR("/usr/lib");
36 INPUT(-lhugetlbfs);
37 /* Do we need any of these for elf?
38 __DYNAMIC = 0; */
39--
402.25.1
41