I am confused at to whether there is a difference between "segment" and "section" when referring to object files/executables.
According to https://en.wikipedia.org/wiki/Object_file:
Most object file formats are structured as separate sections of data, each section containing a certain type of data.
However, the article later goes on to talking about segments (e.g. code segment, data segment, etc).
Additionally, the PE file format (.exe/.dll/.coff in Windows) refers to these different parts as sections (https://msdn.microsoft.com/en-us/library/windows/desktop/ms680547(v=vs.85).aspx).
So my question: Is there a difference between the two or are they practically synonyms?