public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] hurd: Fix ELF_MACHINE_USER_ADDRESS_MASK value
@ 2020-12-20 18:02 Samuel Thibault
  0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2020-12-20 18:02 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=407765e9f24f5a82f318a9e069a977710ac99ee0

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.

Diff:
---
 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;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-20 18:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-20 18:02 [glibc] hurd: Fix ELF_MACHINE_USER_ADDRESS_MASK value Samuel Thibault

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).