Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 031af365 authored by Evgenii Stepanov's avatar Evgenii Stepanov Committed by Amit Pundir
Browse files

ANDROID: Revert "arm64: move ELF_ET_DYN_BASE to 4GB / 4MB"



Part of the above change was reverted in c715b72c;
this change reverts the rest.

This ARM mmap change breaks AddressSanitizer:

Shadow memory range interleaves with an existing memory mapping. ASan cannot proceed correctly. ABORTING.

Revert it until ASAN runtime library is updated to handle it.

Bug: 67425063

Signed-off-by: default avatarEvgenii Stepanov <eugenis@google.com>

[AmitP: Updated the commit ID of the upstream commit]
Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
parent 040c05c6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -173,7 +173,7 @@ extern int arch_setup_additional_pages(struct linux_binprm *bprm,
#ifdef CONFIG_COMPAT

/* PIE load location for compat arm. Must match ARM ELF_ET_DYN_BASE. */
#define COMPAT_ELF_ET_DYN_BASE		0x000400000UL
#define COMPAT_ELF_ET_DYN_BASE		(2 * TASK_SIZE_32 / 3)

/* AArch32 registers. */
#define COMPAT_ELF_NGREG		18