svn commit: r234014 - head/lib/libc/arm/gen

Andrew Turner andrew at fubar.geek.nz
Tue Apr 10 11:25:19 UTC 2012


On Mon, 9 Apr 2012 09:39:23 -0700
Juli Mallett <jmallett at FreeBSD.org> wrote:

> On Mon, Apr 9, 2012 at 01:44, Andrew Turner <andrew at fubar.geek.nz>
> wrote:
> > How does the attached (untested) patch look. It explicitly loads
> > ARM_TP_ADDRESS into a r0 to ensure r1-3 are not touched.
> 
> The example file I pointed at was for the kernel, where the
> LOCORE-related ifdefs (almost) make sense, but for userland you
> probably want to conditionalize on __ASSEMBLER__.

How does the attached patch look? I've updated it to use __ASSEMBLER__
where required.

Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm_tls.patch
Type: text/x-patch
Size: 5195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-all/attachments/20120410/9a6c46bf/arm_tls.bin


More information about the svn-src-all mailing list