diff --git configure configure index 668adbc..ef9f12f 100755 --- configure +++ configure @@ -8301,7 +8301,7 @@ if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then $as_echo_n "(cached) " >&6 else ac_wine_try_cflags_saved=$CFLAGS -CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400" +CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x82000400" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -8354,7 +8354,7 @@ fi { $as_echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; } if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then - LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" + LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x82000400" fi ;; diff --git loader/main.c loader/main.c index 4c2cb50..32743f0 100644 --- loader/main.c +++ loader/main.c @@ -166,18 +166,6 @@ static int pre_exec(void) return 1; } -#elif defined(__FreeBSD__) && defined(__i386__) - -static int pre_exec(void) -{ - struct rlimit rl; - - rl.rlim_cur = 0x02000000; - rl.rlim_max = 0x02000000; - setrlimit( RLIMIT_DATA, &rl ); - return 1; -} - #else static int pre_exec(void)