diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-10-12 12:28:04 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-10-12 13:08:17 -0700 |
commit | ff0c0a1d83cafde9e039824329f0506335828745 (patch) | |
tree | 3a928bedc9c86249fec8bbbe22c0055ec0ef83a9 /meta-oe/recipes-benchmark/libhugetlbfs | |
parent | 0dfc9ab6f069924a17c523e61c7e37b380248fc0 (diff) | |
download | meta-openembedded-ff0c0a1d83cafde9e039824329f0506335828745.tar.gz |
libhugetlbfs: Refresh patches with devtool
Makes devtool happy as per
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Daniel Díaz <daniel.diaz@linaro.org>
Diffstat (limited to 'meta-oe/recipes-benchmark/libhugetlbfs')
11 files changed, 65 insertions, 71 deletions
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-include-stddef.h-for-ptrdiff_t.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-include-stddef.h-for-ptrdiff_t.patch index bae90b4ed..a84414c02 100644 --- a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-include-stddef.h-for-ptrdiff_t.patch +++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-include-stddef.h-for-ptrdiff_t.patch | |||
@@ -1,15 +1,16 @@ | |||
1 | From d3c2187716a0a1f9359a869ca383c129603554d9 Mon Sep 17 00:00:00 2001 | 1 | From 351d1de09dd80049b7a2cb02c5750635d0389873 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Thu, 21 Jun 2018 19:25:57 -0700 | 3 | Date: Thu, 21 Jun 2018 19:25:57 -0700 |
4 | Subject: [PATCH 1/6] include stddef.h for ptrdiff_t | 4 | Subject: [PATCH] include stddef.h for ptrdiff_t |
5 | 5 | ||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
7 | |||
7 | --- | 8 | --- |
8 | morecore.c | 1 + | 9 | morecore.c | 1 + |
9 | 1 file changed, 1 insertion(+) | 10 | 1 file changed, 1 insertion(+) |
10 | 11 | ||
11 | diff --git a/morecore.c b/morecore.c | 12 | diff --git a/morecore.c b/morecore.c |
12 | index 62ad252..c5981d2 100644 | 13 | index 6563bbd..0eef782 100644 |
13 | --- a/morecore.c | 14 | --- a/morecore.c |
14 | +++ b/morecore.c | 15 | +++ b/morecore.c |
15 | @@ -19,6 +19,7 @@ | 16 | @@ -19,6 +19,7 @@ |
@@ -20,6 +21,3 @@ index 62ad252..c5981d2 100644 | |||
20 | #include <stdio.h> | 21 | #include <stdio.h> |
21 | #include <stdlib.h> | 22 | #include <stdlib.h> |
22 | #include <malloc.h> | 23 | #include <malloc.h> |
23 | -- | ||
24 | 2.17.1 | ||
25 | |||
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-run_test.py-not-use-hard-coded-path-.-obj-hugeadm.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-run_test.py-not-use-hard-coded-path-.-obj-hugeadm.patch index 3082d7ef5..53f35abb7 100644 --- a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-run_test.py-not-use-hard-coded-path-.-obj-hugeadm.patch +++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-run_test.py-not-use-hard-coded-path-.-obj-hugeadm.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From a85fc43243f8bfad12d306a4a0e230fb8b3e828a Mon Sep 17 00:00:00 2001 | 1 | From 0077532b07e268347cb8557be6d70148d5f0e840 Mon Sep 17 00:00:00 2001 |
2 | From: Ting Liu <b28495@freescale.com> | 2 | From: Ting Liu <b28495@freescale.com> |
3 | Date: Wed, 21 Aug 2013 15:44:57 +0800 | 3 | Date: Wed, 21 Aug 2013 15:44:57 +0800 |
4 | Subject: [PATCH] run_test.py: not use hard coded path ../obj/hugeadm | 4 | Subject: [PATCH] run_test.py: not use hard coded path ../obj/hugeadm |
@@ -9,15 +9,16 @@ After 'make install', we can use hugeadm utility under DESTDIR. | |||
9 | Upstream-Status: Submitted | 9 | Upstream-Status: Submitted |
10 | 10 | ||
11 | Signed-off-by: Ting Liu <b28495@freescale.com> | 11 | Signed-off-by: Ting Liu <b28495@freescale.com> |
12 | |||
12 | --- | 13 | --- |
13 | tests/run_tests.py | 12 +++++++++++- | 14 | tests/run_tests.py | 12 +++++++++++- |
14 | 1 files changed, 11 insertions(+), 1 deletions(-) | 15 | 1 file changed, 11 insertions(+), 1 deletion(-) |
15 | 16 | ||
16 | diff --git a/tests/run_tests.py b/tests/run_tests.py | 17 | diff --git a/tests/run_tests.py b/tests/run_tests.py |
17 | index d9a6b35..a9bab8f 100755 | 18 | index 3c95a03..560df6b 100755 |
18 | --- a/tests/run_tests.py | 19 | --- a/tests/run_tests.py |
19 | +++ b/tests/run_tests.py | 20 | +++ b/tests/run_tests.py |
20 | @@ -232,9 +232,19 @@ def get_pagesizes(): | 21 | @@ -234,9 +234,19 @@ def get_pagesizes(): |
21 | Use libhugetlbfs' hugeadm utility to get a list of page sizes that have | 22 | Use libhugetlbfs' hugeadm utility to get a list of page sizes that have |
22 | active mount points and at least one huge page allocated to the pool. | 23 | active mount points and at least one huge page allocated to the pool. |
23 | """ | 24 | """ |
@@ -38,6 +39,3 @@ index d9a6b35..a9bab8f 100755 | |||
38 | if rc != 0 or out == "": return sizes | 39 | if rc != 0 or out == "": return sizes |
39 | 40 | ||
40 | for size in out.split("\n"): sizes.add(int(size)) | 41 | for size in out.split("\n"): sizes.add(int(size)) |
41 | -- | ||
42 | 1.7.3.4 | ||
43 | |||
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0002-Mark-glibc-specific-code-so.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0002-Mark-glibc-specific-code-so.patch index 4354d7861..8cb184a65 100644 --- a/meta-oe/recipes-benchmark/libhugetlbfs/files/0002-Mark-glibc-specific-code-so.patch +++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0002-Mark-glibc-specific-code-so.patch | |||
@@ -1,18 +1,19 @@ | |||
1 | From b72bf6a81fa879f32a074fe53776fc8291c83b6f Mon Sep 17 00:00:00 2001 | 1 | From 0f548286848c70aa325c6748d80e8651389b4938 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Thu, 21 Jun 2018 19:32:59 -0700 | 3 | Date: Thu, 21 Jun 2018 19:32:59 -0700 |
4 | Subject: [PATCH 2/6] Mark glibc specific code so | 4 | Subject: [PATCH] Mark glibc specific code so |
5 | 5 | ||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
7 | |||
7 | --- | 8 | --- |
8 | morecore.c | 3 ++- | 9 | morecore.c | 3 ++- |
9 | 1 file changed, 2 insertions(+), 1 deletion(-) | 10 | 1 file changed, 2 insertions(+), 1 deletion(-) |
10 | 11 | ||
11 | diff --git a/morecore.c b/morecore.c | 12 | diff --git a/morecore.c b/morecore.c |
12 | index c5981d2..ec9fafa 100644 | 13 | index 0eef782..d48509c 100644 |
13 | --- a/morecore.c | 14 | --- a/morecore.c |
14 | +++ b/morecore.c | 15 | +++ b/morecore.c |
15 | @@ -347,6 +347,7 @@ void hugetlbfs_setup_morecore(void) | 16 | @@ -364,6 +364,7 @@ void hugetlbfs_setup_morecore(void) |
16 | 17 | ||
17 | INFO("setup_morecore(): heapaddr = 0x%lx\n", heapaddr); | 18 | INFO("setup_morecore(): heapaddr = 0x%lx\n", heapaddr); |
18 | 19 | ||
@@ -20,20 +21,17 @@ index c5981d2..ec9fafa 100644 | |||
20 | heaptop = heapbase = (void *)heapaddr; | 21 | heaptop = heapbase = (void *)heapaddr; |
21 | if (__hugetlb_opts.thp_morecore) | 22 | if (__hugetlb_opts.thp_morecore) |
22 | __morecore = &thp_morecore; | 23 | __morecore = &thp_morecore; |
23 | @@ -354,7 +355,6 @@ void hugetlbfs_setup_morecore(void) | 24 | @@ -371,7 +372,6 @@ void hugetlbfs_setup_morecore(void) |
24 | __morecore = &hugetlbfs_morecore; | 25 | __morecore = &hugetlbfs_morecore; |
25 | 26 | ||
26 | /* Set some allocator options more appropriate for hugepages */ | 27 | /* Set some allocator options more appropriate for hugepages */ |
27 | - | 28 | - |
28 | if (__hugetlb_opts.shrink_ok) | 29 | if (__hugetlb_opts.shrink_ok) |
29 | mallopt(M_TRIM_THRESHOLD, hpage_size / 2); | 30 | mallopt(M_TRIM_THRESHOLD, hpage_size + hpage_size / 2); |
30 | else | 31 | else |
31 | @@ -364,4 +364,5 @@ void hugetlbfs_setup_morecore(void) | 32 | @@ -381,4 +381,5 @@ void hugetlbfs_setup_morecore(void) |
32 | * This doesn't appear to prohibit malloc() from falling back | 33 | * This doesn't appear to prohibit malloc() from falling back |
33 | * to mmap() if we run out of hugepages. */ | 34 | * to mmap() if we run out of hugepages. */ |
34 | mallopt(M_MMAP_MAX, 0); | 35 | mallopt(M_MMAP_MAX, 0); |
35 | +#endif | 36 | +#endif |
36 | } | 37 | } |
37 | -- | ||
38 | 2.17.1 | ||
39 | |||
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0003-alloc.c-Avoid-sysconf-_SC_LEVEL2_CACHE_LINESIZE-on-l.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0003-alloc.c-Avoid-sysconf-_SC_LEVEL2_CACHE_LINESIZE-on-l.patch index f6d8a10a9..aca7e803d 100644 --- a/meta-oe/recipes-benchmark/libhugetlbfs/files/0003-alloc.c-Avoid-sysconf-_SC_LEVEL2_CACHE_LINESIZE-on-l.patch +++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0003-alloc.c-Avoid-sysconf-_SC_LEVEL2_CACHE_LINESIZE-on-l.patch | |||
@@ -1,12 +1,12 @@ | |||
1 | From 3d6ab5ea8e23f96ee6fdd915e05acd9a751dd876 Mon Sep 17 00:00:00 2001 | 1 | From 9ff04d7acc700387e3837f8ab11a41efea5ee8b0 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Thu, 21 Jun 2018 19:44:26 -0700 | 3 | Date: Thu, 21 Jun 2018 19:44:26 -0700 |
4 | Subject: [PATCH 3/6] alloc.c: Avoid sysconf(_SC_LEVEL2_CACHE_LINESIZE) on | 4 | Subject: [PATCH] alloc.c: Avoid sysconf(_SC_LEVEL2_CACHE_LINESIZE) on linux |
5 | linux | ||
6 | 5 | ||
7 | musl does not have it | 6 | musl does not have it |
8 | 7 | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
9 | |||
10 | --- | 10 | --- |
11 | alloc.c | 15 ++++++++++++++- | 11 | alloc.c | 15 ++++++++++++++- |
12 | 1 file changed, 14 insertions(+), 1 deletion(-) | 12 | 1 file changed, 14 insertions(+), 1 deletion(-) |
@@ -44,6 +44,3 @@ index bce9464..cf7eb40 100644 | |||
44 | linemod = time(NULL); | 44 | linemod = time(NULL); |
45 | } | 45 | } |
46 | 46 | ||
47 | -- | ||
48 | 2.17.1 | ||
49 | |||
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0004-shm.c-Mark-glibc-specific-changes-so.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0004-shm.c-Mark-glibc-specific-changes-so.patch index 960e15293..58776e871 100644 --- a/meta-oe/recipes-benchmark/libhugetlbfs/files/0004-shm.c-Mark-glibc-specific-changes-so.patch +++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0004-shm.c-Mark-glibc-specific-changes-so.patch | |||
@@ -1,9 +1,10 @@ | |||
1 | From 7002dec46dae375e8aa1aa8577a5b274c02fc697 Mon Sep 17 00:00:00 2001 | 1 | From 9ce323432a7f4d99f617970c7e35b607b9bbf843 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Thu, 21 Jun 2018 19:48:04 -0700 | 3 | Date: Thu, 21 Jun 2018 19:48:04 -0700 |
4 | Subject: [PATCH 4/6] shm.c: Mark glibc specific changes so | 4 | Subject: [PATCH] shm.c: Mark glibc specific changes so |
5 | 5 | ||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
7 | |||
7 | --- | 8 | --- |
8 | shm.c | 3 ++- | 9 | shm.c | 3 ++- |
9 | 1 file changed, 2 insertions(+), 1 deletion(-) | 10 | 1 file changed, 2 insertions(+), 1 deletion(-) |
@@ -25,6 +26,3 @@ index 1f82cab..9447b63 100644 | |||
25 | 26 | ||
26 | /* call syscall shmget through the generic syscall mechanism */ | 27 | /* call syscall shmget through the generic syscall mechanism */ |
27 | static int syscall_shmget(key_t key, size_t size, int shmflg) | 28 | static int syscall_shmget(key_t key, size_t size, int shmflg) |
28 | -- | ||
29 | 2.17.1 | ||
30 | |||
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0005-Include-dirent.h-for-ino_t.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0005-Include-dirent.h-for-ino_t.patch index 543302b13..08174200d 100644 --- a/meta-oe/recipes-benchmark/libhugetlbfs/files/0005-Include-dirent.h-for-ino_t.patch +++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0005-Include-dirent.h-for-ino_t.patch | |||
@@ -1,12 +1,13 @@ | |||
1 | From 87ed1706f426ed27fc4eeca7c3b09a4086c9a2a9 Mon Sep 17 00:00:00 2001 | 1 | From bb8c370aaaf25b1fe1fbf984e73177018026cb91 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Thu, 21 Jun 2018 19:51:02 -0700 | 3 | Date: Thu, 21 Jun 2018 19:51:02 -0700 |
4 | Subject: [PATCH 5/6] Include dirent.h for ino_t | 4 | Subject: [PATCH] Include dirent.h for ino_t |
5 | 5 | ||
6 | Fixes | 6 | Fixes |
7 | error: unknown type name 'ino_t'; did you mean 'int'? | 7 | error: unknown type name 'ino_t'; did you mean 'int'? |
8 | 8 | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
10 | |||
10 | --- | 11 | --- |
11 | tests/hugetests.h | 1 + | 12 | tests/hugetests.h | 1 + |
12 | 1 file changed, 1 insertion(+) | 13 | 1 file changed, 1 insertion(+) |
@@ -23,6 +24,3 @@ index 8b1d8d9..056042c 100644 | |||
23 | 24 | ||
24 | #include "libhugetlbfs_privutils.h" | 25 | #include "libhugetlbfs_privutils.h" |
25 | #include "libhugetlbfs_testprobes.h" | 26 | #include "libhugetlbfs_testprobes.h" |
26 | -- | ||
27 | 2.17.1 | ||
28 | |||
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0006-include-limits.h-for-PATH_MAX.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0006-include-limits.h-for-PATH_MAX.patch index 35dd6e11c..2ead21fb4 100644 --- a/meta-oe/recipes-benchmark/libhugetlbfs/files/0006-include-limits.h-for-PATH_MAX.patch +++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0006-include-limits.h-for-PATH_MAX.patch | |||
@@ -1,13 +1,14 @@ | |||
1 | From 96c012ea31a2d124528f3b6f3b9857b71b059db3 Mon Sep 17 00:00:00 2001 | 1 | From 5f64aa8c47c2d3a155a97e262f89cc47394a69eb Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Thu, 21 Jun 2018 19:58:53 -0700 | 3 | Date: Thu, 21 Jun 2018 19:58:53 -0700 |
4 | Subject: [PATCH 6/6] include limits.h for PATH_MAX | 4 | Subject: [PATCH] include limits.h for PATH_MAX |
5 | 5 | ||
6 | Fixes | 6 | Fixes |
7 | 7 | ||
8 | error: 'PATH_MAX' undeclared | 8 | error: 'PATH_MAX' undeclared |
9 | 9 | ||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
11 | |||
11 | --- | 12 | --- |
12 | hugeadm.c | 1 + | 13 | hugeadm.c | 1 + |
13 | tests/gethugepagesizes.c | 1 + | 14 | tests/gethugepagesizes.c | 1 + |
@@ -37,6 +38,3 @@ index 9551b38..2645e3f 100644 | |||
37 | 38 | ||
38 | #include "hugetests.h" | 39 | #include "hugetests.h" |
39 | 40 | ||
40 | -- | ||
41 | 2.17.1 | ||
42 | |||
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/libhugetlbfs-avoid-search-host-library-path-for-cros.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/libhugetlbfs-avoid-search-host-library-path-for-cros.patch index b3fd84312..f95e9e85a 100644 --- a/meta-oe/recipes-benchmark/libhugetlbfs/files/libhugetlbfs-avoid-search-host-library-path-for-cros.patch +++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/libhugetlbfs-avoid-search-host-library-path-for-cros.patch | |||
@@ -1,19 +1,20 @@ | |||
1 | From 0a2877400a086e9d6ddd32a80462b7a931921dc2 Mon Sep 17 00:00:00 2001 | 1 | From 82a4f60ab24dff121f5f9d3bbcd9a8a28bb7caef Mon Sep 17 00:00:00 2001 |
2 | From: Chunrong Guo <B40290@freescale.com> | 2 | From: Chunrong Guo <B40290@freescale.com> |
3 | Date: Sun, 8 Sep 2013 23:21:49 -0500 | 3 | Date: Sun, 8 Sep 2013 23:21:49 -0500 |
4 | Subject: [PATCH] libhugetlbfs: avoid search host library path for cross | 4 | Subject: [PATCH] libhugetlbfs: avoid search host library path for cross |
5 | compilation | 5 | compilation |
6 | 6 | ||
7 | Upstream-Status: Inappropriate [oe-core specific] | 7 | Upstream-Status: Inappropriate [oe-core specific] |
8 | 8 | ||
9 | Signed-off-by: Chunrong Guo <B40290@freescale.com> | 9 | Signed-off-by: Chunrong Guo <B40290@freescale.com> |
10 | |||
10 | --- | 11 | --- |
11 | ldscripts/elf32ppclinux.xB | 2 +- | 12 | ldscripts/elf32ppclinux.xB | 2 +- |
12 | ldscripts/elf32ppclinux.xBDT | 2 +- | 13 | ldscripts/elf32ppclinux.xBDT | 2 +- |
13 | ldscripts/elf64ppc.xB | 2 +- | 14 | ldscripts/elf64ppc.xB | 2 +- |
14 | ldscripts/elf64ppc.xBDT | 2 +- | 15 | ldscripts/elf64ppc.xBDT | 2 +- |
15 | ldscripts/elf_x86_64.xB | 2 +- | 16 | ldscripts/elf_x86_64.xB | 2 +- |
16 | ldscripts/elf_x86_64.xBDT | 2 +- | 17 | ldscripts/elf_x86_64.xBDT | 2 +- |
17 | 6 files changed, 6 insertions(+), 6 deletions(-) | 18 | 6 files changed, 6 insertions(+), 6 deletions(-) |
18 | 19 | ||
19 | diff --git a/ldscripts/elf32ppclinux.xB b/ldscripts/elf32ppclinux.xB | 20 | diff --git a/ldscripts/elf32ppclinux.xB b/ldscripts/elf32ppclinux.xB |
@@ -94,6 +95,3 @@ index 1855202..c62d245 100644 | |||
94 | INPUT(-lhugetlbfs); | 95 | INPUT(-lhugetlbfs); |
95 | /* Do we need any of these for elf? | 96 | /* Do we need any of these for elf? |
96 | __DYNAMIC = 0; */ | 97 | __DYNAMIC = 0; */ |
97 | -- | ||
98 | 1.7.9.7 | ||
99 | |||
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/libhugetlbfs-elf_i386-avoid-search-host-library-path.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/libhugetlbfs-elf_i386-avoid-search-host-library-path.patch index 15664884b..7cc180a4b 100644 --- a/meta-oe/recipes-benchmark/libhugetlbfs/files/libhugetlbfs-elf_i386-avoid-search-host-library-path.patch +++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/libhugetlbfs-elf_i386-avoid-search-host-library-path.patch | |||
@@ -1,14 +1,16 @@ | |||
1 | From 889e52753d30179ba4ac940023cb4ed561436ab8 Mon Sep 17 00:00:00 2001 | 1 | From b5887693d90c430291b644c2f5713b5fdd1777ce Mon Sep 17 00:00:00 2001 |
2 | From: Jackie Huang <jackie.huang@windriver.com> | 2 | From: Jackie Huang <jackie.huang@windriver.com> |
3 | Date: Tue, 4 Nov 2014 00:49:11 -0800 | 3 | Date: Tue, 4 Nov 2014 00:49:11 -0800 |
4 | Subject: [PATCH] libhugetlbfs/elf_i386: avoid search host library path for cross compilation | 4 | Subject: [PATCH] libhugetlbfs/elf_i386: avoid search host library path for |
5 | cross compilation | ||
5 | 6 | ||
6 | Upstream-Status: Inappropriate [cross compile specific] | 7 | Upstream-Status: Inappropriate [cross compile specific] |
7 | 8 | ||
8 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> | 9 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> |
10 | |||
9 | --- | 11 | --- |
10 | ldscripts/elf_i386.xB | 1 - | 12 | ldscripts/elf_i386.xB | 1 - |
11 | ldscripts/elf_i386.xBDT | 1 - | 13 | ldscripts/elf_i386.xBDT | 1 - |
12 | 2 files changed, 2 deletions(-) | 14 | 2 files changed, 2 deletions(-) |
13 | 15 | ||
14 | diff --git a/ldscripts/elf_i386.xB b/ldscripts/elf_i386.xB | 16 | diff --git a/ldscripts/elf_i386.xB b/ldscripts/elf_i386.xB |
@@ -35,6 +37,3 @@ index d72aebe..3bac1b1 100644 | |||
35 | INPUT(-lhugetlbfs); | 37 | INPUT(-lhugetlbfs); |
36 | /* Do we need any of these for elf? | 38 | /* Do we need any of these for elf? |
37 | __DYNAMIC = 0; */ | 39 | __DYNAMIC = 0; */ |
38 | -- | ||
39 | 1.7.9.5 | ||
40 | |||
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/skip-checking-LIB32-and-LIB64-if-they-point-to-the-s.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/skip-checking-LIB32-and-LIB64-if-they-point-to-the-s.patch index 07a99719b..a13c5389f 100644 --- a/meta-oe/recipes-benchmark/libhugetlbfs/files/skip-checking-LIB32-and-LIB64-if-they-point-to-the-s.patch +++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/skip-checking-LIB32-and-LIB64-if-they-point-to-the-s.patch | |||
@@ -1,17 +1,20 @@ | |||
1 | From 355c014573de7f95202cc7c819f81f0f230e4a1a Mon Sep 17 00:00:00 2001 | 1 | From 183a4dafe141197de5840f2e48c266ef209307aa Mon Sep 17 00:00:00 2001 |
2 | From: Ting Liu <b28495@freescale.com> | 2 | From: Ting Liu <b28495@freescale.com> |
3 | Date: Mon, 18 Jun 2012 16:37:05 +0800 | 3 | Date: Mon, 18 Jun 2012 16:37:05 +0800 |
4 | Subject: [PATCH] skip checking LIB32 and LIB64 if they point to the same place | 4 | Subject: [PATCH] skip checking LIB32 and LIB64 if they point to the same place |
5 | 5 | ||
6 | Upstream-Status: Inappropriate [oe-core specific] | 6 | Upstream-Status: Inappropriate [oe-core specific] |
7 | Signed-off-by: Ting Liu <b28495@freescale.com> | 7 | Signed-off-by: Ting Liu <b28495@freescale.com> |
8 | |||
8 | --- | 9 | --- |
10 | Makefile | 1 - | ||
11 | 1 file changed, 1 deletion(-) | ||
9 | 12 | ||
10 | diff --git a/Makefile b/Makefile | 13 | diff --git a/Makefile b/Makefile |
11 | index 91502e1..bfb3414 100644 | 14 | index 51e41f0..373df3c 100644 |
12 | --- a/Makefile | 15 | --- a/Makefile |
13 | +++ b/Makefile | 16 | +++ b/Makefile |
14 | @@ -167,7 +167,6 @@ REALLIB32 = $(realpath $(PREFIX)/$(LIB32)) | 17 | @@ -177,7 +177,6 @@ REALLIB32 = $(realpath $(PREFIX)/$(LIB32)) |
15 | REALLIB64 = $(realpath $(PREFIX)/$(LIB64)) | 18 | REALLIB64 = $(realpath $(PREFIX)/$(LIB64)) |
16 | ifneq ($(realpath $(PREFIX)),) | 19 | ifneq ($(realpath $(PREFIX)),) |
17 | ifeq ($(REALLIB32),$(REALLIB64)) | 20 | ifeq ($(REALLIB32),$(REALLIB64)) |
@@ -19,5 +22,3 @@ index 91502e1..bfb3414 100644 | |||
19 | endif | 22 | endif |
20 | endif | 23 | endif |
21 | 24 | ||
22 | -- | ||
23 | 1.9.2 | ||
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/tests-Makefile-install-static-4G-edge-testcases.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/tests-Makefile-install-static-4G-edge-testcases.patch index 249f6e1e2..b8b2f8e6f 100644 --- a/meta-oe/recipes-benchmark/libhugetlbfs/files/tests-Makefile-install-static-4G-edge-testcases.patch +++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/tests-Makefile-install-static-4G-edge-testcases.patch | |||
@@ -1,12 +1,23 @@ | |||
1 | From f1ad8ff887f16daee8d06eca3df0f2541bfdaac0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Ting Liu <b28495@freescale.com> | ||
3 | Date: Mon, 23 Sep 2013 08:00:55 +0000 | ||
4 | Subject: [PATCH] libhugetlbfs: add recipe | ||
5 | |||
1 | Upstream-Status: Submitted | 6 | Upstream-Status: Submitted |
2 | 7 | ||
3 | TESTS_64 is empty, install will fail due to missing file operand | 8 | TESTS_64 is empty, install will fail due to missing file operand |
4 | 9 | ||
5 | Signed-off-by: Ting Liu <b28495@freescale.com> | 10 | Signed-off-by: Ting Liu <b28495@freescale.com> |
6 | 11 | ||
7 | --- a/tests/Makefileold 2013-10-12 02:32:55.262391998 -0500 | 12 | --- |
8 | +++ b/tests/Makefile 2013-10-12 02:33:45.929394722 -0500 | 13 | tests/Makefile | 2 +- |
9 | @@ -292,7 +292,7 @@ | 14 | 1 file changed, 1 insertion(+), 1 deletion(-) |
15 | |||
16 | diff --git a/tests/Makefile b/tests/Makefile | ||
17 | index 073df96..0ca3716 100644 | ||
18 | --- a/tests/Makefile | ||
19 | +++ b/tests/Makefile | ||
20 | @@ -295,7 +295,7 @@ obj64/install: | ||
10 | $(INSTALL) -m 755 wrapper-utils.sh $(DESTDIR)$(INST_TESTSDIR64)/obj64 | 21 | $(INSTALL) -m 755 wrapper-utils.sh $(DESTDIR)$(INST_TESTSDIR64)/obj64 |
11 | $(INSTALL) -m 755 $(HELPERS:%=obj64/%) $(DESTDIR)$(INST_TESTSDIR64)/obj64 | 22 | $(INSTALL) -m 755 $(HELPERS:%=obj64/%) $(DESTDIR)$(INST_TESTSDIR64)/obj64 |
12 | $(INSTALL) -m 755 $(HELPER_LIBS:%=obj64/%) $(DESTDIR)$(INST_TESTSDIR64)/obj64 | 23 | $(INSTALL) -m 755 $(HELPER_LIBS:%=obj64/%) $(DESTDIR)$(INST_TESTSDIR64)/obj64 |