Author: andrew
Date: Mon May 11 19:00:02 2015
New Revision: 282777
URL: https://svnweb.freebsd.org/changeset/base/282777

Log:
  Use the Thumb compliant version of the add instruction. We can only use
  "add Rd, Rn, Rm" from within an IT (if-then) block.

Modified:
  head/sys/arm/include/asm.h

Modified: head/sys/arm/include/asm.h
==============================================================================
--- head/sys/arm/include/asm.h  Mon May 11 18:52:06 2015        (r282776)
+++ head/sys/arm/include/asm.h  Mon May 11 19:00:02 2015        (r282777)
@@ -126,7 +126,7 @@
        ldr     x, [x, got]
 #define        GOT_INIT(got,gotsym,pclabel) \
        ldr     got, gotsym;    \
-       pclabel: add    got, got, pc
+       pclabel: add    got, pc
 #ifdef __thumb__
 #define        GOT_INITSYM(gotsym,pclabel) \
        .align 2;               \
_______________________________________________
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