Date: Fri, 5 Dec 2014 19:14:06 +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: r275522 - head/sys/arm/arm Message-ID: <201412051914.sB5JE6Vo088694@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201412051914.sB5JE6Vo088694>