-mthumb-interwork and weak function symbols
Adrian von Bidder
avbidder@acter.ch
Fri Dec 21 02:50:00 GMT 2001
On Thu, 2001-12-20 at 19:02, Shaun Jackman wrote:
> The effect:
> the calling fuction (sys_write below) does in fact call the strong function
> (not the weak stub) but it calls it in arm mode, when it is in fact a thumb
> function.
I haven't looked at your asm output, but from the above it sounds
familiar. I had a similar problem with calls from thumb to thumb, also
with weak functions. It could be a binutils problem, where this:
http://sources.redhat.com/ml/binutils/2001-11/msg00604.html
could be helpful. Not sure if that patch or something like it made it
into cvs.
[ you should probably read on reporting bugs, too. See the GCC homepage
or manual. Generally, the bug tracking system should be used and all
information to reproduce the bug provided ]
greets
-- vbi
More information about the Gcc-bugs
mailing list