Separate dump_segments() subroutine
Do not read dynamic linking information if there are segments
Dump sections