Error while compiling for arm, thumb interwork

OP #1172165
Rate this post
useful
not useful
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

What could be work around for this?

Thanks,

Rushikesh
Guest #1172166
Rate this post
useful
not useful
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

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now