From 28afb45ff5151bd0e1c6d2796a12fac36b960b1b Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 25 Dec 2017 04:40:41 -0500 Subject: libre/{qemu-static => qemu-user-static}: upgpkg 2.11.0-3.parabola1 --- ...init_guest_space-Add-a-comment-about-sear.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 libre/qemu-user-static/0009-linux-user-init_guest_space-Add-a-comment-about-sear.patch (limited to 'libre/qemu-user-static/0009-linux-user-init_guest_space-Add-a-comment-about-sear.patch') diff --git a/libre/qemu-user-static/0009-linux-user-init_guest_space-Add-a-comment-about-sear.patch b/libre/qemu-user-static/0009-linux-user-init_guest_space-Add-a-comment-about-sear.patch new file mode 100644 index 000000000..e91fdefd8 --- /dev/null +++ b/libre/qemu-user-static/0009-linux-user-init_guest_space-Add-a-comment-about-sear.patch @@ -0,0 +1,29 @@ +From 81033c66738a2e3b713c414e8e07e6ef8e59d8d7 Mon Sep 17 00:00:00 2001 +From: Luke Shumaker +Date: Thu, 28 Dec 2017 07:22:29 -0500 +Subject: [PATCH 09/10] linux-user: init_guest_space: Add a comment about + search strategy + +Signed-off-by: Luke Shumaker +--- + linux-user/elfload.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/linux-user/elfload.c b/linux-user/elfload.c +index 1b7583d659..7736ea2c3a 100644 +--- a/linux-user/elfload.c ++++ b/linux-user/elfload.c +@@ -1936,6 +1936,10 @@ unsigned long init_guest_space(unsigned long host_start, + * happen often. Probably means we got unlucky and host + * address space randomization put a shared library somewhere + * inconvenient. ++ * ++ * This is probably a good strategy if host_start, but is ++ * probably a bad strategy if not, which means we got here ++ * because of trouble with ARM commpage setup. + */ + munmap((void *)real_start, real_size); + current_start += qemu_host_page_size; +-- +2.15.1 + -- cgit v1.2.3