[DO,NOT,PUSH,v3,6/6] TMP hurd: Lower BRK_START

Message ID 20230429201822.2605207-7-bugaevc@gmail.com
State Rejected, archived
Headers
Series The remaining x86_64-gnu patches |

Checks

Context Check Description
dj/TryBot-apply_patch success Patch applied to master at the time it was sent
dj/TryBot-32bit success Build for i686

Commit Message

Sergey Bugaev April 29, 2023, 8:18 p.m. UTC
  ...until gnumach learns to support higher addresses
---
This is not meant to be pushed, but you're going to need this patch
to run glibc on the current builds of gnumach.

 sysdeps/mach/hurd/x86_64/vm_param.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
  

Patch

diff --git a/sysdeps/mach/hurd/x86_64/vm_param.h b/sysdeps/mach/hurd/x86_64/vm_param.h
index f269afb3..e35596bd 100644
--- a/sysdeps/mach/hurd/x86_64/vm_param.h
+++ b/sysdeps/mach/hurd/x86_64/vm_param.h
@@ -19,6 +19,7 @@ 
 #define _X86_64_VM_PARAM_H
 
 /* Arbitrary start of the brk. This is after usual binary and library mappings.  */
-#define BRK_START	0x200000000000
+// #define BRK_START	0x200000000000
+#define BRK_START	0x20000000
 
 #endif /* x86_64/vm_param.h */