This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -mthumb-interwork and weak function symbols


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]