Date: Fri, 17 Apr 2015 09:17:36 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r281648 - head/sys/arm/arm Message-ID: <201504170917.t3H9Haew051270@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andrew Date: Fri Apr 17 09:17:35 2015 New Revision: 281648 URL: https://svnweb.freebsd.org/changeset/base/281648 Log: Remove support for reading the syscall code in OABI. This is unneeded now we can only build for EABI. Modified: head/sys/arm/arm/vm_machdep.c Modified: head/sys/arm/arm/vm_machdep.c ============================================================================== --- head/sys/arm/arm/vm_machdep.c Fri Apr 17 09:14:58 2015 (r281647) +++ head/sys/arm/arm/vm_machdep.c Fri Apr 17 09:17:35 2015 (r281648) @@ -178,11 +178,7 @@ cpu_set_syscall_retval(struct thread *td * place the returned data into r1. As the lseek and frerebsd6_lseek * syscalls also return an off_t they do not need this fixup. */ -#ifdef __ARM_EABI__ call = frame->tf_r7; -#else - call = *(u_int32_t *)(frame->tf_pc - INSN_SIZE) & 0x000fffff; -#endif if (call == SYS___syscall) { register_t *ap = &frame->tf_r0; register_t code = ap[_QUAD_LOWWORD];
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504170917.t3H9Haew051270>