svn commit: r282777 - head/sys/arm/include
Andrew Turner
andrew at FreeBSD.org
Mon May 11 19:00:03 UTC 2015
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; \
More information about the svn-src-head
mailing list