Difference between (RVCT 2.2) and (ADS 1.2) elf files

Feb 07, 2009 1 Replies

My project is just migrating from ADS 1.2 to RVCT 2.2 dev tools. I am trying to figure out if elf file created through ADS 1.2 is different in its structure from elf file generated by RVCT 2.2.



Also is there any documentation that clearly talks about this?



Thank you very much. Matic


A number of the ELF headers are optional and many tools only fill in the ones that matter. Also, there is no specified ordering for segments other than the default code segment - it's all left up to the linker. So it's possible that the tools may produce very different, but still compatible, binaries.

It shouldn't matter unless the loader you use can't read the file.

George

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required