I am working on elf reader, I couldn't understand the purpose of "sh_addralign" from the elf doc. it says as below
Some sections have address alignment constraints. For example, if a section holds a doubleword, the system must ensure doubleword alignment for the entire section. That is, the value of sh_addr must be congruent to 0, modulo the value of sh_addralign. Currently, only 0 and positive integral powers of two are allowed. Values 0 and 1 mean the section has no alignment constraints. "
Can someone please explain me with some calcualation? and also why it is important ?