git-ELF_MACHINE_USER_ADDRESS_MASK
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)
Committed for 2.33

commit 407765e9f24f5a82f318a9e069a977710ac99ee0
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Dec 20 01:47:47 2020 +0100

    hurd: Fix ELF_MACHINE_USER_ADDRESS_MASK value

    x86 binaries are linked at 0x08000000, so we need to let them get mapped
    there.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-ELF_MACHINE_USER_ADDRESS_MASK.diff

sysdeps/i386/dl-machine.h

index 672d8f27cef4b51502f14537edc529f9a0e4a209..6c786a5c9c48e1f386552f4201e4435e1344bf6d 100644 (file)
@@ -144,7 +144,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;