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];
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to