Rushikesh Shingnapurkar wrote:
> Hello,
>
> I am using WinARM.
>
> I am using -mthumb-interwork option for some .c files which I need to
> execure in ARM.
> And I am using -mthumb for a .c file which I need to execute in thumb
> mode.
>
> My files are getting compiled correctly, but I am getting following
> error while linking using arm-elf-ld
> arm-elf-ld: internal error c:/winarms/binutils-060606/ld/ldlang.c 4260
Can you tryp to build the examples that come with the WinARM package. A
lot of the examples use interwork so you can test if your basic setup
works. If yes, compare your source-files, makefile and linker-script
with the examples to find the difference. Did you use the
-mthumb-interwork option? Are the glue-sections included in the
linker-script?
Martin Thomas