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

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

Reply to
batam2601
Loading thread data ...

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

Reply to
George Neuner

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.