svn commit: r275522 - head/sys/arm/arm
Andrew Turner
andrew at FreeBSD.org
Fri Dec 5 19:14:06 UTC 2014
Author: andrew
Date: Fri Dec 5 19:14:05 2014
New Revision: 275522
URL: https://svnweb.freebsd.org/changeset/base/275522
Log:
Place the literal pool after a RET otherwise clang 3.5 tries to put it too
far away from a ldr psuedo instruction. With this clang will place the
literal value here where it's close enough to be loaded.
MFC after: 1 week
Sponsored by: ABT Systems Ltd
Modified:
head/sys/arm/arm/support.S
Modified: head/sys/arm/arm/support.S
==============================================================================
--- head/sys/arm/arm/support.S Fri Dec 5 19:11:25 2014 (r275521)
+++ head/sys/arm/arm/support.S Fri Dec 5 19:14:05 2014 (r275522)
@@ -1364,6 +1364,8 @@ ENTRY(memcpy)
strbge r2, [r3], #0x01
strbgt ip, [r3]
RET
+/* Place a literal pool here for the above ldr instructions to use */
+.ltorg
/*
More information about the svn-src-head
mailing list