Mixed linking of ARM/THUMB object files
Kai Ruottu
karuottu@freenet.hut.fi
Sat Apr 1 00:00:00 GMT 2000
"Lim, Sung-taek" wrote:
>
> I tried to link an object file with another one which were generated by arm-elf and
> thumb-elf corssgcc respectively. Of course, both were compiled with the -mthumb-
> interwork option. And I found that I should use one of the two which was used to
> compile the file containing main() function to link those object files. Yes, I had no
> problem to link them but when I executed them with the simulator in gdb, program
> exited abnormally probably when thumb-mode code calls arm-mode function like
> this.
Have you read the 'README-interworking' in 'gcc/config/arm' in the GCC sources?
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list