Section vs segment
ID: elf-hello-world/section-vs-segment
ELF Hello World Tutorial Section vs segment by
Ciro Santilli 37 Updated 2025-05-13 +Created 1970-01-01
- section: exists before linking, in object files.Major information sections contain for the linker: is this section:
- 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.
New to topics? Read the docs here!