hurd: Fix ELF_MACHINE_USER_ADDRESS_MASK value
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 20 Dec 2020 00:47:47 +0000 (01:47 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 20 Dec 2020 00:47:47 +0000 (01:47 +0100)
x86 binaries are linked at 0x08000000, so we need to let them get mapped
there.

sysdeps/i386/dl-machine.h

index bdc21d1a3c7aaf3e20ecad6312de8481a7cf34e0..fea9e579ecc360e9e780fd7d456d31afa09a27fb 100644 (file)
@@ -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;