linux - what the difference of segment in ELF and memory -


in elf load use conception of segment, , in memory management, logical address use segment search operator or instruction. so, segment same each other? elf files load memory segment, , segment same segment used in memory menagement?

modern operating systems not use segmented memory more. segmented memory relic of dos days of 1980s , 1990s. while can still choose "segments" memory operands, limited fs , gs "segments" reallly not segments instead offsets.

the memory model programs on architectures flat (not segmented).

elf segments nothing more specific chunks of data loaded memory process run. there possibly many, many segments if process uses shared libraries, since each library contain own segments.

these 2 concepts of "segmented memory" , "elf segments" not related, share name.


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -