Loading symbol file while linking.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Loading symbol file while linking.

534 Views
vishnus
Contributor I

Hi all.

I am trying to load a symbol file at the time of linking. I am providing the symbol.txt file along with other libraries that I link. These are the two things I tried.

1st, I provided the symbol file exactly as what was the output of arm-none-eabi-nm, but this returned with a syntax error on line no:1 itself.

2nd, I changed the format little bit. I added #<SYMDEFS># at the begining of the file and made to follow ARM's symdef file format. This gave me the error "

file not recognized: File format not recognized

collect2.exe: error: ld returned 1 exit status"

 

Does anyone have any experience in loading symbol files to the linker? Is yes, please help me figure out what I am missing above.

 

Thanks

Labels (1)
0 Kudos
2 Replies

346 Views
Rick_Li
NXP Employee
NXP Employee

Which IDE are you using? CodeWarrior or KDS?

Could you please upload a screen-shot of the issue?

0 Kudos

346 Views
vishnus
Contributor I

I do not use the CodeWarrior IDE. I use make to build and the toolchain which came with CodeWarrior which is arm-none-eabi to compile and link.

0 Kudos