<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Nicholas Vinen wrote:
<blockquote cite="mid:4939A674.3060707@x256.org" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Nicolas Pitre wrote:
<blockquote cite="mid:alpine.LFD.2.00.0812051657460.14328@xanadu.home"
type="cite">
<pre wrap="">
Gah. That's the division support code. Well you should really have a
toolchain with thumb interworking enabled anyway. Otherwise the code
won't execute at all.
Nicolas
</pre>
</blockquote>
<br>
Well, as far as I know I do. The problem is that my thumb libraries
don't have "interworking support". That is, they can't be called from
non-thumb code.<br>
<br>
This should be fine as long as I am careful to only compile functions
in ARM mode that don't call any library functions. As this only needs
to be functions using the assembly code, it should be possible.<br>
<br>
I'd like to recompile my libraries with interworking support too, but I
haven't yet found the option to do so. I've enabled multilib support in
my arm-gcc and will recompile newlib but I'm not sure if that will do
the trick. Hopefully I can make do without it but it would be nice to
have anyway.<br>
<br>
<br>
Nicholas<br>
</blockquote>
Oops, sorry. I read your reply as saying "you should really have a
toolchain with thumb support enabled".<br>
<br>
Yeah, I would like to have thumb interworking support enabled in the
libraries. If you know how, please tell. But as I said (poorly), I
think it will work OK as long as my library has thumb support and I'm
careful not to call any library functions from non-thumb functions.<br>
<br>
<br>
Nicholas<br>
<br>
</body>
</html>