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
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
I will first check the examples. For your questions, Yes, I did use -mthumb-interwork and I had glue-sections in my linker script. Thanks, -Rushikesh Shingnapurkar
Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
Log in with Google account
No account? Register here.