Generating executable files from scratch
github.com
github.com
Though the graphic, like this post, doesn't talk much about elf segments.
https://github.com/corkami/pics/blob/master/binary/README.md
Lots of good stuff here!
http://nullprogram.com/blog/2016/11/17/
(when all you've got is `echo', and presumably `cat')