title: ELF segments mem size vs. file size
body: <p>I have read a couple of ELF specification documents but haven't found answers for the below questions yet </p>
  
  <p>1) When segment memory size is greater than segment file size, should the ELF segment downloader fill the segment in memory with zeros as specified by memsize?</p>
  
  <p>2) Can there be a case where a section should be filled with a constant other than zero, i.e. a general case "constant fill" section?</p>
  
  <p>3) What is the right way to identify a .const segment in elf executable file?</p>
  
  <p>The per-section flags value does not have such information and seems to be limited.I have seen implementations of ELF segment downloader where they don't download segments with file size of zero at all.</p>
  
  <p>Thanks!</p>