This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: -mthumb-interwork and weak function symbols
- From: Adrian von Bidder <avbidder at acter dot ch>
- To: Shaun Jackman <sjackman at pathwayconnect dot com>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: 21 Dec 2001 09:58:35 +0100
- Subject: Re: -mthumb-interwork and weak function symbols
- References: <E16H7Wi-00086S-00@dazed>
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