mirror of
https://git.freebsd.org/ports.git
synced 2025-05-16 17:21:49 -04:00
- Lower 32bit mips TARGET_USRSTACK to fix an assert starting mips processes on 64bit hosts. (like amd64) [1] - Pass down interp_prefix (-L arg) to target subprocesses so running shared target binaries as subprocesses works. - Bump PORTREVISION. Reported by: sbruno [1]
12 lines
495 B
C
12 lines
495 B
C
--- a/bsd-user/mips/target_arch_vmparam.h
|
|
+++ b/bsd-user/mips/target_arch_vmparam.h
|
|
@@ -35,7 +35,8 @@
|
|
#define TARGET_VM_MINUSER_ADDRESS (0x00000000)
|
|
#define TARGET_VM_MAXUSER_ADDRESS (0x80000000)
|
|
|
|
-#define TARGET_USRSTACK (TARGET_VM_MAXUSER_ADDRESS - TARGET_PAGE_SIZE)
|
|
+// #define TARGET_USRSTACK (TARGET_VM_MAXUSER_ADDRESS - TARGET_PAGE_SIZE)
|
|
+#define TARGET_USRSTACK (TARGET_RESERVED_VA - TARGET_PAGE_SIZE * 0x10)
|
|
|
|
static inline abi_ulong get_sp_from_cpustate(CPUMIPSState *state)
|
|
{
|