commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd,commited] hurd: Fix ELF_MACHINE_USER_ADDRESS_MASK value


From: Samuel Thibault
Subject: [hurd,commited] hurd: Fix ELF_MACHINE_USER_ADDRESS_MASK value
Date: Sun, 20 Dec 2020 02:41:48 +0100

x86 binaries are linked at 0x08000000, so we need to let them get mapped
there.
---
 sysdeps/i386/dl-machine.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysdeps/i386/dl-machine.h b/sysdeps/i386/dl-machine.h
index bdc21d1a3c..fea9e579ec 100644
--- a/sysdeps/i386/dl-machine.h
+++ b/sysdeps/i386/dl-machine.h
@@ -143,7 +143,7 @@ extern ElfW(Addr) _dl_profile_fixup (struct link_map *l,
 
 /* Mask identifying addresses reserved for the user program,
    where the dynamic linker should not map anything.  */
-#define ELF_MACHINE_USER_ADDRESS_MASK  0xf8000000UL
+#define ELF_MACHINE_USER_ADDRESS_MASK  0xf0000000UL
 
 /* Initial entry point code for the dynamic linker.
    The C function `_dl_start' is the real entry point;
-- 
2.29.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]