Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 May 2015 19:00:03 +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: r282777 - head/sys/arm/include
Message-ID:  <201505111900.t4BJ03am021342@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;		\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505111900.t4BJ03am021342>