This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

Re: Mixed linking of ARM/THUMB object files


"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


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