We will get into more detail later, but it is good to have it in mind now:
- section: exists before linking, in object files.One ore more sections will be put inside a single segment by the linker.Major information sections contain for the linker: is this section:
- raw data to be loaded into memory, e.g.
.data
,.text
, etc. - or metadata about other sections, that will be used by the linker, but disappear at runtime e.g.
.symtab
,.srttab
,.rela.text
- raw data to be loaded into memory, e.g.
- segment: exists after linking, in the executable file.Contains information about how each segment should be loaded into memory by the OS, notably location and permissions.
Articles by others on the same topic
There are currently no matching articles.