diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2018-03-12 22:59:09 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2018-03-12 22:59:27 +0100 |
commit | 5fed6ef4ba36f621ad6ff0ab01a32e718641a4f2 (patch) | |
tree | 966af33ed880af8b08e5c9371cee912d6352cc99 /pcr/qemu-user-static-git/0009-linux-user-init_guest_space-Add-a-comment-about-sear.patch | |
parent | 3d1e990c7f226c166eaffcd70766da105f17f5b4 (diff) | |
download | abslibre-5fed6ef4ba36f621ad6ff0ab01a32e718641a4f2.tar.gz abslibre-5fed6ef4ba36f621ad6ff0ab01a32e718641a4f2.tar.bz2 abslibre-5fed6ef4ba36f621ad6ff0ab01a32e718641a4f2.zip |
pcr/qemu-riscv-* superseded by qemu-git et al.
Diffstat (limited to 'pcr/qemu-user-static-git/0009-linux-user-init_guest_space-Add-a-comment-about-sear.patch')
-rw-r--r-- | pcr/qemu-user-static-git/0009-linux-user-init_guest_space-Add-a-comment-about-sear.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/qemu-user-static-git/0009-linux-user-init_guest_space-Add-a-comment-about-sear.patch b/pcr/qemu-user-static-git/0009-linux-user-init_guest_space-Add-a-comment-about-sear.patch new file mode 100644 index 000000000..e91fdefd8 --- /dev/null +++ b/pcr/qemu-user-static-git/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 <lukeshu@parabola.nu> +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 <lukeshu@parabola.nu> +--- + 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 + |