ports/emulators/qemu-devel/files/patch-z7b-bsd-user-tls2
Juergen Lock 45aa9370f0 - Update net/usbredir to 0.6 .
- Update emulators/qemu-devel to 1.4.0 with preliminary bsd-user patches.

Thanx to:	sson, cognet, and others for much improved bsd-user support -
		it now runs at least quite a few mips64 and single-threaded
		arm binaries, see:

	https://wiki.freebsd.org/QemuUserModeHowTo
2013-03-29 17:40:38 +00:00

13 lines
344 B
Text

--- a/bsd-user/syscall.c
+++ b/bsd-user/syscall.c
@@ -266,9 +268,7 @@ static abi_long do_freebsd_sysarch(void
switch (op) {
case TARGET_FREEBSD_ARM_SET_TP:
- if (get_user(val, parms, abi_ulong))
- return -TARGET_EINVAL;
- cpu_set_tls(env, val);
+ cpu_set_tls(env, parms);
return 0;
}