Date: Tue, 15 May 2012 12:08:51 +0000 (UTC) From: Olivier Houchard <cognet@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r235472 - projects/armv6/lib/libc/arm/gen Message-ID: <201205151208.q4FC8pXT087129@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cognet Date: Tue May 15 12:08:51 2012 New Revision: 235472 URL: http://svn.freebsd.org/changeset/base/235472 Log: Implement __aeabi_read_tp for armv6/7 as well Modified: projects/armv6/lib/libc/arm/gen/__aeabi_read_tp.S Modified: projects/armv6/lib/libc/arm/gen/__aeabi_read_tp.S ============================================================================== --- projects/armv6/lib/libc/arm/gen/__aeabi_read_tp.S Tue May 15 10:58:17 2012 (r235471) +++ projects/armv6/lib/libc/arm/gen/__aeabi_read_tp.S Tue May 15 12:08:51 2012 (r235472) @@ -31,8 +31,12 @@ __FBSDID("$FreeBSD$"); #include <machine/sysarch.h> ENTRY(__aeabi_read_tp) +#ifdef ARM_TP_ADDRESS ldr r0, .Larm_tp_address ldr r0, [r0] +#else + mrc p15, 0, r0, c13, c0, 3 +#endif RET .Larm_tp_address:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205151208.q4FC8pXT087129>