diff mbox series

[hurd,commited] hurd: Fix ELF_MACHINE_USER_ADDRESS_MASK value

Message ID 20201220014148.3261877-1-samuel.thibault@ens-lyon.org
State New
Headers show
Series [hurd,commited] hurd: Fix ELF_MACHINE_USER_ADDRESS_MASK value | expand

Commit Message

Samuel Thibault Dec. 20, 2020, 1:41 a.m. UTC
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 mbox series

Patch

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;