I am working on understanding some ground concepts in embedded Systems. My question is similar to understand hexedit of an elf . In order to burn compiler output to ROM, the .out file is converted to HEX (say intel-hex). I wonder how the following informations are preserved in HEX format:
- Section header
- Symbol tables, debug symbols, linker symbols etc.
- Elf header.
- If these are preserved in HEX file, how they can be read from hex file?
- A bit out question but how the microcontroller on boot knows where .data .bss etc. exists in HEX and to be coppied to RAM?