diff options
author | graysky | 2017-08-25 14:15:20 -0400 |
---|---|---|
committer | graysky | 2017-08-25 14:15:20 -0400 |
commit | eda4c488626f3e315bbb97e5ab8fc0afdcf7ef8f (patch) | |
tree | 608b50e2c10648613846bb9b176fcc3aa2ceaa63 /mm-Revert-x86_64-and-arm64-ELF_ET_DYN_BASE-base.patch | |
parent | c4a65be8af0eea00db0b90c87f559c8fa7dca2e8 (diff) | |
download | aur-eda4c488626f3e315bbb97e5ab8fc0afdcf7ef8f.tar.gz |
Update to 4.12.9-2
Diffstat (limited to 'mm-Revert-x86_64-and-arm64-ELF_ET_DYN_BASE-base.patch')
-rw-r--r-- | mm-Revert-x86_64-and-arm64-ELF_ET_DYN_BASE-base.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/mm-Revert-x86_64-and-arm64-ELF_ET_DYN_BASE-base.patch b/mm-Revert-x86_64-and-arm64-ELF_ET_DYN_BASE-base.patch deleted file mode 100644 index bf089e08adc6..000000000000 --- a/mm-Revert-x86_64-and-arm64-ELF_ET_DYN_BASE-base.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff --git a/arch/arm64/include/asm/elf.h b/arch/arm64/include/asm/elf.h -index acae781f7359..3288c2b36731 100644 ---- a/arch/arm64/include/asm/elf.h -+++ b/arch/arm64/include/asm/elf.h -@@ -114,10 +114,10 @@ - - /* - * This is the base location for PIE (ET_DYN with INTERP) loads. On -- * 64-bit, this is raised to 4GB to leave the entire 32-bit address -+ * 64-bit, this is above 4GB to leave the entire 32-bit address - * space open for things that want to use the area for 32-bit pointers. - */ --#define ELF_ET_DYN_BASE 0x100000000UL -+#define ELF_ET_DYN_BASE (2 * TASK_SIZE_64 / 3) - - #ifndef __ASSEMBLY__ - -diff --git a/arch/x86/include/asm/elf.h b/arch/x86/include/asm/elf.h -index 1c18d83d3f09..9aeb91935ce0 100644 ---- a/arch/x86/include/asm/elf.h -+++ b/arch/x86/include/asm/elf.h -@@ -247,11 +247,11 @@ extern int force_personality32; - - /* - * This is the base location for PIE (ET_DYN with INTERP) loads. On -- * 64-bit, this is raised to 4GB to leave the entire 32-bit address -+ * 64-bit, this is above 4GB to leave the entire 32-bit address - * space open for things that want to use the area for 32-bit pointers. - */ - #define ELF_ET_DYN_BASE (mmap_is_ia32() ? 0x000400000UL : \ -- 0x100000000UL) -+ (TASK_SIZE / 3 * 2)) - - /* This yields a mask that user programs can use to figure out what - instruction set this CPU supports. This could be done in user space, |